summaryrefslogtreecommitdiff
path: root/lib/chef/run_context.rb
diff options
context:
space:
mode:
authorChris Doherty <cdoherty@getchef.com>2014-09-03 14:11:29 -0700
committerChris Doherty <cdoherty@getchef.com>2014-09-10 16:34:17 -0700
commit32f7f6526e07053ba972129883eb016caf3ca731 (patch)
tree60488e59d5371fec44de3f3fe1aa81e1215133c0 /lib/chef/run_context.rb
parent494d2b5c32c7295fc4f0c95b0ca01af65f7c80c3 (diff)
downloadchef-32f7f6526e07053ba972129883eb016caf3ca731.tar.gz
'timeout' -> 'delay_mins'; add a run_context() shim for RebootPending.
Diffstat (limited to 'lib/chef/run_context.rb')
-rw-r--r--lib/chef/run_context.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/run_context.rb b/lib/chef/run_context.rb
index c8eb5b8c85..b41173e12b 100644
--- a/lib/chef/run_context.rb
+++ b/lib/chef/run_context.rb
@@ -288,6 +288,7 @@ ERROR_MESSAGE
end
def cancel_reboot
+ Chef::Log::warn "Changing reboot status from #{@reboot_info.inspect} to {}"
@reboot_info = {}
end