diff options
author | elijah <elijah@riseup.net> | 2015-03-30 22:33:05 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-03-30 22:33:05 -0700 |
commit | b64940c1de7cf42acef018ca2fbf5beff4f48e80 (patch) | |
tree | 13925f4c050d55c413e15307e48cdb803caa5945 /puppet/modules/site_couchdb/manifests | |
parent | 3172444652af71bd771609d6b80258e70cc82ce9 (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.pp | 7 |
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 |