summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2013-11-28 10:05:28 -0500
committerMicah Anderson <micah@leap.se>2013-11-28 10:05:28 -0500
commitc42879b031a8363e0ad575550c0fd36b269e9e28 (patch)
tree5447901ef3708f997b7b2cd0f56d11b37c892aea /puppet/modules
parent82f0c979bb91912518db3111b714f61cbe21e7df (diff)
remove admin access from leap_mx
Change-Id: I0bbe42677d7680c99bf205ed4f6080026b308d77
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/leap_mx/manifests/init.pp9
1 files changed, 5 insertions, 4 deletions
diff --git a/puppet/modules/leap_mx/manifests/init.pp b/puppet/modules/leap_mx/manifests/init.pp
index 25b2758f..0d05a834 100644
--- a/puppet/modules/leap_mx/manifests/init.pp
+++ b/puppet/modules/leap_mx/manifests/init.pp
@@ -1,10 +1,11 @@
class leap_mx {
- $couchdb_admin_user = hiera('couchdb_admin_user')
- $couchdb_host = 'localhost'
+ $couchdb = hiera('couch')
+ $couchdb_users = $couchdb['users']
+ $couchdb_user = $couchdb_users['leap_mx']['username']
+ $couchdb_password = $couchdb_users['leap_mx']['password']
+
$couchdb_port = '4096'
- $couchdb_user = $couchdb_admin_user['username']
- $couchdb_password = $couchdb_admin_user['password']
include soledad::common
include site_apt::preferences::twisted