Catrope has uploaded a new change for review.

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

Change subject: Expose citoid through misc-web
......................................................................

Expose citoid through misc-web

Needs DNS entry for citoid.wm.o

Bug: T76949
Change-Id: I03f4f41b63b1968e9231a87f2bd8fd40698a0d3d
---
M manifests/role/cache.pp
M templates/varnish/misc.inc.vcl.erb
2 files changed, 3 insertions(+), 0 deletions(-)


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

diff --git a/manifests/role/cache.pp b/manifests/role/cache.pp
index 8ff1f0e..9612e32 100644
--- a/manifests/role/cache.pp
+++ b/manifests/role/cache.pp
@@ -1493,6 +1493,7 @@
                 'magnesium.wikimedia.org', # RT and racktables
                 'stat1001.wikimedia.org', # metrics and metrics-api
                 'palladium.eqiad.wmnet',
+                'citoid.svc.eqiad.wmnet',
             ],
             backend_options => [
             {
diff --git a/templates/varnish/misc.inc.vcl.erb 
b/templates/varnish/misc.inc.vcl.erb
index 45541f0..9a44848 100644
--- a/templates/varnish/misc.inc.vcl.erb
+++ b/templates/varnish/misc.inc.vcl.erb
@@ -49,6 +49,8 @@
                return (pass);
        } elsif (req.http.Host == "noc.wikimedia.org") {
                set req.backend = terbium;
+       } elsif (req.http.Host == "citoid.wikimedia.org") {
+               set req.backend = citoid;
        } else {
                error 404 "Domain not served here";
        }

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

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

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

Reply via email to