]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
That change was wrong
authorPeter Palfrader <peter@palfrader.org>
Thu, 25 Apr 2013 13:58:46 +0000 (15:58 +0200)
committerPeter Palfrader <peter@palfrader.org>
Thu, 25 Apr 2013 13:58:46 +0000 (15:58 +0200)
modules/roles/files/static-mirroring/static-update-component

index 7e847545537d978685a2992e2976777b564bd98b..d2abf22d1fbec8cc9ba220b570ed324fc8cfa9c4 100755 (executable)
@@ -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"