Elukey has submitted this change and it was merged.
Change subject: Deploy memcached 1.4.25 to mc1010 as part of a performance
experiment.
......................................................................
Deploy memcached 1.4.25 to mc1010 as part of a performance experiment.
Bug: T129963
Change-Id: Iaa47685d681fe17cdc7bc2db02ac2c2c59176e08
---
M manifests/role/memcached.pp
1 file changed, 6 insertions(+), 5 deletions(-)
Approvals:
Elukey: Looks good to me, approved
jenkins-bot: Verified
diff --git a/manifests/role/memcached.pp b/manifests/role/memcached.pp
index d0b40d3..828ebf6 100644
--- a/manifests/role/memcached.pp
+++ b/manifests/role/memcached.pp
@@ -12,11 +12,11 @@
'labs' => 3000,
}
- # mc[12]009 will get the 1.4.25-2~wmf1 package version
+ # The following hosts will get the 1.4.25-2~wmf1 package version
# deployed manually. This workaround should avoid
# disabling puppet for the whole duration of the test.
# More info: T129963
- if $::hostname == 'mc2009' or $::hostname == 'mc1009' {
+ if $::hostname == 'mc2009' or $::hostname =~ /mc10(09|10)/ {
$version = '1.4.25-2~wmf1'
} else {
$version = os_version('debian >= jessie || ubuntu >= trusty') ? {
@@ -25,9 +25,10 @@
}
}
- # mc[12]009 are configured with the latest memcached (version
1.4.25-2~wmf1)
- # as part of a performance experiment. More info: T129963
- if $::hostname == 'mc2009' or $::hostname == 'mc1009' {
+ # The following hosts are configured with the latest memcached
+ # (version 1.4.25-2~wmf1) as part of a performance experiment.
+ # More info: T129963
+ if $::hostname == 'mc2009' or $::hostname =~ /mc10(09|10)/ {
$growth_factor = 1.15
$extended_options = [
'slab_reassign',
--
To view, visit https://gerrit.wikimedia.org/r/291916
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iaa47685d681fe17cdc7bc2db02ac2c2c59176e08
Gerrit-PatchSet: 5
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Elukey <[email protected]>
Gerrit-Reviewer: Elukey <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits