Giuseppe Lavagetto has uploaded a new change for review.
https://gerrit.wikimedia.org/r/193064
Change subject: wmf-reimage: fixup for enable_and_run_puppet
......................................................................
wmf-reimage: fixup for enable_and_run_puppet
Change-Id: I8abeb2a461fce7ffac43cb78356eca34557562a6
---
M modules/puppetmaster/files/wmf-reimage
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/64/193064/1
diff --git a/modules/puppetmaster/files/wmf-reimage
b/modules/puppetmaster/files/wmf-reimage
index 41747e2..de9ae46 100755
--- a/modules/puppetmaster/files/wmf-reimage
+++ b/modules/puppetmaster/files/wmf-reimage
@@ -120,10 +120,10 @@
function enable_and_run_puppet {
nodename=${1}
log "Enabling puppet"
- ssh -i /root/.ssh/install_new -o "UserKnownHostsFile=${hostsfile}" -o
"GlobalKnownHostsFile=/dev/null" ${nodename} "puppet agent --enable"
+ ssh -i /root/.ssh/install_new -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 ${nodename}.puppetrun.log"
+ 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/193064
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8abeb2a461fce7ffac43cb78356eca34557562a6
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