diff options
author | Chris Doherty <cdoherty@getchef.com> | 2014-09-08 15:49:04 -0700 |
---|---|---|
committer | Chris Doherty <cdoherty@getchef.com> | 2014-09-10 16:34:30 -0700 |
commit | 2456f0c47df72268e1c73c9c5109771a59f10938 (patch) | |
tree | 198ae2e1136693d9dc28bab44ab272527195ec00 /lib/chef/resource | |
parent | bfa023f1ba3e962a1d2c0179b4209ce44c734506 (diff) | |
download | chef-2456f0c47df72268e1c73c9c5109771a59f10938.tar.gz |
Rename actions to :request_reboot_on_successful_run and :reboot_interrupt_run.
Diffstat (limited to 'lib/chef/resource')
-rw-r--r-- | lib/chef/resource/reboot.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/reboot.rb b/lib/chef/resource/reboot.rb index 47ba9b33bb..44c04d25dc 100644 --- a/lib/chef/resource/reboot.rb +++ b/lib/chef/resource/reboot.rb @@ -25,7 +25,7 @@ class Chef super @resource_name = :reboot @provider = Chef::Provider::Reboot - @allowed_actions = [:request, :cancel] + @allowed_actions = [:request_reboot_on_successful_run, :reboot_interrupt_run, :cancel] @reason = "Reboot by Chef" @delay_mins = 0 |