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#delete_class
Remove a class from all its matchers in the node_map, will remove mappings completely if its the last matcher left Note that this leaks the internal structure out a bit, but the main consumer of this (poise/halite) cares only about the keys in the returned Hash.
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-delete_class-for-pr
# Commit to gitgit add lib/chef/node_map.rbgit commit -m "better docs for Chef::NodeMap#delete_class"
# 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-delete_class-for-pr
hub pull-request
# Celebrate!