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::CookbookVersionLoader#load_all_files

Enumerate all the files in a cookbook and assign the resulting list to
`cookbook_settings[:all_files]`. In order to behave in a compatible way
with previous implementations, directories at the cookbook's root that
begin with a dot are ignored. dotfiles are generally not ignored,
however if the file is named ".uploaded-cookbook-version.json" it is
assumed to be managed by chef-zero and not part of the cookbook.

Source | Google | Stack overflow

Edit

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

cd chef

open lib/chef/cookbook/cookbook_version_loader.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Chef--Cookbook--CookbookVersionLoader-load_all_files-for-pr


# Commit to git

git add lib/chef/cookbook/cookbook_version_loader.rbgit commit -m "better docs for Chef::Cookbook::CookbookVersionLoader#load_all_files"


# 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--Cookbook--CookbookVersionLoader-load_all_files-for-pr

hub pull-request


# Celebrate!