summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
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