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_records_for_directory

Determine the manifest records from the most specific directory
for the given node. See #preferred_manifest_record for a
description of entries of the returned Array.

Source | Google | Stack overflow

Edit

git clone [email protected]:opscode/chef.git

cd chef

open lib/chef/cookbook_version.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Chef--CookbookVersion-preferred_manifest_records_for_directory-for-pr


# Commit to git

git add lib/chef/cookbook_version.rbgit commit -m "better docs for Chef::CookbookVersion#preferred_manifest_records_for_directory"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Chef--CookbookVersion-preferred_manifest_records_for_directory-for-pr

hub pull-request


# Celebrate!