summaryrefslogtreecommitdiff
path: root/lib/chef/run_context.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-01-16 12:52:53 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2014-01-16 12:52:53 -0800
commit7c4670ce77cafb481477e9da75348a75b44c0393 (patch)
tree62a8d3a7ad3df821140911758d3743e98f62573f /lib/chef/run_context.rb
parentdbd925b357b036447b47cf5f369792f81d69e76d (diff)
downloadchef-7c4670ce77cafb481477e9da75348a75b44c0393.tar.gz
CHEF-4777: fix for fully qualifying recipes
this makes it so that the recipes in the attribute will be fully qualified, and will avoid the problem of both "cookbook" and "cookbook::default" showing up.
Diffstat (limited to 'lib/chef/run_context.rb')
-rw-r--r--lib/chef/run_context.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/run_context.rb b/lib/chef/run_context.rb
index 97a5bce439..df188a2028 100644
--- a/lib/chef/run_context.rb
+++ b/lib/chef/run_context.rb
@@ -146,7 +146,7 @@ class Chef
false
else
loaded_recipe(cookbook_name, recipe_short_name)
- node.loaded_recipe(recipe_name)
+ node.loaded_recipe(cookbook_name, recipe_short_name)
cookbook = cookbook_collection[cookbook_name]
cookbook.load_recipe(recipe_short_name, self)
end