Ottomata has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/365684 )

Change subject: Move reportupdater jobs from stat1003 -> stat1006
......................................................................

Move reportupdater jobs from stat1003 -> stat1006

Bug: T152712
Change-Id: Ic58c4c42890c51b056adf27e4489393fb3e426c7
---
M modules/role/manifests/statistics/cruncher.pp
1 file changed, 4 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/84/365684/1

diff --git a/modules/role/manifests/statistics/cruncher.pp 
b/modules/role/manifests/statistics/cruncher.pp
index f720ac0..ae8922c 100644
--- a/modules/role/manifests/statistics/cruncher.pp
+++ b/modules/role/manifests/statistics/cruncher.pp
@@ -7,15 +7,12 @@
     include ::profile::statistics::cruncher
 
     # will be removed as part of T152712
-    if $::hostname == 'stat1003' {
-        # Reportupdater jobs that get data from MySQL analytics slaves
-        include ::profile::reportupdater::jobs::mysql
-
-    }
-    # else moved to stat1006
-    else {
+    if $::hostname == 'stat1006' {
         # Geowiki jobs that get data from MySQL analytics slave and save the 
data
         # in a private locally hosted git repository.
         include ::profile::geowiki
+
+        # Reportupdater jobs that get data from MySQL analytics slaves
+        include ::profile::reportupdater::jobs::mysql
     }
 }

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

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

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

Reply via email to