chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::DataCollector.register_reporter?
Whether or not to enable data collection: * always disabled for why run mode * disabled when the user sets `Chef::Config[:data_collector][:mode]` to a value that excludes the mode (client or solo) that we are running as * disabled in solo mode if the user did not configure the auth token * disabled if `Chef::Config[:data_collector][:server_url]` is set to a falsey value
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/data_collector.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--DataCollector-register_reporter--for-pr
# Commit to gitgit add lib/chef/data_collector.rbgit commit -m "better docs for Chef::DataCollector.register_reporter?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--DataCollector-register_reporter--for-pr
hub pull-request
# Celebrate!