Ori.livneh has uploaded a new change for review.

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

Change subject: Enable GeoIP cookie on Labs
......................................................................

Enable GeoIP cookie on Labs

Change-Id: Id13f23cef9cbf6d5f368d9a47d761919f1f6b431
---
M manifests/role/cache.pp
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/19/116719/1

diff --git a/manifests/role/cache.pp b/manifests/role/cache.pp
index 1a4cb3c..351331c 100644
--- a/manifests/role/cache.pp
+++ b/manifests/role/cache.pp
@@ -645,6 +645,8 @@
             wikimedia_networks => $wikimedia_networks,
         }
 
+        $text_enable_geo = ( $::realm == 'labs' )
+
         varnish::instance { "text-frontend":
             name => "frontend",
             vcl => "text-frontend",
@@ -674,7 +676,7 @@
                     'weight' => $backend_weight,
                 }],
             cluster_options => {
-                'enable_geoiplookup' => false,
+                'enable_geoiplookup' => $text_enable_geo,
             },
         }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id13f23cef9cbf6d5f368d9a47d761919f1f6b431
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <o...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to