]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/roles/files/static-mirroring/static-mirror-ssh-wrap
Allow the rsync with /. at the end instead
[dsa-puppet.git] / modules / roles / files / static-mirroring / static-mirror-ssh-wrap
index b64d838c7678c553f4b3d8cb2b2936a34257105b..b199ce981b9cba448ba8e533094691f680b5bc91 100755 (executable)
@@ -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 -tre.iLsf . $path/.")
                done
        fi
        for cmd_idx in ${!allowed_rsyncs[*]}; do