summaryrefslogtreecommitdiff
path: root/lib/chef/run_context.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/run_context.rb')
-rw-r--r--lib/chef/run_context.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/chef/run_context.rb b/lib/chef/run_context.rb
index a606585e80..fc32ab3eeb 100644
--- a/lib/chef/run_context.rb
+++ b/lib/chef/run_context.rb
@@ -111,6 +111,11 @@ class Chef
attr_reader :audits
#
+ # Pointer back to the Chef::Runner that created this
+ #
+ attr_accessor :runner
+
+ #
# Notification handling
#
@@ -646,6 +651,8 @@ ERROR_MESSAGE
root_run_context
resource_collection
resource_collection=
+ runner
+ runner=
}.map { |x| x.to_sym }
# Verify that we didn't miss any methods