Giuseppe Lavagetto has submitted this change and it was merged.

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


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

While in general we want to point to the local restbase cluster, there
might be cases in which that will not be the case.

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

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



diff --git a/modules/mobileapps/manifests/init.pp 
b/modules/mobileapps/manifests/init.pp
index 7801783..f4f6a45 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_site}.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_site}.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: merged
Gerrit-Change-Id: I5df2a82203ce5faa068edd917f4e7dee68598d1d
Gerrit-PatchSet: 4
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Mobrovac <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to