diff options
author | ssutay <serdar@opscode.com> | 2012-09-05 15:42:03 -0700 |
---|---|---|
committer | ssutay <serdar@opscode.com> | 2012-09-05 15:42:03 -0700 |
commit | c16fd9671ea18de4656fc8c6ccb202127c35c7ee (patch) | |
tree | 3b8099f694ce22315ffbf60e0e31515883f3e6aa /chef/lib/chef/application | |
parent | 0b85ac7c62abbecefc9df463cb88e380156527eb (diff) | |
download | chef-c16fd9671ea18de4656fc8c6ccb202127c35c7ee.tar.gz |
Add a new config option to disable reporting if a customer doesn't want to use this feature.
Diffstat (limited to 'chef/lib/chef/application')
-rw-r--r-- | chef/lib/chef/application/client.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chef/lib/chef/application/client.rb b/chef/lib/chef/application/client.rb index e9408ce5fc..c24b9de03a 100644 --- a/chef/lib/chef/application/client.rb +++ b/chef/lib/chef/application/client.rb @@ -176,6 +176,12 @@ class Chef::Application::Client < Chef::Application :description => "Fork client", :boolean => true + option :disable_reporting, + :short => "-R", + :long => "--disable-reporting", + :description => "Disable reporting data collection for chef runs", + :boolean => true + attr_reader :chef_client_json def initialize |