summaryrefslogtreecommitdiff
path: root/puppet/modules/site_couchdb/manifests/create_dbs.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-10-01 14:29:58 +0200
committervarac <varacanero@zeromail.org>2015-10-01 14:29:58 +0200
commit03528deb5aab7311a90b07aec77e0805a233d154 (patch)
tree7c25e2fa79d09e01b4e2fb43956517d541f789da /puppet/modules/site_couchdb/manifests/create_dbs.pp
parent5cc27111151083d0a8e5098505a0024c2d2ea201 (diff)
parent3224a73ec6b2f06cf4c43f86d5b7673e442043dd (diff)
Merge remote-tracking branch 'alster-hamburgers/invite_codes' into develop
Diffstat (limited to 'puppet/modules/site_couchdb/manifests/create_dbs.pp')
-rw-r--r--puppet/modules/site_couchdb/manifests/create_dbs.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/puppet/modules/site_couchdb/manifests/create_dbs.pp b/puppet/modules/site_couchdb/manifests/create_dbs.pp
index eea4bbf5..a2d1c655 100644
--- a/puppet/modules/site_couchdb/manifests/create_dbs.pp
+++ b/puppet/modules/site_couchdb/manifests/create_dbs.pp
@@ -90,4 +90,13 @@ class site_couchdb::create_dbs {
members => "{ \"names\": [\"${site_couchdb::couchdb_webapp_user}\"], \"roles\": [\"replication\"] }",
require => Couchdb::Query::Setup['localhost']
}
+
+ ## invite_codes db
+ ## store invite codes for new signups
+ ## r/w: webapp
+ couchdb::create_db { 'invite_codes':
+ members => "{ \"names\": [\"${site_couchdb::couchdb_webapp_user}\"], \"roles\": [\"replication\"] }",
+ require => Couchdb::Query::Setup['localhost']
+ }
+
}