summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2014-01-07 18:06:34 +0100
committervarac <varacanero@zeromail.org>2014-01-07 18:06:34 +0100
commitf4eca7fba63c5e0cfe695812c11fae10778fd349 (patch)
treed7decf75654cf032381838f2334a6393a9e878c5 /puppet/modules
parentec080f77f5f4d12d4a67b604a20113a79d22c28a (diff)
restrict bigcouch chttp proc to localhost
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/site_couchdb/manifests/init.pp11
1 files changed, 6 insertions, 5 deletions
diff --git a/puppet/modules/site_couchdb/manifests/init.pp b/puppet/modules/site_couchdb/manifests/init.pp
index ad0c996a..fd7e67a1 100644
--- a/puppet/modules/site_couchdb/manifests/init.pp
+++ b/puppet/modules/site_couchdb/manifests/init.pp
@@ -42,11 +42,12 @@ class site_couchdb {
$ednp_port = $bigcouch_config['ednp_port']
class { 'couchdb':
- bigcouch => true,
- admin_pw => $couchdb_admin_pw,
- admin_salt => $couchdb_admin_salt,
- bigcouch_cookie => $bigcouch_cookie,
- ednp_port => $ednp_port
+ bigcouch => true,
+ admin_pw => $couchdb_admin_pw,
+ admin_salt => $couchdb_admin_salt,
+ bigcouch_cookie => $bigcouch_cookie,
+ ednp_port => $ednp_port,
+ chttpd_bind_address => '127.0.0.1'
}
class { 'couchdb::bigcouch::package::cloudant': }