X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ffiles%2Fstatic-mirroring%2Fstatic-mirror-ssh-wrap;h=240fefec8389e45d48c6ad7304b3fa273c3e9e84;hb=c884c33d52f570673980578d2e43312004eda8ee;hp=b64d838c7678c553f4b3d8cb2b2936a34257105b;hpb=808e281fd73e6b382eade6bf4a8523409cafb91a;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/files/static-mirroring/static-mirror-ssh-wrap b/modules/roles/files/static-mirroring/static-mirror-ssh-wrap index b64d838c7..240fefec8 100755 --- a/modules/roles/files/static-mirroring/static-mirror-ssh-wrap +++ b/modules/roles/files/static-mirroring/static-mirror-ssh-wrap @@ -76,7 +76,7 @@ do_rsync() { if [ -e "$COMPONENTLIST" ]; then for path in $(awk -v host="$(hostname -f)" '$2 == host {print $3}' $COMPONENTLIST); do - allowed_rsyncs+=("--server --sender -tre.iLsf . $path") + allowed_rsyncs+=("--server --sender -lHtrze.iLsf --safe-links . $path/.") done fi for cmd_idx in ${!allowed_rsyncs[*]}; do