diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-05-07 12:40:01 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-05-18 15:37:41 -0700 |
commit | 5200bbe6c92ffd09d0336531a4ea3c3af9215e5e (patch) | |
tree | fc6fb35eac362800138f560befc3303abbbfd662 /lib/chef/node.rb | |
parent | db62393671925bd778193c3ed8b2af49ccbb63a4 (diff) | |
download | chef-5200bbe6c92ffd09d0336531a4ea3c3af9215e5e.tar.gz |
rename consume_cookbook_collection
Diffstat (limited to 'lib/chef/node.rb')
-rw-r--r-- | lib/chef/node.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/node.rb b/lib/chef/node.rb index 617d2bab2f..d5078371c5 100644 --- a/lib/chef/node.rb +++ b/lib/chef/node.rb @@ -79,7 +79,7 @@ class Chef # after the run_context has been set on the node, go through the cookbook_collection # and setup the node[:cookbooks] attribute so that it is published in the node object - def consume_cookbook_collection + def set_cookbook_attribute return unless run_context.cookbook_collection run_context.cookbook_collection.each do |cookbook_name, cookbook| automatic_attrs[:cookbooks][cookbook_name][:version] = cookbook.version |