better stuff
This commit is contained in:
parent
9b33e9dd17
commit
5ef3806a32
@ -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
|
||||
|
@ -23,5 +23,3 @@ gem install puppet --no-ri --no-rdoc
|
||||
|
||||
./apply
|
||||
|
||||
shutdown -r now
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user