summaryrefslogtreecommitdiff
path: root/puppet/modules/site_shorewall/manifests/couchdb.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-04-04 12:50:30 -0400
committerMicah Anderson <micah@riseup.net>2013-04-04 12:50:30 -0400
commit2c53c5023b925cb596e3f450f194482eade1fbeb (patch)
tree2f29b02cf9be45209212bd08cfa453554b97e264 /puppet/modules/site_shorewall/manifests/couchdb.pp
parentc228491af3929e07766903c3ce29a06fab86ad63 (diff)
add Erlang Distributed Node Protocol Port json entry under bigcouch
setup ednp_server and ednp_client stunnels update couchdb puppet submodule to support configurable ednp_port parameter and general module cleanup pass ednp_port to couchdb setup so that it is configured in the vm.args template clarify in comments the difference between the epmd and ednp ports remove hard-coded erlang_vm_port variable and instead setup shorewall to allow for the stunnel connection only setup dnat rules for the ednp client connections
Diffstat (limited to 'puppet/modules/site_shorewall/manifests/couchdb.pp')
-rw-r--r--puppet/modules/site_shorewall/manifests/couchdb.pp5
1 files changed, 1 insertions, 4 deletions
diff --git a/puppet/modules/site_shorewall/manifests/couchdb.pp b/puppet/modules/site_shorewall/manifests/couchdb.pp
index 1ef91bb0..73bed62b 100644
--- a/puppet/modules/site_shorewall/manifests/couchdb.pp
+++ b/puppet/modules/site_shorewall/manifests/couchdb.pp
@@ -6,12 +6,9 @@ class site_shorewall::couchdb {
$couch_server = $stunnel['couch_server']
$couch_stunnel_port = $couch_server['accept']
- # 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 ${couch_stunnel_port},${erlang_vm_port}",
+ content => "PARAM - - tcp ${couch_stunnel_port}",
notify => Service['shorewall'],
require => Package['shorewall']
}