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#deep_merge_cache

Cache of deep merged values by top-level key.  This is a simple hash which has keys that are the
top-level keys of the node object, and we save the computed deep-merge for that key here.  There is
no cache of subtrees.

Source | Google | Stack overflow

Edit

git clone [email protected]:opscode/chef.git

cd chef

open lib/chef/node/mixin/deep_merge_cache.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Chef--Node--Mixin--DeepMergeCache-deep_merge_cache-for-pr


# Commit to git

git add lib/chef/node/mixin/deep_merge_cache.rbgit commit -m "better docs for Chef::Node::Mixin::DeepMergeCache#deep_merge_cache"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Chef--Node--Mixin--DeepMergeCache-deep_merge_cache-for-pr

hub pull-request


# Celebrate!