Alexandros Kosiaris has uploaded a new change for review.

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

Change subject: Add the role::ores::redis class
......................................................................

Add the role::ores::redis class

Used to populate a replicated redis database pair

Change-Id: Ia9d710864e130a6f3b3cf2484897d4a0d5713dc1
---
A modules/role/manifests/ores/redis.pp
1 file changed, 9 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/58/278758/1

diff --git a/modules/role/manifests/ores/redis.pp 
b/modules/role/manifests/ores/redis.pp
new file mode 100644
index 0000000..210f024
--- /dev/null
+++ b/modules/role/manifests/ores/redis.pp
@@ -0,0 +1,9 @@
+# Setting up ORES Redis database in a replicated way in order to facilitate
+# failover if required
+class role::ores::redis {
+    # We rely on hiera for the slaveof parameter
+    class { '::ores::redis':
+        queue_maxmemory => '512M',
+        cache_maxmemory => '3G',
+    }
+}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia9d710864e130a6f3b3cf2484897d4a0d5713dc1
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <akosia...@wikimedia.org>

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

Reply via email to