Andrew Bogott has uploaded a new change for review.

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

Change subject: Add redis config for keystone in labs
......................................................................

Add redis config for keystone in labs

For testing the redis token driver with replication for tokens
this change adds a redis server for keystone.

(written by Ryan Lane)

Change-Id: I830111c4d6beee7fac872ee92dad1871a6086850
---
M manifests/role/keystone.pp
1 file changed, 14 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/99/118999/1

diff --git a/manifests/role/keystone.pp b/manifests/role/keystone.pp
index 4dc971c..cf60de3 100644
--- a/manifests/role/keystone.pp
+++ b/manifests/role/keystone.pp
@@ -100,3 +100,17 @@
         auto_aof_rewrite_min_size => "64mb",
     }
 }
+
+
+class role::keystone::redis::labs {
+    include passwords::openstack::keystone
+
+    class { "::redis":
+        maxmemory                 => "250mb",
+        persist                   => "aof",
+        redis_replication         => { 'nova-precise3' => 'nova-precise2' },
+        password                  => 
$passwords::openstack::keystone::keystone_db_pass,
+        dir                       => "/var/lib/redis/",
+        auto_aof_rewrite_min_size => "64mb",
+    }
+}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I830111c4d6beee7fac872ee92dad1871a6086850
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to