From d0911282e2e201b1f60cd3431018d57cd8321482 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 27 Nov 2013 14:21:49 -0500 Subject: add shared couchdb database, giving soledad access Change-Id: I743538f66e35f0fffaa0d07fb4ee44b810635aa3 --- puppet/modules/site_couchdb/manifests/create_dbs.pp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/puppet/modules/site_couchdb/manifests/create_dbs.pp b/puppet/modules/site_couchdb/manifests/create_dbs.pp index f8c38987..9e21e33a 100644 --- a/puppet/modules/site_couchdb/manifests/create_dbs.pp +++ b/puppet/modules/site_couchdb/manifests/create_dbs.pp @@ -16,7 +16,7 @@ class site_couchdb::create_dbs { members => "{ \"names\": [], \"roles\": [\"keycache\"] }", require => Couchdb::Query::Setup['localhost'] } - + ## sessions database ## r/w: webapp couchdb::create_db { 'sessions': @@ -24,6 +24,13 @@ class site_couchdb::create_dbs { require => Couchdb::Query::Setup['localhost'] } + ## shared database + ## r/w: soledad + couchdb::create_db { 'shared': + members => "{ \"names\": [\"$site_couchdb::couchdb_soledad_user\"], \"roles\": [] }", + require => Couchdb::Query::Setup['localhost'] + } + ## tickets database ## r/w: webapp couchdb::create_db { 'tickets': -- cgit v1.2.3