mirror of
https://github.com/dev-sec/linux-baseline
synced 2024-11-26 13:00:21 +00:00
Update package_spec.rb
This commit is contained in:
parent
83b49d0e82
commit
0a753a2dd7
1 changed files with 1 additions and 4 deletions
|
@ -80,10 +80,7 @@ control 'package-08' do
|
||||||
impact 1.0
|
impact 1.0
|
||||||
title 'Install auditd'
|
title 'Install auditd'
|
||||||
desc 'auditd provides extended logging capacities on recent distribution'
|
desc 'auditd provides extended logging capacities on recent distribution'
|
||||||
audit_pkg = os.redhat? || os.suse? ? 'audit' : 'auditd'
|
audit_pkg = os.redhat? || os.suse? || os.family == 'amazon' ? 'audit' : 'auditd'
|
||||||
puts audit_pkg
|
|
||||||
puts os.name
|
|
||||||
puts os.family
|
|
||||||
describe package(audit_pkg) do
|
describe package(audit_pkg) do
|
||||||
it { should be_installed }
|
it { should be_installed }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue