summaryrefslogtreecommitdiff
path: root/puppet/modules/site_shorewall
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-03-21 14:03:07 +0100
committerMicah Anderson <micah@riseup.net>2013-04-02 10:21:06 -0400
commiteac4d82da1675d839fcdc2360df5929e41322c2d (patch)
treece92312e465532cd679a193f9452dd60f4f40d89 /puppet/modules/site_shorewall
parente9b00c6efb65faa4c0dfa955527fafc2b13889d4 (diff)
start erlang vm on dedicated port so firewalling is easier
Diffstat (limited to 'puppet/modules/site_shorewall')
-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']
}