Ottomata has submitted this change and it was merged. ( 
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(-)

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



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: merged
Gerrit-Change-Id: Ic58c4c42890c51b056adf27e4489393fb3e426c7
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to