diff options
author | elijah <elijah@riseup.net> | 2013-03-13 02:10:02 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-03-13 02:10:02 -0700 |
commit | 6180fb7593215ae9c8d300c4428aefa91962e14a (patch) | |
tree | 34e0dca2f7ff66738dc2cc0b91183f5d460bf60e | |
parent | 83408fdad3f4ac272d66a2978f4ba639a1781551 (diff) |
rsync --copy-links (temporary hack to supply_drop, rsync library to be refactored in the future).
-rw-r--r-- | vendor/supply_drop/lib/supply_drop/plugin.rb | 3 |
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 |