[MediaWiki-commits] [Gerrit] operations/puppet[production]: role::cache::instances add pinkunicorn to production conditi...

2016-10-14 Thread Ema (Code Review)
Ema has submitted this change and it was merged.

Change subject: role::cache::instances add pinkunicorn to production conditional
..


role::cache::instances add pinkunicorn to production conditional

Change-Id: I8bc9214ea164416d1f259096dc88bfa8cd655cc4
---
M modules/role/manifests/cache/instances.pp
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Ema: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/role/manifests/cache/instances.pp 
b/modules/role/manifests/cache/instances.pp
index 0f653fd..e9c996f 100644
--- a/modules/role/manifests/cache/instances.pp
+++ b/modules/role/manifests/cache/instances.pp
@@ -70,7 +70,7 @@
 # the production conditional is sad (vs using hiera), but I
 # don't know of a better way to factor this out at the moment,
 # and it may all change later...
-if $::realm != 'production' {
+if $::realm != 'production' or $::hostname == 'cp1008' {
 $becaches_filtered = hash_deselect_re('^cache_codfw', $backend_caches)
 } else {
 $becaches_filtered = $backend_caches

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8bc9214ea164416d1f259096dc88bfa8cd655cc4
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ema 
Gerrit-Reviewer: BBlack 
Gerrit-Reviewer: Ema 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] operations/puppet[production]: role::cache::instances add pinkunicorn to production conditi...

2016-10-14 Thread Ema (Code Review)
Ema has uploaded a new change for review.

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

Change subject: role::cache::instances add pinkunicorn to production conditional
..

role::cache::instances add pinkunicorn to production conditional

Change-Id: I8bc9214ea164416d1f259096dc88bfa8cd655cc4
---
M modules/role/manifests/cache/instances.pp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/24/315924/1

diff --git a/modules/role/manifests/cache/instances.pp 
b/modules/role/manifests/cache/instances.pp
index 0f653fd..e9c996f 100644
--- a/modules/role/manifests/cache/instances.pp
+++ b/modules/role/manifests/cache/instances.pp
@@ -70,7 +70,7 @@
 # the production conditional is sad (vs using hiera), but I
 # don't know of a better way to factor this out at the moment,
 # and it may all change later...
-if $::realm != 'production' {
+if $::realm != 'production' or $::hostname == 'cp1008' {
 $becaches_filtered = hash_deselect_re('^cache_codfw', $backend_caches)
 } else {
 $becaches_filtered = $backend_caches

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8bc9214ea164416d1f259096dc88bfa8cd655cc4
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ema 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits