summaryrefslogtreecommitdiff
path: root/lib/chef/formatters/doc.rb
diff options
context:
space:
mode:
authortyler-ball <tyleraball@gmail.com>2014-10-30 20:44:36 -0700
committertyler-ball <tyleraball@gmail.com>2014-12-17 18:47:25 -0800
commit66665a7f699a592b77249a31af229f1412d90458 (patch)
tree4a506eb58a772aba0047bae3c479ee1d11879b47 /lib/chef/formatters/doc.rb
parent4cfb1e47aa8e9501f4f2a01f1d8cc0deb2cfa13b (diff)
downloadchef-66665a7f699a592b77249a31af229f1412d90458.tar.gz
Adding logic for exceptions from converge phase not interfering with audit phase and vice-versa
Diffstat (limited to 'lib/chef/formatters/doc.rb')
-rw-r--r--lib/chef/formatters/doc.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/chef/formatters/doc.rb b/lib/chef/formatters/doc.rb
index 4a08b9d095..66ee6ccabe 100644
--- a/lib/chef/formatters/doc.rb
+++ b/lib/chef/formatters/doc.rb
@@ -151,6 +151,24 @@ class Chef
unindent if @current_recipe
end
+ def converge_failed(e)
+ # TODO do we want to do anything else in here?
+ converge_complete
+ end
+
+ def audit_start(run_context)
+ # TODO read the number of `controls` blocks to run from the run_context.audit_runner
+ puts_line "Running collected audits"
+ end
+
+ def audit_complete
+ # TODO
+ end
+
+ def audit_failed(exception)
+ # TODO
+ end
+
# Called before action is executed on a resource.
def resource_action_start(resource, action, notification_type=nil, notifier=nil)
if resource.cookbook_name && resource.recipe_name