chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::Node::Mixin::DeepMergeCache#reset_cache
Invalidate a key in the deep_merge_cache. If called with nil, or no arg, this will invalidate the entire deep_merge cache. In the case of the user doing node.default['foo']['bar']['baz']= that eventually results in a call to reset_cache('foo') here. A node.default=hash_thing call must invalidate the entire cache and re-deep-merge the entire node object.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/node/mixin/deep_merge_cache.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--Node--Mixin--DeepMergeCache-reset_cache-for-pr
# Commit to gitgit add lib/chef/node/mixin/deep_merge_cache.rbgit commit -m "better docs for Chef::Node::Mixin::DeepMergeCache#reset_cache"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--Node--Mixin--DeepMergeCache-reset_cache-for-pr
hub pull-request
# Celebrate!