diff options
author | Micah Anderson <micah@riseup.net> | 2013-04-04 12:40:45 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-04-04 12:40:45 -0400 |
commit | 15741647f2841eb06ed2d6f0c8237be09728471e (patch) | |
tree | c12eee5a01961e5d1e087899ec8bff7c8daa9525 | |
parent | bc7a303502078288ca7044da102b4634d35fedb0 (diff) |
add $ednp_port parameter to configure the erlang distributed node protocol port
-rw-r--r-- | manifests/init.pp | 2 | ||||
-rw-r--r-- | 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') %> |