change how reboot is called
This commit is contained in:
parent
5ef3806a32
commit
dc101f527b
@ -77,6 +77,11 @@ Capistrano::Configuration.instance.load do
|
|||||||
top.rename if rename_server
|
top.rename if rename_server
|
||||||
|
|
||||||
run "cd #{puppet_dir} && #{sudo} ./bootstrap"
|
run "cd #{puppet_dir} && #{sudo} ./bootstrap"
|
||||||
|
top.reboot
|
||||||
|
end
|
||||||
|
|
||||||
|
desc "Reboot the server after bootstrapping"
|
||||||
|
task :reboot do
|
||||||
run "#{sudo} shutdown -r now"
|
run "#{sudo} shutdown -r now"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user