Giuseppe Lavagetto has uploaded a new change for review.
https://gerrit.wikimedia.org/r/193069
Change subject: wmf-reimage: remove stricthostchecking everywhere
......................................................................
wmf-reimage: remove stricthostchecking everywhere
Change-Id: I3ec16108c05a5f81bf1aec145ee4930e86e1981f
---
M modules/puppetmaster/files/wmf-reimage
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/69/193069/1
diff --git a/modules/puppetmaster/files/wmf-reimage
b/modules/puppetmaster/files/wmf-reimage
index de9ae46..6c786bc 100755
--- a/modules/puppetmaster/files/wmf-reimage
+++ b/modules/puppetmaster/files/wmf-reimage
@@ -120,7 +120,7 @@
function enable_and_run_puppet {
nodename=${1}
log "Enabling puppet"
- ssh -i /root/.ssh/install_new -o "UserKnownHostsFile=/dev/null" -o
"GlobalKnownHostsFile=/dev/null" ${nodename} "puppet agent --enable"
+ ssh -i /root/.ssh/install_new -o "StrictHostKeyChecking=no" -o
"UserKnownHostsFile=/dev/null" -o "GlobalKnownHostsFile=/dev/null" ${nodename}
"puppet agent --enable"
log "Spawning the first puppet run as well"
ssh -q -i /root/.ssh/install_new -o "StrictHostKeyChecking=no" -o
"UserKnownHostsFile=/dev/null" -o "GlobalKnownHostsFile=/dev/null" ${nodename}
"puppet agent -t" > ${nodename}.puppetrun.log 2>&1 &
log "The first puppet run is ongoing, you can see what the result is in
the file ${PWD}/${nodename}.puppetrun.log"
--
To view, visit https://gerrit.wikimedia.org/r/193069
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3ec16108c05a5f81bf1aec145ee4930e86e1981f
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits