summaryrefslogtreecommitdiff
path: root/lib/chef/run_context.rb
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-11-21 10:05:55 -0800
committertyler-ball <tyleraball@gmail.com>2014-12-17 18:52:02 -0800
commit246c9dc60e1bed3b237b2454da445c3ef5c92b7e (patch)
tree4e556564c2d03e90f78bb42ae2b10216f4b63bf1 /lib/chef/run_context.rb
parent7027bb8a8782f934a3239ee45e98fb7fc18d99bc (diff)
downloadchef-246c9dc60e1bed3b237b2454da445c3ef5c92b7e.tar.gz
Use a central runner
Diffstat (limited to 'lib/chef/run_context.rb')
-rw-r--r--lib/chef/run_context.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/run_context.rb b/lib/chef/run_context.rb
index 8f7296822c..a724789d3c 100644
--- a/lib/chef/run_context.rb
+++ b/lib/chef/run_context.rb
@@ -51,7 +51,7 @@ class Chef
attr_accessor :resource_collection
# The list of control groups to execute during the audit phase
- attr_accessor :controls_groups
+ attr_accessor :controls
# A Hash containing the immediate notifications triggered by resources
# during the converge phase of the chef run.
@@ -76,7 +76,7 @@ class Chef
@node = node
@cookbook_collection = cookbook_collection
@resource_collection = Chef::ResourceCollection.new
- @controls_groups = []
+ @controls = {}
@immediate_notification_collection = Hash.new {|h,k| h[k] = []}
@delayed_notification_collection = Hash.new {|h,k| h[k] = []}
@definitions = Hash.new