summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-02-26 15:00:17 +0100
committervarac <varacanero@zeromail.org>2014-02-26 15:00:17 +0100
commit2c2091cbfbe7a65234e985b3d004b4c3ec73c560 (patch)
tree6cab346d9a9501430fbcc622746ef372f81822e1 /puppet/modules/site_couchdb
parent3530c6cff40c29c0423bd35cdec7836f6eb8dc9b (diff)
create 'messages' db to store messages to the clients such as payment reminders
reviewed by azul
Diffstat (limited to 'puppet/modules/site_couchdb')
-rw-r--r--puppet/modules/site_couchdb/manifests/create_dbs.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/puppet/modules/site_couchdb/manifests/create_dbs.pp b/puppet/modules/site_couchdb/manifests/create_dbs.pp
index b0ebca4d..41500d3a 100644
--- a/puppet/modules/site_couchdb/manifests/create_dbs.pp
+++ b/puppet/modules/site_couchdb/manifests/create_dbs.pp
@@ -59,4 +59,12 @@ class site_couchdb::create_dbs {
members => "{ \"names\": [], \"roles\": [\"users\"] }",
require => Couchdb::Query::Setup['localhost']
}
+
+ ## messages db
+ ## store messages to the clients such as payment reminders
+ ## r/w: webapp
+ couchdb::create_db { 'messages':
+ members => "{ \"names\": [\"$site_couchdb::couchdb_webapp_user\"], \"roles\": [] }",
+ require => Couchdb::Query::Setup['localhost']
+ }
}