chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::NodeMap#set
Set a key/value pair on the map with a filter. The filter must be true when applied to the node in order to retrieve the value.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/node_map.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--NodeMap-set-for-pr
# Commit to gitgit add lib/chef/node_map.rbgit commit -m "better docs for Chef::NodeMap#set"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--NodeMap-set-for-pr
hub pull-request
# Celebrate!