MaxSem has uploaded a new change for review.
https://gerrit.wikimedia.org/r/73343
Change subject: Switch testwiki to mw1017 in Varnish too
......................................................................
Switch testwiki to mw1017 in Varnish too
Change-Id: I086a22db99bc708f78716e914295d8f86ab062b6
---
M manifests/role/cache.pp
M manifests/site.pp
2 files changed, 10 insertions(+), 5 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/43/73343/1
diff --git a/manifests/role/cache.pp b/manifests/role/cache.pp
index 0e5ac15..0c3b7ff 100644
--- a/manifests/role/cache.pp
+++ b/manifests/role/cache.pp
@@ -326,8 +326,8 @@
'eqiad' => [ "mw1149.eqiad.wmnet",
"mw1150.eqiad.wmnet", "mw1151.eqiad.wmnet", "mw1152.eqiad.wmnet" ],
},
'test_appservers' => {
- 'pmtpa' => [ "srv193.pmtpa.wmnet" ],
- 'eqiad' => [ "srv193.pmtpa.wmnet" ],
+ 'pmtpa' => [ "mw1017.eqiad.wmnet" ],
+ 'eqiad' => [ "mw1017.eqiad.wmnet" ],
},
'parsoid' =>
$lvs::configuration::lvs_service_ips['production']['parsoid']
},
@@ -570,7 +570,7 @@
'probe' => "varnish",
},
{
- 'backend_match' =>
'^srv193\.pmtpa\.wmnet$',
+ 'backend_match' =>
'^mw1017\.eqiad\.wmnet$',
'max_connections' => 20,
},
{
@@ -937,7 +937,7 @@
},
backend_options => [
{
- 'backend_match' =>
'^srv193\.pmtpa\.wmnet$',
+ 'backend_match' =>
'^mw1017\.eqiad\.wmnet$',
'max_connections' => 20,
},
{
diff --git a/manifests/site.pp b/manifests/site.pp
index 1e42f98..469aa83 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -1965,7 +1965,12 @@
$ganglia_aggregator = true
}
- include role::applicationserver::appserver
+ # mw1017 is test.wikipedia.org (precise)
+ if $::hostname = "mw1017" {
+ include role::applicationserver::appserver::test
+ } else {
+ include role::applicationserver::appserver
+ }
}
# mw1114-1148 are api apaches (precise)
--
To view, visit https://gerrit.wikimedia.org/r/73343
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I086a22db99bc708f78716e914295d8f86ab062b6
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: MaxSem <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits