chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::Cookbook::Metadata#recipes_from_cookbook_version
Sets the cookbook's recipes to the list of recipes in the given +cookbook+. Any recipe that already has a description (if set by the #recipe method) will not be updated. === Parameters cookbook<CookbookVersion>:: CookbookVersion object representing the cookbook description<String>:: The description of the recipe === Returns recipe_unqualified_names<Array>:: An array of the recipe names given by the cookbook
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/cookbook/metadata.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Cookbook--Metadata-recipes_from_cookbook_version-for-pr
# Commit to gitgit add lib/chef/cookbook/metadata.rbgit commit -m "better docs for Chef::Cookbook::Metadata#recipes_from_cookbook_version"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--Cookbook--Metadata-recipes_from_cookbook_version-for-pr
hub pull-request
# Celebrate!