summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_couchdb/manifests/create_dbs.pp9
1 files changed, 8 insertions, 1 deletions
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':