Yuvipanda has uploaded a new change for review.

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

Change subject: ores: Move to using redis::instance
......................................................................

ores: Move to using redis::instance

Change-Id: I975f3f9d6cdb2842ddad47217f65bb3ff8ec2657
---
M modules/ores/manifests/redis.pp
1 file changed, 6 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/19/254119/1

diff --git a/modules/ores/manifests/redis.pp b/modules/ores/manifests/redis.pp
index 4460e41..9a5cd97 100644
--- a/modules/ores/manifests/redis.pp
+++ b/modules/ores/manifests/redis.pp
@@ -1,9 +1,12 @@
 class ores::redis(
     $maxmemory
 ) {
-    class { '::redis::legacy':
-        maxmemory => $maxmemory,
-        redis_options  => {
+    redis::instance { '6379':
+        settings => {
+            dir             => '/srv/redis',
+            maxmemory       => $maxmemory,
+            appendonly      => 'yes',
+            appendfilename  => "${hostname}-6379.aof",
             'tcp-keepalive' => 60,
         }
     }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I975f3f9d6cdb2842ddad47217f65bb3ff8ec2657
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <yuvipa...@wikimedia.org>

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

Reply via email to