Ori.livneh has submitted this change and it was merged.
Change subject: migrate rcstream from redis::legacy to redis::instance
......................................................................
migrate rcstream from redis::legacy to redis::instance
Change-Id: Iab8df459e2231830ae122f53b6824148c596e252
---
M manifests/role/rcstream.pp
1 file changed, 2 insertions(+), 5 deletions(-)
Approvals:
Ori.livneh: Verified; Looks good to me, approved
diff --git a/manifests/role/rcstream.pp b/manifests/role/rcstream.pp
index 843b0b4..c318945 100644
--- a/manifests/role/rcstream.pp
+++ b/manifests/role/rcstream.pp
@@ -13,11 +13,8 @@
description => 'MediaWiki Recent Changes stream',
}
- class { '::redis::legacy':
- maxmemory => '100mb',
- dir => '/var/run/redis',
- persist => false,
- redis_replication => false,
+ redis::instance { 6379:
+ settings => { maxmemory => '100mb' },
}
# Spawn as many instances as there are CPU cores, less two.
--
To view, visit https://gerrit.wikimedia.org/r/253487
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iab8df459e2231830ae122f53b6824148c596e252
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits