basho / node_package

RPM/Debian/FreeBSD/SmartOS/Solaris/OSX packaging templates for Erlang Nodes
Apache License 2.0
89 stars 63 forks source link

Set NODETOOL up as an alias and include ERL_FLAGS env vars #183

Closed tombriden closed 7 years ago

tombriden commented 9 years ago

nodetool won't work with TLS distribution as the erlang vm args don't get passed in to escript. This commit reads the TLS args from the vm.args file if it exists and prefixes the call to escript with them. The only way to have this work properly is to alias the command rather than store it as a variable

basho/riak#509

bsparrow435 commented 7 years ago

Thanks for this contribution. There's a few minor changes I may make depending in a separate commit on how we want to handle this through cuttlefish and the naming format for generated vm.args files. Am going to go ahead and merge this so we can get TLS working again.