Faidon has submitted this change and it was merged.

Change subject: create the decomservers cron job only if realm is production.
......................................................................


create the decomservers cron job only if realm is production.

otherwise, ensure it is absent.

this should not be in labs at all and is not needed there,
but if instances use puppetmaster::self they also get this script
which is a server-side script for puppet masters.

in template decom_servers.sh.erb this becomes "undefined":

<%= scope.lookupvar('puppetmaster::config::gitdir') %>

breaking the cron command and causing a lot of cron spam

Change-Id: I10d1c820759a82211d05b03b4f92bff5b7e59f34
---
M manifests/puppetmaster.pp
1 file changed, 9 insertions(+), 1 deletion(-)

Approvals:
  Faidon: Looks good to me, approved
  gerrit2: Verified


--
To view, visit https://gerrit.wikimedia.org/r/21981
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I10d1c820759a82211d05b03b4f92bff5b7e59f34
Gerrit-PatchSet: 6
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Faidon <[email protected]>
Gerrit-Reviewer: Ryan Lane <[email protected]>
Gerrit-Reviewer: gerrit2 <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to