staticsync-ssh-wrap: drop wheezy compatible rsync call in allowed list
[mirror/dsa-puppet.git] / modules / staticsync / files / staticsync-ssh-wrap
index 959b4f8..ec51c03 100755 (executable)
@@ -82,7 +82,6 @@ do_rsync_on_master() {
        local remote_host="$1"; shift
        local allowed_rsyncs
        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
 
@@ -122,7 +121,6 @@ do_rsync_on_source() {
 
        if [ -e "$COMPONENTLIST" ]; then
                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