From ae0cb8e756d8c72f1c698d959eb0039ac06262cd Mon Sep 17 00:00:00 2001 From: Claire McQuin Date: Fri, 15 May 2015 11:44:37 -0700 Subject: Add CLI option --audit-as-warning --- lib/chef/application/client.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') diff --git a/lib/chef/application/client.rb b/lib/chef/application/client.rb index 551e26e303..43097fc12d 100644 --- a/lib/chef/application/client.rb +++ b/lib/chef/application/client.rb @@ -253,6 +253,11 @@ class Chef::Application::Client < Chef::Application :description => "Enable audit-mode with `enabled`. Disable audit-mode with `disabled`. Skip converge and only perform audits with `audit-only`", :proc => lambda { |mo| mo.gsub("-", "_").to_sym } + option :audit_as_warning, + :long => "--audit-as-warning", + :description => "Interpret failed controls as warnings.", + :boolean => true + option :minimal_ohai, :long => "--minimal-ohai", :description => "Only run the bare minimum ohai plugins chef needs to function", -- cgit v1.2.1