aboutsummaryrefslogtreecommitdiff
path: root/vendor/supply_drop
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-03-13 02:10:02 -0700
committerelijah <elijah@riseup.net>2013-03-13 02:10:02 -0700
commit6180fb7593215ae9c8d300c4428aefa91962e14a (patch)
tree34e0dca2f7ff66738dc2cc0b91183f5d460bf60e /vendor/supply_drop
parent83408fdad3f4ac272d66a2978f4ba639a1781551 (diff)
downloadleap_cli-6180fb7593215ae9c8d300c4428aefa91962e14a.tar.gz
leap_cli-6180fb7593215ae9c8d300c4428aefa91962e14a.tar.bz2
rsync --copy-links (temporary hack to supply_drop, rsync library to be refactored in the future).
Diffstat (limited to 'vendor/supply_drop')
-rw-r--r--vendor/supply_drop/lib/supply_drop/plugin.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/supply_drop/lib/supply_drop/plugin.rb b/vendor/supply_drop/lib/supply_drop/plugin.rb
index 1784d59..9649c5b 100644
--- a/vendor/supply_drop/lib/supply_drop/plugin.rb
+++ b/vendor/supply_drop/lib/supply_drop/plugin.rb
@@ -10,7 +10,8 @@ module SupplyDrop
SupplyDrop::Rsync.remote_address(server.user || fetch(:user, ENV['USER']), server.host, puppet_destination),
:delete => true,
:excludes => puppet_excludes,
- :ssh => ssh_options.merge(server.options[:ssh_options]||{})
+ :ssh => ssh_options.merge(server.options[:ssh_options]||{}),
+ :flags => '--copy-links'
)
logger.debug rsync_cmd
server.host unless system rsync_cmd