summaryrefslogtreecommitdiff
path: root/lib/chef/event_dispatch
diff options
context:
space:
mode:
authortyler-ball <tyleraball@gmail.com>2014-10-30 17:34:37 -0700
committertyler-ball <tyleraball@gmail.com>2014-12-17 18:47:24 -0800
commit4cfb1e47aa8e9501f4f2a01f1d8cc0deb2cfa13b (patch)
treeb0307cd591de26f2b72c6a8d7e45fa2d4af62f6f /lib/chef/event_dispatch
parent7a49ae038a148c137d72cb5a60a3581b4db264ab (diff)
downloadchef-4cfb1e47aa8e9501f4f2a01f1d8cc0deb2cfa13b.tar.gz
Creating our own example group class to simplify adding examples to the spec runner
Diffstat (limited to 'lib/chef/event_dispatch')
-rw-r--r--lib/chef/event_dispatch/base.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/chef/event_dispatch/base.rb b/lib/chef/event_dispatch/base.rb
index 50d261cecd..555998ced4 100644
--- a/lib/chef/event_dispatch/base.rb
+++ b/lib/chef/event_dispatch/base.rb
@@ -225,6 +225,22 @@ class Chef
def converge_complete
end
+ # Called if the converge phase fails
+ def converge_failed(exception)
+ end
+
+ # Called before audit phase starts
+ def audit_start(run_context)
+ end
+
+ # Called when the audit phase is finished.
+ def audit_complete
+ end
+
+ # Called if the audit phase fails
+ def audit_failed(exception)
+ end
+
# TODO: need events for notification resolve?
# def notifications_resolved
# end