diff options
Diffstat (limited to 'lib/chef/application/client.rb')
-rw-r--r-- | lib/chef/application/client.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/application/client.rb b/lib/chef/application/client.rb index 03fd07e9f0..9984ad5b9d 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 :minimal_ohai, + :long => "--minimal-ohai", + :description => "Only run the bare minimum ohai plugins chef needs to function", + :boolean => true + IMMEDIATE_RUN_SIGNAL = "1".freeze attr_reader :chef_client_json |