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::Metadata#remap_required_attribute
For backwards compatibility, remap Boolean values to String true is mapped to "required" false is mapped to "optional" === Parameters required_attr<String><Boolean>:: The value of options[:required] === Returns required_attr<String>:: "required", "recommended", or "optional"
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/cookbook/metadata.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Cookbook--Metadata-remap_required_attribute-for-pr
# Commit to gitgit add lib/chef/cookbook/metadata.rbgit commit -m "better docs for Chef::Cookbook::Metadata#remap_required_attribute"
# 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--Metadata-remap_required_attribute-for-pr
hub pull-request
# Celebrate!