summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_couchdb/manifests/init.pp')
-rw-r--r--puppet/modules/site_couchdb/manifests/init.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/puppet/modules/site_couchdb/manifests/init.pp b/puppet/modules/site_couchdb/manifests/init.pp
index 84f737d7..43abd616 100644
--- a/puppet/modules/site_couchdb/manifests/init.pp
+++ b/puppet/modules/site_couchdb/manifests/init.pp
@@ -87,6 +87,19 @@ class site_couchdb {
require => Couchdb::Query::Setup['localhost']
}
+ couchdb::create_db { 'tickets':
+ readers => "{ \"names\": [\"$couchdb_webapp_user\"], \"roles\": [] }",
+ require => Couchdb::Query::Setup['localhost']
+ }
+
+ # leap_mx will want access to this. Granting access to the soledad user
+ # via the auth group for now.
+ # leap_mx could use that for a start.
+ couchdb::create_db { 'identities':
+ readers => "{ \"names\": [], \"roles\": [\"auth\"] }",
+ require => Couchdb::Query::Setup['localhost']
+ }
+
include site_couchdb::logrotate
include site_shorewall::couchdb