Skip to content

Add option to not purge unmanages files under /etc/audit/rules.d/ - SIMP-10744 #114

Add option to not purge unmanages files under /etc/audit/rules.d/ - SIMP-10744

Add option to not purge unmanages files under /etc/audit/rules.d/ - SIMP-10744 #114

Triggered via pull request November 25, 2023 00:39
Status Success
Total duration 43m 37s
Artifacts

pr_tests.yml

on: pull_request
Puppet Syntax
27s
Puppet Syntax
Puppet Style
21s
Puppet Style
Ruby Style (experimental)
0s
Ruby Style (experimental)
File checks
24s
File checks
RELENG checks
35s
RELENG checks
Matrix: Puppet Spec
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Puppet Spec (Puppet 8.x, ~> 8.0, 3.1, true): spec/classes/config/audit_profiles/simp_spec.rb#L394
auditd on almalinux-8-x86_64 with deprecated parameters disable audit_cfg_sudoers using deprecated audit_sudoers is expected not to contain File[/etc/audit/rules.d/50_00_simp_base.rules] with content =~ /^-w \/etc\/sudoers -p wa -k CFG_sys$/ Failure/Error: raise("deprecation. #{key}. #{message}") if use_strict_setting && Puppet.settings[:strict] == :error Puppet::PreformattedError: Evaluation Error: Error while evaluating a Function Call, deprecation. auditd::config::audit_profiles::simp::audit_sudoers. 'auditd::config::audit_profiles::simp::audit_sudoers' is deprecated. Use 'auditd::config::audit_profiles::simp::audit_cfg_sudoers' instead at ["/home/runner/work/pupmod-simp-auditd/pupmod-simp-auditd/spec/fixtures/modules/auditd/manifests/config/audit_profiles/simp.pp", 490]:["/home/runner/work/pupmod-simp-auditd/pupmod-simp-auditd/spec/fixtures/modules/auditd/manifests/config/audit_profiles.pp", 89] (file: /home/runner/work/pupmod-simp-auditd/pupmod-simp-auditd/spec/fixtures/modules/auditd/manifests/config/audit_profiles/simp.pp, line: 490, column: 5) on node fv-az1113-289.v4dlmfbwbvlezlyjnbnry1jt3f.cx.internal.cloudapp.net
Puppet Spec (Puppet 8.x, ~> 8.0, 3.1, true)
Process completed with exit code 1.