chef

https://github.com/opscode/chef

Ruby

A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.

Chef::Node#expand!

Expands the node's run list and sets the default and override
attributes. Also applies stored attributes (from json provided
on the command line)

Returns the fully-expanded list of recipes, a RunListExpansion.

--
TODO: timh/cw, 5-14-2010: Should this method exist? Should we
instead modify default_attrs and override_attrs whenever our
run_list is mutated? Or perhaps do something smarter like
on-demand generation of default_attrs and override_attrs,
invalidated only when run_list is mutated?

Source | Google | Stack overflow

Edit

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

cd chef

open lib/chef/node.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Chef--Node-expand--for-pr


# Commit to git

git add lib/chef/node.rbgit commit -m "better docs for Chef::Node#expand!"


# 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--Node-expand--for-pr

hub pull-request


# Celebrate!