X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ffiles%2Fstatic-mirroring%2Fstaticsync-ssh-wrap;h=dfd98c8420dab78f13bcec49f66393fe2547ba18;hb=13a25f50b3c02c19412a0b735c655ca203645105;hp=ba880881f1fd874294a657c3f39dbd8a68f7b3b0;hpb=8ab2d44a1f18f1d17a04e4937f13d1fb7c47a58b;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/files/static-mirroring/staticsync-ssh-wrap b/modules/roles/files/static-mirroring/staticsync-ssh-wrap index ba880881f..dfd98c842 100755 --- a/modules/roles/files/static-mirroring/staticsync-ssh-wrap +++ b/modules/roles/files/static-mirroring/staticsync-ssh-wrap @@ -78,6 +78,7 @@ do_rsync_on_master() { allowed_rsyncs=() allowed_rsyncs+=("--server --sender -vlHtrze.iLsf --safe-links .") # wheezy allowed_rsyncs+=("--server --sender -vlHtrze.iLsfx --safe-links .") # jessie + allowed_rsyncs+=("--server --sender -vlHtrze.iLsfxC --safe-links .") # stretch for cmd_idx in ${!allowed_rsyncs[*]}; do args="${allowed_rsyncs[$cmd_idx]}" @@ -113,6 +114,7 @@ do_rsync_on_source() { for path in $(awk -v host="$(hostname -f)" '!/^ *(#|$)/ && $3 == host {print $4}' $COMPONENTLIST); do allowed_rsyncs+=("--server --sender -lHtrze.iLsf --safe-links . $path/.") # wheezy allowed_rsyncs+=("--server --sender -lHtrze.iLsfx --safe-links . $path/.") # jessie + allowed_rsyncs+=("--server --sender -lHtrze.iLsfxC --safe-links . $path/.") # stretch done fi for cmd_idx in ${!allowed_rsyncs[*]}; do