Mark Bergsma has submitted this change and it was merged.

Change subject: Hack for getting Text Varnish in Beta Labs
......................................................................


Hack for getting Text Varnish in Beta Labs

Change-Id: Ic931521b91b3a955011af47f9ba2e12d38f89bc0
---
M manifests/role/cache.pp
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/manifests/role/cache.pp b/manifests/role/cache.pp
index 9b1d1bb..023be8e 100644
--- a/manifests/role/cache.pp
+++ b/manifests/role/cache.pp
@@ -355,7 +355,7 @@
        }
 
        class text {
-               if $::site == "esams" and $::hostname =~ 
/^amssq(4[7-9]|[56][0-9])$/ {
+               if ($::site == "esams" and $::hostname =~ 
/^amssq(4[7-9]|[56][0-9])$/) or ($::realm == "labs" and $::hostname =~ 
/^deployment-cache-text/) {
                        # Varnish
 
                        $cluster = "cache_text"

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic931521b91b3a955011af47f9ba2e12d38f89bc0
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mark Bergsma <m...@wikimedia.org>
Gerrit-Reviewer: Mark Bergsma <m...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to