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#select_files_by_glob
Mimic Dir.glob inside a cookbook by running `File.fnmatch?` against `cookbook_settings[:all_files]`.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/cookbook/cookbook_version_loader.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Cookbook--CookbookVersionLoader-select_files_by_glob-for-pr
# Commit to gitgit add lib/chef/cookbook/cookbook_version_loader.rbgit commit -m "better docs for Chef::Cookbook::CookbookVersionLoader#select_files_by_glob"
# 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--CookbookVersionLoader-select_files_by_glob-for-pr
hub pull-request
# Celebrate!