diff options
author | Claire McQuin <claire@getchef.com> | 2014-11-21 10:05:55 -0800 |
---|---|---|
committer | tyler-ball <tyleraball@gmail.com> | 2014-12-17 18:52:02 -0800 |
commit | 246c9dc60e1bed3b237b2454da445c3ef5c92b7e (patch) | |
tree | 4e556564c2d03e90f78bb42ae2b10216f4b63bf1 /lib/chef/dsl | |
parent | 7027bb8a8782f934a3239ee45e98fb7fc18d99bc (diff) | |
download | chef-246c9dc60e1bed3b237b2454da445c3ef5c92b7e.tar.gz |
Use a central runner
Diffstat (limited to 'lib/chef/dsl')
-rw-r--r-- | lib/chef/dsl/audit.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/chef/dsl/audit.rb b/lib/chef/dsl/audit.rb index 520a667cd4..44c0c56fac 100644 --- a/lib/chef/dsl/audit.rb +++ b/lib/chef/dsl/audit.rb @@ -16,8 +16,6 @@ # limitations under the License. # -require 'rspec/core' - class Chef module DSL module Audit @@ -29,7 +27,7 @@ class Chef name = args[0] raise AuditNameMissing if name.nil? || name.empty? - run_context.controls_groups << Chef::Audit::Controls.new(run_context, args, &block) + run_context.controls[:name] = { :args => args, :block => block } end end |