Giuseppe Lavagetto has submitted this change and it was merged.

Change subject: jobrunners: actually absent the hhvm restarting cron where not 
needed
......................................................................


jobrunners: actually absent the hhvm restarting cron where not needed

Change-Id: I4680a18dc526ec3afa8eff661418e1f732aeaacf
---
M modules/mediawiki/manifests/jobrunner.pp
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Giuseppe Lavagetto: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/mediawiki/manifests/jobrunner.pp 
b/modules/mediawiki/manifests/jobrunner.pp
index 391e773..503cd6a 100644
--- a/modules/mediawiki/manifests/jobrunner.pp
+++ b/modules/mediawiki/manifests/jobrunner.pp
@@ -115,6 +115,10 @@
                 minute  => fqdn_rand(59, 'periodic_hhvm_restart'),
             }
 
+        } else {
+            cron { 'periodic_hhvm_restart':
+                ensure => absent
+            }
         }
     }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4680a18dc526ec3afa8eff661418e1f732aeaacf
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to