blue 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/blue/version.rb +1 -1
- data/lib/capistrano/deploy.rb +1 -1
- metadata +3 -3
data/lib/blue/version.rb
CHANGED
data/lib/capistrano/deploy.rb
CHANGED
@@ -8,7 +8,7 @@ module Blue
|
|
8
8
|
task :apply_manifest, :except => { :no_release => true } do
|
9
9
|
current_host = capture("echo $CAPISTRANO:HOST$").strip.gsub('.', '_')
|
10
10
|
# run "cd #{latest_release} && RAILS_ROOT=#{latest_release} RAILS_ENV=#{Blue.env} sudo shadow_puppet #{latest_release}/config/blue/boxes/#{Blue.env}/#{current_host}.rb"
|
11
|
-
run "sudo su - 'cd #{latest_release} && RAILS_ROOT=#{latest_release} RAILS_ENV=#{Blue.env} shadow_puppet #{latest_release}/config/blue/boxes/#{Blue.env}/#{current_host}.rb'"
|
11
|
+
run "sudo su - -c 'cd #{latest_release} && RAILS_ROOT=#{latest_release} RAILS_ENV=#{Blue.env} shadow_puppet #{latest_release}/config/blue/boxes/#{Blue.env}/#{current_host}.rb'"
|
12
12
|
end
|
13
13
|
|
14
14
|
task :verify_db do
|
metadata
CHANGED