mirror of
https://github.com/dev-sec/linux-baseline
synced 2024-11-29 22:40: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
|
||||
title 'Install auditd'
|
||||
desc 'auditd provides extended logging capacities on recent distribution'
|
||||
audit_pkg = os.redhat? || os.suse? ? 'audit' : 'auditd'
|
||||
puts audit_pkg
|
||||
puts os.name
|
||||
puts os.family
|
||||
audit_pkg = os.redhat? || os.suse? || os.family == 'amazon' ? 'audit' : 'auditd'
|
||||
describe package(audit_pkg) do
|
||||
it { should be_installed }
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue