Ryan Lane has uploaded a new change for review.
https://gerrit.wikimedia.org/r/104322
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.
Change-Id: Ia2a3bbc7dc6e02aa223b9bde780843f8a3f10322
---
M manifests/role/keystone.pp
1 file changed, 13 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/22/104322/1
diff --git a/manifests/role/keystone.pp b/manifests/role/keystone.pp
index e1d44d3..1fefb70 100644
--- a/manifests/role/keystone.pp
+++ b/manifests/role/keystone.pp
@@ -66,3 +66,16 @@
class { "openstack::keystone-service": openstack_version =>
$openstack_version, keystoneconfig => $keystoneconfig }
}
+
+class role::keystone::redis::labs {
+ include passwords::openstack::keystone
+
+ class { "::redis":
+ maxmemory => "250mb",
+ persist => "aof",
+ redis_replication => { 'nova-precise2' => 'nova-precise3' },
+ 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/104322
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia2a3bbc7dc6e02aa223b9bde780843f8a3f10322
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ryan Lane <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits