diff options
author | Azul <azul@riseup.net> | 2013-09-02 11:57:48 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2013-09-02 12:06:43 +0200 |
commit | c25c97adeb6c41d9af008ba918dfa6ee192f2fd9 (patch) | |
tree | 2200a2cc40d6fd6ddf26af422e9b6e6c460c2379 /puppet/modules/site_couchdb/manifests | |
parent | d7de7d88d243644f13cc1118c7fdb31b11766008 (diff) |
create all webapp databases so _security is set (fixes 3517)
Diffstat (limited to 'puppet/modules/site_couchdb/manifests')
-rw-r--r-- | puppet/modules/site_couchdb/manifests/init.pp | 13 |
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 |