chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::PolicyBuilder::ExpandNodeObject#build_node
Applies environment, external JSON attributes, and override run list to the node, Then expands the run_list. === Returns node<Chef::Node>:: The modified node object. node is modified in place.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/policy_builder/expand_node_object.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--PolicyBuilder--ExpandNodeObject-build_node-for-pr
# Commit to gitgit add lib/chef/policy_builder/expand_node_object.rbgit commit -m "better docs for Chef::PolicyBuilder::ExpandNodeObject#build_node"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--PolicyBuilder--ExpandNodeObject-build_node-for-pr
hub pull-request
# Celebrate!