Skip to content

Commit 31ca8e8

Browse files
committed
auditd package is called audit in the rhel family
1 parent 50e28b5 commit 31ca8e8

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

controls/package_spec.rb

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,14 @@
8080
impact 1.0
8181
title 'Install auditd'
8282
desc 'auditd provides extended logging capacities on recent distribution'
83-
describe package('auditd') do
84-
it { should be_installed }
83+
if os.redhat?
84+
describe package('audit') do
85+
it { should be_installed }
86+
end
87+
else
88+
describe package('auditd') do
89+
it { should be_installed }
90+
end
8591
end
8692
describe auditd_conf do
8793
its('log_file') { should cmp '/var/log/audit/audit.log' }

0 commit comments

Comments
 (0)