Giuseppe Lavagetto has uploaded a new change for review.

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

Change subject: mobileapps: point to $rb_primary, not to the local restbase 
cluster
......................................................................

mobileapps: point to $rb_primary, not to the local restbase cluster

At the moment we want to be able to funnel the internal client's traffic
through the "active" restbase cluster. It might change in the future
when both datacenters are active.

Change-Id: I5df2a82203ce5faa068edd917f4e7dee68598d1d
---
M modules/mobileapps/manifests/init.pp
1 file changed, 2 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/38/275538/1

diff --git a/modules/mobileapps/manifests/init.pp 
b/modules/mobileapps/manifests/init.pp
index 7801783..4c42d52 100644
--- a/modules/mobileapps/manifests/init.pp
+++ b/modules/mobileapps/manifests/init.pp
@@ -1,4 +1,3 @@
-
 # Class: mobileapps
 #
 # This class installs and configures mobileapps
@@ -12,7 +11,7 @@
 #
 # [*restbase_uri*]
 #   The host/IP where to reach RESTBase. Default:
-#   http://restbase.svc.${::site}.wmnet:7231
+#   http://restbase.svc.${::rb_primary}.wmnet:7231
 # [*mwapi_uri*]
 #   The host/IP where to reach the MW API. Default:
 #   http://api.svc.${::mw_primary}.wmnet/w/api.php
@@ -21,7 +20,7 @@
 #   Service
 #
 class mobileapps(
-    $restbase_uri = "http://restbase.svc.${::site}.wmnet:7231";,
+    $restbase_uri = "http://restbase.svc.${::rb_primary}.wmnet:7231";,
     $mwapi_uri    = "http://api.svc.${::mw_primary}.wmnet/w/api.php";,
     $user_agent   = 'WMF Mobile Content Service',
 ) {

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

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

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

Reply via email to