summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2013-11-27 14:12:28 -0500
committerMicah Anderson <micah@leap.se>2013-11-27 14:48:01 -0500
commit6bff399fdcdab967a13a27d40dcef4bfb871e046 (patch)
treee8aba10f01027fa32df28419e89eea0b6a92fef8 /puppet
parente25091395d49d7e10c6266528d4bdfc48c10c886 (diff)
add nickserver couchdb user, set it to have 'identities' role
Change-Id: I06723ccf2ba040204e9fc5256c99a1faad6abb5f
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_couchdb/manifests/add_users.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/puppet/modules/site_couchdb/manifests/add_users.pp b/puppet/modules/site_couchdb/manifests/add_users.pp
index e525d01a..e3b74865 100644
--- a/puppet/modules/site_couchdb/manifests/add_users.pp
+++ b/puppet/modules/site_couchdb/manifests/add_users.pp
@@ -9,6 +9,16 @@ class site_couchdb::add_users {
require => Couchdb::Query::Setup['localhost']
}
+ # nickserver couchdb user
+ # read: identities, keycache
+ # write: keycache (a cache of discovered key, doesn’t exist yet)
+ couchdb::add_user { $site_couchdb::couchdb_nickserver_user:
+ roles => '["identities"]',
+ pw => $site_couchdb::couchdb_nickserver_pw,
+ salt => $site_couchdb::couchdb_nickserver_salt,
+ require => Couchdb::Query::Setup['localhost']
+ }
+
couchdb::add_user { $site_couchdb::couchdb_soledad_user:
roles => '["auth"]',
pw => $site_couchdb::couchdb_soledad_pw,