X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Ftemplates%2Fstatic-mirroring%2Fstatic-update-component.erb;h=7dbad820aea4e71ecbc1a746d503693f5cca1f31;hb=7f7977f233e069f392961706a02d656a02a74bc3;hp=acb0294a708570e664d4e8ecfde65b277989acc4;hpb=3dc6c66d95b835e7b4ee25a965d12be2de86dd4b;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/templates/static-mirroring/static-update-component.erb b/modules/roles/templates/static-mirroring/static-update-component.erb index acb0294a7..7dbad820a 100755 --- a/modules/roles/templates/static-mirroring/static-update-component.erb +++ b/modules/roles/templates/static-mirroring/static-update-component.erb @@ -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