Skip to content

fix logrotate_configuration enforcement #80

fix logrotate_configuration enforcement

fix logrotate_configuration enforcement #80

Re-run triggered November 20, 2024 13:53
Status Failure
Total duration 13m 44s
Artifacts

pdk-test-unit.yml

on: pull_request
Matrix: unit
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on almalinux-8-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on ubuntu-22.04-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on sles-12-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on ubuntu-18.04-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on sles-15-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on rocky-8-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on redhat-7-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on debian-11-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on rocky-9-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 7 (Ruby 2.7.8 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on debian-10-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on almalinux-8-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on almalinux-9-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on centos-7-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on centos-8-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on debian-10-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on debian-11-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on debian-12-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on redhat-7-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on redhat-8-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]
Puppet 8 (Ruby 3.2.2 fixtures=.fixtures.yml): spec/classes/rules/logrotate_configuration_spec.rb#L32
cis_security_hardening::rules::logrotate_configuration on redhat-9-x86_64 with enforce = false is expected to contain File_line[change /etc/logrotate.d/alternatives] with ensure => "present", path => "/etc/logrotate.d/alternatives", line => "create 640 root root" and match => "create 644 root root" Failure/Error: is_expected.to contain_file_line('change /etc/logrotate.d/alternatives') .with( 'ensure' => 'present', 'path' => '/etc/logrotate.d/alternatives', 'line' => 'create 640 root root', 'match' => 'create 644 root root', ) expected that the catalogue would contain File_line[change /etc/logrotate.d/alternatives]