comments in vm.args confuses simplenode.runner

Tuncer Ayaz tuncer.ayaz at gmail.com
Fri Jun 3 17:04:15 EDT 2011


On Thu, Jun 2, 2011 at 10:29 PM, pablo platt wrote:
> Hi
>
> I've experimented with a release node by changing the -name in the vm.args
> file.
> I've commented the line that was generated from the template and added my
> line:
>
> ## Name of the node
> #-name myapp at 127.0.0.1
> -name myapp at mydomain.com
>
> The simplenode.runner use the commented line which gives weird results.
> Is this something specific to rebar or does rebar just copy the script from
> otp?
>
> This is the relevant line but there other lines that extract info from the
> vm.args file behave the same.
>
> NAME_ARG=`grep -e '-[s]*name' $RUNNER_ETC_DIR/vm.args`
> https://github.com/basho/rebar/blob/master/priv/templates/simplenode.runner#L25

Hi Pablo,

can you confirm that the following branch resolves the problem?
https://github.com/basho/rebar/compare/master...ta-runner-regex



More information about the rebar mailing list