summaryrefslogtreecommitdiff
path: root/lib/chef/dsl/audit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/dsl/audit.rb')
-rw-r--r--lib/chef/dsl/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/dsl/audit.rb b/lib/chef/dsl/audit.rb
index e22c38f587..a11d9039ef 100644
--- a/lib/chef/dsl/audit.rb
+++ b/lib/chef/dsl/audit.rb
@@ -34,7 +34,7 @@ class Chef
raise Chef::Exceptions::AuditControlGroupDuplicate.new(name)
end
- run_context.controls[name] = { :args => args, :block => block }
+ run_context.audits[name] = { :args => args, :block => block }
end
end