From: Peter Palfrader Date: Thu, 25 Apr 2013 13:58:46 +0000 (+0200) Subject: That change was wrong X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=326086b812f8a53ed491b279fc14395dd2453bbd;p=dsa-puppet.git That change was wrong --- diff --git a/modules/roles/files/static-mirroring/static-update-component b/modules/roles/files/static-mirroring/static-update-component index 7e847545..d2abf22d 100755 --- a/modules/roles/files/static-mirroring/static-update-component +++ b/modules/roles/files/static-mirroring/static-update-component @@ -72,7 +72,7 @@ if [ "$srchost" = "$thishost" ] && ! [ -d "$srcdir" ]; then exit 1 fi -if [ "`id -nu`" != "staticsync" ] && [ "$masterhost" = "`hostname -f`" ]; then +if [ "`id -nu`" != "staticsync" ]; then static-update-component "$@" else ssh -o AddressFamily=inet -t -o ServerAliveInterval=300 -o PreferredAuthentications=publickey "$masterhost" static-master-update-component "$component"