chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::Client#register
Determine our private key and set up the connection to the Chef server. Skips registration and fires the `skipping_registration` event if Chef::Config.client_key is unspecified or already exists. If Chef::Config.client_key does not exist, we register the client with the Chef server and fire the registration_start and registration_completed events.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/client.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Client-register-for-pr
# Commit to gitgit add lib/chef/client.rbgit commit -m "better docs for Chef::Client#register"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--Client-register-for-pr
hub pull-request
# Celebrate!