summaryrefslogtreecommitdiff
path: root/lib/chef/audit/audit_event_proxy.rb
diff options
context:
space:
mode:
authortyler-ball <tyleraball@gmail.com>2014-12-02 09:30:45 -0800
committertyler-ball <tyleraball@gmail.com>2014-12-17 18:52:20 -0800
commit19f2c6e437642db0c03b193349b13d04636cb8ee (patch)
tree480eb5a24f477881621975d49869b6e78263adea /lib/chef/audit/audit_event_proxy.rb
parent2b3c252f5cad689debce640f01db9705f3c57d22 (diff)
downloadchef-19f2c6e437642db0c03b193349b13d04636cb8ee.tar.gz
Updating to use audit syntax rather than control
Diffstat (limited to 'lib/chef/audit/audit_event_proxy.rb')
-rw-r--r--lib/chef/audit/audit_event_proxy.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/audit/audit_event_proxy.rb b/lib/chef/audit/audit_event_proxy.rb
index 71d1e2aa50..6d5591d943 100644
--- a/lib/chef/audit/audit_event_proxy.rb
+++ b/lib/chef/audit/audit_event_proxy.rb
@@ -17,15 +17,15 @@ class Chef
def example_group_started(notification)
if notification.group.parent_groups.size == 1
- # top level controls block
+ # top level `controls` block
desc = notification.group.description
- Chef::Log.debug("Entered controls block named #{desc}")
+ Chef::Log.debug("Entered `controls` block named #{desc}")
events.control_group_started(desc)
end
end
def stop(notification)
- Chef::Log.info("Successfully executed all controls blocks and contained examples")
+ Chef::Log.info("Successfully executed all `controls` blocks and contained examples")
notification.examples.each do |example|
control_group_name, control_data = build_control_from(example)
e = example.exception