From 15741647f2841eb06ed2d6f0c8237be09728471e Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Thu, 4 Apr 2013 12:40:45 -0400 Subject: add $ednp_port parameter to configure the erlang distributed node protocol port --- manifests/init.pp | 2 +- templates/bigcouch/vm.args | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 070baae..a189340 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,4 +1,4 @@ -class couchdb ( $admin_pw = '', $bigcouch = false, $bigcouch_cookie = '' ) +class couchdb ( $admin_pw = '', $bigcouch = false, $bigcouch_cookie = '', $ednp = '9001' ) { if $admin_pw = '' { diff --git a/templates/bigcouch/vm.args b/templates/bigcouch/vm.args index 6132a44..34b12cd 100644 --- a/templates/bigcouch/vm.args +++ b/templates/bigcouch/vm.args @@ -29,4 +29,4 @@ # make firewalling easier, see # http://stackoverflow.com/questions/8459949/bigcouch-cluster-connection-issue#comment10467603_8463814 --kernel inet_dist_listen_min 9001 +-kernel inet_dist_listen_min <%= scope.lookupvar('couchdb::ednp_port') %> -- cgit v1.2.3