chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
Chef::PolicyBuilder::ExpandNodeObject#load_node
DEPRECATED: As of Chef 12.5, chef selects either policyfile mode or "expand node" mode dynamically, based on the content of the node object, first boot JSON, and config. This happens in PolicyBuilder::Dynamic, which selects the implementation during #load_node and then delegates to either ExpandNodeObject or Policyfile implementations as appropriate. Tools authors should update their code to create a PolicyBuilder::Dynamc policy builder and allow it to select the proper implementation.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/policy_builder/expand_node_object.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Chef--PolicyBuilder--ExpandNodeObject-load_node-for-pr
# Commit to gitgit add lib/chef/policy_builder/expand_node_object.rbgit commit -m "better docs for Chef::PolicyBuilder::ExpandNodeObject#load_node"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Chef--PolicyBuilder--ExpandNodeObject-load_node-for-pr
hub pull-request
# Celebrate!