diff options
-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') %> |