summaryrefslogtreecommitdiff
path: root/puppet/modules/soledad
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2013-11-28 10:02:26 -0500
committerMicah Anderson <micah@leap.se>2013-11-28 10:02:26 -0500
commit82f0c979bb91912518db3111b714f61cbe21e7df (patch)
treeb997a4c00780dda52f6ae41f5d9d8beb1d11d86e /puppet/modules/soledad
parent6d3f584bb2b1ff63cd3a1973585807d283fc9041 (diff)
remove admin access from soledad
Change-Id: I7c516c6a4ba26d2c5cebe19a9bff66eae3bd430f
Diffstat (limited to 'puppet/modules/soledad')
-rw-r--r--puppet/modules/soledad/manifests/server.pp18
1 files changed, 10 insertions, 8 deletions
diff --git a/puppet/modules/soledad/manifests/server.pp b/puppet/modules/soledad/manifests/server.pp
index 6ccd934a..339030fc 100644
--- a/puppet/modules/soledad/manifests/server.pp
+++ b/puppet/modules/soledad/manifests/server.pp
@@ -3,19 +3,21 @@ class soledad::server {
include soledad
include site_apt::preferences::twisted
- $couchdb = hiera('soledad')
- $couchdb_host = 'localhost'
- $couchdb_port = '5984'
- $couchdb_user = $couchdb['couchdb_admin_user']['username']
- $couchdb_password = $couchdb['couchdb_admin_user']['password']
+ $couchdb = hiera('couch')
+ $couchdb_users = $couchdb['users']
+ $couchdb_user = $couchdb_users['soledad']['username']
+ $couchdb_password = $couchdb_users['soledad']['password']
- include site_config::x509::cert
- include site_config::x509::key
- include site_config::x509::ca
+ $couchdb_host = 'localhost'
+ $couchdb_port = '5984'
$soledad = hiera('soledad')
$soledad_port = $soledad['port']
+ include site_config::x509::cert
+ include site_config::x509::key
+ include site_config::x509::ca
+
#
# SOLEDAD CONFIG
#