chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::CookbookVersion#preferred_manifest_record
Determine the most specific manifest record for the given
segment/filename, given information in the node. Throws
FileNotFound if there is no such segment and filename in the
manifest.
A manifest record is a Mash that follows the following form:
{
:name => "example.rb",
:path => "files/default/example.rb",
:specificity => "default",
:checksum => "1234"
}Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/cookbook_version.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--CookbookVersion-preferred_manifest_record-for-pr
# Commit to gitgit add lib/chef/cookbook_version.rbgit commit -m "better docs for Chef::CookbookVersion#preferred_manifest_record"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--CookbookVersion-preferred_manifest_record-for-pr
hub pull-request
# Celebrate!