summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-03-10 17:29:12 +0100
committervarac <varacanero@zeromail.org>2013-03-10 17:29:12 +0100
commit01941d905a71a2088ec080703f4e5430dec7a2ec (patch)
tree335d77939daf36ae14deeecaad940ba97e60b862 /puppet/modules
parent9ea188c22774607bd6914334daa3d303c041d9a4 (diff)
pass couchdb cookie to class couchdb
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/site_couchdb/manifests/init.pp7
1 files changed, 5 insertions, 2 deletions
diff --git a/puppet/modules/site_couchdb/manifests/init.pp b/puppet/modules/site_couchdb/manifests/init.pp
index 35470b5d..419e4122 100644
--- a/puppet/modules/site_couchdb/manifests/init.pp
+++ b/puppet/modules/site_couchdb/manifests/init.pp
@@ -15,10 +15,13 @@ class site_couchdb ( $bigcouch = false ) {
$couchdb_ca_daemon = $couchdb_users['ca_daemon']
$couchdb_ca_daemon_user = $couchdb_ca_daemon['username']
$couchdb_ca_daemon_pw = $couchdb_ca_daemon['password']
+ $bigcouch_config = $couchdb_config['bigcouch']
+ $bigcouch_cookie = $bigcouch_config['cookie']
class {'couchdb':
- bigcouch => $bigcouch,
- admin_pw => $couchdb_admin_pw
+ bigcouch => $bigcouch,
+ admin_pw => $couchdb_admin_pw,
+ bigcouch_cookie => $bigcouch_cookie
}
Service ['couchdb']