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.

Source | Google | Stack overflow

Edit

git clone [email protected]:opscode/chef.git

cd chef

open lib/chef/policy_builder/expand_node_object.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Chef--PolicyBuilder--ExpandNodeObject-build_node-for-pr


# Commit to git

git add lib/chef/policy_builder/expand_node_object.rbgit commit -m "better docs for Chef::PolicyBuilder::ExpandNodeObject#build_node"


# Open pull request

gem 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!