diff options
-rw-r--r-- | lib/chef/compliance/runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/compliance/runner.rb b/lib/chef/compliance/runner.rb index 86344367c2..87cda52992 100644 --- a/lib/chef/compliance/runner.rb +++ b/lib/chef/compliance/runner.rb @@ -16,7 +16,7 @@ class Chef def_delegators :node, :logger def enabled? - audit_cookbook_present = recipes.include?("audit::default") + audit_cookbook_present = recipes.include?("audit::default") || recipes.include?("audit") logger.info("#{self.class}##{__method__}: #{Inspec::Dist::PRODUCT_NAME} profiles? #{inspec_profiles.any?}") logger.info("#{self.class}##{__method__}: audit cookbook? #{audit_cookbook_present}") |