summaryrefslogtreecommitdiff
path: root/lib/chef/event_dispatch
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-09-21 15:04:09 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-03-11 12:20:20 -0700
commitdf23dbbda7d4eb621804f004ff85181d83a11641 (patch)
treedc4ac3d354e5b9eb3229ed9be56d5447cc9a1d85 /lib/chef/event_dispatch
parentb870d8c578a6424e405ec2083d5f47d331f09d14 (diff)
downloadchef-df23dbbda7d4eb621804f004ff85181d83a11641.tar.gz
WIP: Remove audit mode from chef-client
This just gives us a line count to the change and perhaps a starting point for when we do this in Chef 15 Signed-off-by: Tim Smith <tsmith@chef.io> Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/event_dispatch')
-rw-r--r--lib/chef/event_dispatch/base.rb31
1 files changed, 0 insertions, 31 deletions
diff --git a/lib/chef/event_dispatch/base.rb b/lib/chef/event_dispatch/base.rb
index 3b0b70c9b9..be51cf362f 100644
--- a/lib/chef/event_dispatch/base.rb
+++ b/lib/chef/event_dispatch/base.rb
@@ -292,37 +292,6 @@ class Chef
def converge_failed(exception)
end
- ##################################
- # Audit Mode Events
- # This phase is currently experimental and these event APIs are subject to change
- ##################################
-
- # Called before audit phase starts
- def audit_phase_start(run_status)
- end
-
- # Called when audit phase successfully finishes
- def audit_phase_complete(audit_output)
- end
-
- # Called if there is an uncaught exception during the audit phase. The audit runner should
- # be catching and handling errors from the examples, so this is only uncaught errors (like
- # bugs in our handling code)
- def audit_phase_failed(exception, audit_output)
- end
-
- # Signifies the start of a `control_group` block with a defined name
- def control_group_started(name)
- end
-
- # An example in a `control_group` block completed successfully
- def control_example_success(control_group_name, example_data)
- end
-
- # An example in a `control_group` block failed with the provided error
- def control_example_failure(control_group_name, example_data, error)
- end
-
# TODO: need events for notification resolve?
# def notifications_resolved
# end