factorylabs-fdlcap 0.3.27 → 0.3.28
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/fdlcap.gemspec +1 -1
- data/lib/fdlcap/recipes/rsync.rb +2 -0
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.28
|
data/fdlcap.gemspec
CHANGED
data/lib/fdlcap/recipes/rsync.rb
CHANGED
@@ -15,6 +15,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
15
15
|
server = servers.first
|
16
16
|
if server
|
17
17
|
symlink_dirs.each do |share|
|
18
|
+
`echo '#{password}' | /usr/bin/pbcopy`
|
18
19
|
execute( "rsync -P -a -h -e 'ssh -p #{server.port || 22}' #{user}@#{server.host}:#{shared_path}/#{share}/* #{share}", "unable to run rsync files")
|
19
20
|
end
|
20
21
|
else
|
@@ -30,6 +31,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
30
31
|
server = servers.first
|
31
32
|
if server
|
32
33
|
symlink_dirs.each do |share|
|
34
|
+
`echo '#{password}' | /usr/bin/pbcopy`
|
33
35
|
execute( "rsync -P -a -h -e 'ssh -p #{server.port || 22}' #{share}/* #{user}@#{server.host}:#{shared_path}/#{share}/", "unable to run rsync files")
|
34
36
|
end
|
35
37
|
else
|