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?
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/node.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Node-expand--for-pr
# Commit to gitgit add lib/chef/node.rbgit commit -m "better docs for Chef::Node#expand!"
# Open pull requestgem 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!