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#generate_guid
Ensure that we have a GUID for this node If we've got the proper configuration, we'll simply set that. If we're registed with the data collector, we'll migrate that UUID into our configuration and use that Otherwise, we'll create a new GUID and save it
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-generate_guid-for-pr
# Commit to gitgit add lib/chef/client.rbgit commit -m "better docs for Chef::Client#generate_guid"
# 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-generate_guid-for-pr
hub pull-request
# Celebrate!