From c439a23d3b976b17629e9ec0a16292c208940b90 Mon Sep 17 00:00:00 2001 From: Michael Geiger Date: Mon, 26 Jun 2017 10:28:30 +0200 Subject: [PATCH] On SUSE environments 'auditd' is part of package 'audit' --- controls/package_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controls/package_spec.rb b/controls/package_spec.rb index 6674b7b..31f718f 100644 --- a/controls/package_spec.rb +++ b/controls/package_spec.rb @@ -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