chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::CookbookCollection#validate!
Validates that the cookbook metadata allows it to run on this instance. Currently checks chef_version and ohai_version in the cookbook metadata against the running Chef::VERSION and Ohai::VERSION.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/cookbook/cookbook_collection.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--CookbookCollection-validate--for-pr
# Commit to gitgit add lib/chef/cookbook/cookbook_collection.rbgit commit -m "better docs for Chef::CookbookCollection#validate!"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--CookbookCollection-validate--for-pr
hub pull-request
# Celebrate!