summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb/manifests
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-03-30 22:33:05 -0700
committerelijah <elijah@riseup.net>2015-03-30 22:33:05 -0700
commitb64940c1de7cf42acef018ca2fbf5beff4f48e80 (patch)
tree13925f4c050d55c413e15307e48cdb803caa5945 /puppet/modules/site_couchdb/manifests
parent3172444652af71bd771609d6b80258e70cc82ce9 (diff)
added support for rotating couchdb databases.
Diffstat (limited to 'puppet/modules/site_couchdb/manifests')
-rw-r--r--puppet/modules/site_couchdb/manifests/create_dbs.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/puppet/modules/site_couchdb/manifests/create_dbs.pp b/puppet/modules/site_couchdb/manifests/create_dbs.pp
index 40148b8e..f9a08807 100644
--- a/puppet/modules/site_couchdb/manifests/create_dbs.pp
+++ b/puppet/modules/site_couchdb/manifests/create_dbs.pp
@@ -64,6 +64,13 @@ class site_couchdb::create_dbs {
require => Couchdb::Query::Setup['localhost']
}
+ ## tmp_users database
+ ## r/w: webapp
+ couchdb::create_db { 'tmp_users':
+ members => "{ \"names\": [], \"roles\": [\"replication\", \"users\"] }",
+ require => Couchdb::Query::Setup['localhost']
+ }
+
## messages db
## store messages to the clients such as payment reminders
## r/w: webapp