chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::Client#load_required_recipe
Adds a required recipe as specified by the Chef Server TODO: @rest doesn't appear to be used anywhere outside of client.register except for here. If it's common practice to create your own rest client, perhaps we should do that here but it seems more appropriate to reuse one that we know is already created. for ease of testing, we'll pass the existing rest client in as a parameter
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/client.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Client-load_required_recipe-for-pr
# Commit to gitgit add lib/chef/client.rbgit commit -m "better docs for Chef::Client#load_required_recipe"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--Client-load_required_recipe-for-pr
hub pull-request
# Celebrate!