summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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