From 1f7f5577cc5cc89d210d6b3578132e2c391d1aca Mon Sep 17 00:00:00 2001 From: John Keiser Date: Wed, 10 Jun 2015 12:25:25 -0700 Subject: Make load/include recipe run in child context --- lib/chef/run_context.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/chef/run_context.rb') diff --git a/lib/chef/run_context.rb b/lib/chef/run_context.rb index 6aa511f30f..f55d1740b1 100644 --- a/lib/chef/run_context.rb +++ b/lib/chef/run_context.rb @@ -564,10 +564,7 @@ ERROR_MESSAGE events has_cookbook_file_in_cookbook? has_template_in_cookbook? - include_recipe load - load_recipe - load_recipe_file loaded_attribute loaded_attributes loaded_attributes_hash @@ -606,7 +603,10 @@ ERROR_MESSAGE immediate_notification_collection immediate_notification_collection= immediate_notifications + include_recipe initialize_child_state + load_recipe + load_recipe_file notifies_immediately notifies_delayed parent_run_context -- cgit v1.2.1