summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2013-11-27 14:21:49 -0500
committerMicah Anderson <micah@leap.se>2013-11-27 14:48:01 -0500
commitd0911282e2e201b1f60cd3431018d57cd8321482 (patch)
tree88cded18be5924a3ceab9ffa9ec6b4bb4ae6a2f2 /puppet/modules
parent25ff4895b47ffd937e9f9881747ee8ffb511dacf (diff)
add shared couchdb database, giving soledad access
Change-Id: I743538f66e35f0fffaa0d07fb4ee44b810635aa3
Diffstat (limited to 'puppet/modules')
-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':