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::Reporter#disable_reporter_on_error
Yields to the passed-in block (which is expected to be some interaction with the DataCollector endpoint). If some communication failure occurs, either disable any future communications to the DataCollector endpoint, or raise an exception (if the user has set Chef::Config.data_collector.raise_on_failure to true.)
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--Reporter-disable_reporter_on_error-for-pr
# Commit to gitgit add lib/chef/data_collector.rbgit commit -m "better docs for Chef::DataCollector::Reporter#disable_reporter_on_error"
# 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--Reporter-disable_reporter_on_error-for-pr
hub pull-request
# Celebrate!