Mark Bergsma has uploaded a new change for review.
https://gerrit.wikimedia.org/r/71351
Change subject: Switch cp3003 frontend to use chash weight 100
......................................................................
Switch cp3003 frontend to use chash weight 100
Change-Id: If07d26c08970129f811c484c26066a5846c198ce
---
M manifests/role/cache.pp
1 file changed, 7 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/51/71351/1
diff --git a/manifests/role/cache.pp b/manifests/role/cache.pp
index a91f842..411661a 100644
--- a/manifests/role/cache.pp
+++ b/manifests/role/cache.pp
@@ -670,6 +670,12 @@
$director_retries = $backend_weight * 4
}
+ # FIXME: remove after migration
+ $temp_backend_weight = $::hostname ? {
+ /^cp300[3]$/ => 100,
+ default => 20,
+ }
+
include standard,
nrpe
@@ -774,7 +780,7 @@
},
{
'backend_match' =>
'^cp30[0-9][0-9]\.esams\.wikimedia\.org$',
- 'weight' => 20,
+ 'weight' => $temp_backend_weight,
},
{
'port' => 3128,
--
To view, visit https://gerrit.wikimedia.org/r/71351
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If07d26c08970129f811c484c26066a5846c198ce
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mark Bergsma <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits