On SUSE environments 'auditd' is part of package 'audit'

This commit is contained in:
Michael Geiger 2017-06-26 10:28:30 +02:00
parent 21b6d82a2f
commit c439a23d3b

View file

@ -80,7 +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? ? 'audit' : 'auditd'
audit_pkg = os.redhat? || os.suse? ? 'audit' : 'auditd'
describe package(audit_pkg) do
it { should be_installed }
end