change how reboot is called

This commit is contained in:
John Bintz 2012-06-26 06:57:30 -04:00
parent 5ef3806a32
commit dc101f527b

View File

@ -77,6 +77,11 @@ Capistrano::Configuration.instance.load do
top.rename if rename_server
run "cd #{puppet_dir} && #{sudo} ./bootstrap"
top.reboot
end
desc "Reboot the server after bootstrapping"
task :reboot do
run "#{sudo} shutdown -r now"
end