summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_shorewall/manifests/couchdb.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/puppet/modules/site_shorewall/manifests/couchdb.pp b/puppet/modules/site_shorewall/manifests/couchdb.pp
index a448dd42..04b608e2 100644
--- a/puppet/modules/site_shorewall/manifests/couchdb.pp
+++ b/puppet/modules/site_shorewall/manifests/couchdb.pp
@@ -7,9 +7,12 @@ class site_shorewall::couchdb {
# bigcouch cluster nodes
$portmapper_port = '5369'
+ # see http://stackoverflow.com/questions/8459949/bigcouch-cluster-connection-issue#comment10467603_8463814
+ $erlang_vm_port = '9001'
+
# define macro for incoming services
file { '/etc/shorewall/macro.leap_couchdb':
- content => "PARAM - - tcp ${couchdb_port},${portmapper_port}",
+ content => "PARAM - - tcp ${couchdb_port},${portmapper_port},${erlang_vm_port}",
notify => Service['shorewall'],
require => Package['shorewall']
}