]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
use ipv4
authorPeter Palfrader <peter@palfrader.org>
Fri, 28 Dec 2012 17:30:30 +0000 (18:30 +0100)
committerPeter Palfrader <peter@palfrader.org>
Fri, 28 Dec 2012 17:30:30 +0000 (18:30 +0100)
modules/roles/templates/static-mirroring/static-update-component.erb

index acb0294a708570e664d4e8ecfde65b277989acc4..7dbad820aea4e71ecbc1a746d503693f5cca1f31 100755 (executable)
@@ -68,7 +68,7 @@ lines.join("\n")
 %>
 
   for master_idx in ${!masters[*]}; do
-    ssh -t -o ServerAliveInterval=300 -o PreferredAuthentications=publickey "${masters[$master_idx]}" static-master-update-component "$component"
+    ssh -o AddressFamily=inet -t -o ServerAliveInterval=300 -o PreferredAuthentications=publickey "${masters[$master_idx]}" static-master-update-component "$component"
   done
 fi