better stuff

This commit is contained in:
John Bintz 2012-06-26 05:54:13 -04:00
parent 9b33e9dd17
commit 5ef3806a32
2 changed files with 2 additions and 3 deletions

View File

@ -77,6 +77,7 @@ Capistrano::Configuration.instance.load do
top.rename if rename_server
run "cd #{puppet_dir} && #{sudo} ./bootstrap"
run "#{sudo} shutdown -r now"
end
desc "Rename the server"
@ -92,7 +93,7 @@ Capistrano::Configuration.instance.load do
top.ensure_puppet_dir
Dir["*"].each do |file|
if !%w{vbox}.include?(file)
if !%w{vbox deb}.include?(file)
top.upload file, File.join(puppet_dir, file)
end
end

View File

@ -23,5 +23,3 @@ gem install puppet --no-ri --no-rdoc
./apply
shutdown -r now