From 9b17251659b22a13b308212ee02303ed208b3464 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 12 Jul 2017 14:12:00 +0200 Subject: [PATCH] new rsync option from stretch rsync clients --- modules/roles/files/static-mirroring/staticsync-ssh-wrap | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.20.1