Jforrester has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/350505 )

Change subject: Decom legacy citoid service hostname
......................................................................

Decom legacy citoid service hostname

Announced on 8 March with a 1 May deadline.

Bug: T133001
Change-Id: I72d0db5d53a3f0ab436cc7ff080daba9256bd194
---
M hieradata/role/common/cache/text.yaml
M modules/varnish/templates/text-common.inc.vcl.erb
2 files changed, 1 insertion(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/05/350505/1

diff --git a/hieradata/role/common/cache/text.yaml 
b/hieradata/role/common/cache/text.yaml
index 9526e9e..c5ca62d 100644
--- a/hieradata/role/common/cache/text.yaml
+++ b/hieradata/role/common/cache/text.yaml
@@ -66,9 +66,6 @@
   cxserver.wikimedia.org:
     director: 'cxserver_backend'
     caching: 'pass'
-  citoid.wikimedia.org:
-    director: 'citoid_backend'
-    caching: 'pass'
   default:
     director: 'appservers'
     debug_director: 'appservers_debug'
diff --git a/modules/varnish/templates/text-common.inc.vcl.erb 
b/modules/varnish/templates/text-common.inc.vcl.erb
index d21afda..64614cf 100644
--- a/modules/varnish/templates/text-common.inc.vcl.erb
+++ b/modules/varnish/templates/text-common.inc.vcl.erb
@@ -63,7 +63,7 @@
 
 sub text_normalize_path {
        // Don't decode percent-encoded slashes in paths for REST APIs
-       if (req.url ~ "^/api/rest_v1/" || req.http.host ~ 
"^(cxserver|citoid)\.wikimedia\.org$") {
+       if (req.url ~ "^/api/rest_v1/" || req.http.host ~ 
"^cxserver\.wikimedia\.org$") {
                call normalize_rest_path;
        } else {
                call normalize_mediawiki_path;

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

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

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

Reply via email to