From 2c2091cbfbe7a65234e985b3d004b4c3ec73c560 Mon Sep 17 00:00:00 2001 From: varac Date: Wed, 26 Feb 2014 15:00:17 +0100 Subject: create 'messages' db to store messages to the clients such as payment reminders reviewed by azul --- puppet/modules/site_couchdb/manifests/create_dbs.pp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'puppet/modules') 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'] + } } -- cgit v1.2.3