chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::RunContext::CookbookCompiler#compile
Run the compile phase of the chef run. Loads files in the following order: * Libraries * Attributes * LWRPs * Resource Definitions * Recipes Recipes are loaded in precisely the order specified by the expanded run_list. Other files are loaded in an order derived from the expanded run_list and the dependencies declared by cookbooks' metadata. See #cookbook_order for more information.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/run_context/cookbook_compiler.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--RunContext--CookbookCompiler-compile-for-pr
# Commit to gitgit add lib/chef/run_context/cookbook_compiler.rbgit commit -m "better docs for Chef::RunContext::CookbookCompiler#compile"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--RunContext--CookbookCompiler-compile-for-pr
hub pull-request
# Celebrate!