summaryrefslogtreecommitdiff
path: root/lib/chef/node.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-05-07 12:40:01 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-05-18 15:37:41 -0700
commit5200bbe6c92ffd09d0336531a4ea3c3af9215e5e (patch)
treefc6fb35eac362800138f560befc3303abbbfd662 /lib/chef/node.rb
parentdb62393671925bd778193c3ed8b2af49ccbb63a4 (diff)
downloadchef-5200bbe6c92ffd09d0336531a4ea3c3af9215e5e.tar.gz
rename consume_cookbook_collection
Diffstat (limited to 'lib/chef/node.rb')
-rw-r--r--lib/chef/node.rb2
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