Reedy has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/91676


Change subject: Make misc::maintenance::foundationwiki cronjobs ensure => absent
......................................................................

Make misc::maintenance::foundationwiki cronjobs ensure => absent

Change-Id: Ia0617a147164f4153b63b3b281299b38f26f3dd3
---
M manifests/misc/maintenance.pp
M manifests/site.pp
2 files changed, 2 insertions(+), 24 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/76/91676/1

diff --git a/manifests/misc/maintenance.pp b/manifests/misc/maintenance.pp
index 626b7d8..fa9a03e 100644
--- a/manifests/misc/maintenance.pp
+++ b/manifests/misc/maintenance.pp
@@ -3,31 +3,12 @@
 # mw maintenance/batch hosts
 
 class misc::maintenance::foundationwiki( $enabled = false ) {
-
-       system_role { "misc::maintenance::foundationwiki": description => "Misc 
- Maintenance Server: foundationwiki" }
-
-       # This is broken and points to a non-existing DB
        cron { 'updatedays':
-               user => apache,
-               minute => '*/15',
-               command => '/usr/local/bin/mwscript 
extensions/ContributionReporting/PopulateFundraisingStatistics.php 
foundationwiki --op updatedays > 
/tmp/PopulateFundraisingStatistics-updatedays.log',
-               ensure => $enabled ?{
-                       true => present,
-                       false => absent,
-                       default => absent
-               };
+               ensure => absent
        }
 
-       # This is broken and points to a non-existing DB
        cron { 'populatefundraisers':
-               user => apache,
-               minute => 5,
-               command => '/usr/local/bin/mwscript 
extensions/ContributionReporting/PopulateFundraisingStatistics.php 
foundationwiki --op populatefundraisers > 
/tmp/PopulateFundraisingStatistics-populatefundraisers.log',
-               ensure => $enabled ?{
-                       true => present,
-                       false => absent,
-                       default => absent
-               };
+               ensure => absent
        }
 }
 
diff --git a/manifests/site.pp b/manifests/site.pp
index 2013414..865d3b3 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -2760,9 +2760,6 @@
     # (bug 15434) Periodical run of currently disabled special pages
     # to be run against PMTPA slaves
     class { misc::maintenance::updatequerypages: enabled => true }
-
-    # totally broken, misconfigured in non-version reporting-setup.php
-    class { misc::maintenance::foundationwiki: enabled => false }
 }
 
 node /^testsearch100[1-3]\.eqiad\.wmnet/ {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia0617a147164f4153b63b3b281299b38f26f3dd3
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Reedy <[email protected]>

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

Reply via email to