Updating simplenode template so that it works with refactored overlay support; fixes bugs 347 and 348

--HG--
extra : rebase_source : b8eaa05914a99a7f67fdc83f1e07a92bdcad5dfd
This commit is contained in:
Dave Smith 2010-07-06 12:03:20 -06:00
parent e4772c0763
commit d1124f3040
2 changed files with 14 additions and 12 deletions

View file

@ -15,14 +15,16 @@
{profile, embedded}, {profile, embedded},
{excl_sys_filters, ["^bin/.*", {excl_sys_filters, ["^bin/.*",
"^erts.*/bin/(dialyzer|typer)"]}, "^erts.*/bin/(dialyzer|typer)"]},
{app, riak, [{incl_cond, include}]},
{app, sasl, [{incl_cond, include}]} {app, sasl, [{incl_cond, include}]}
]}. ]}.
{rebar, [ {target_dir, "{{nodeid}}"}.
{empty_dirs, [
"log/sasl"
]},
{overlay, "overlay"} {overlay, [
]}. {mkdir, "log/sasl"},
{copy, "files/erl", "\{\{erts_vsn\}\}/bin/erl"},
{copy, "files/nodetool", "\{\{erts_vsn\}\}/bin/nodetool"},
{copy, "files/{{nodeid}}", "bin/{{nodeid}}"},
{copy, "files/app.config", "etc/app.config"},
{copy, "files/vm.args", "etc/vm.args"}
]}.

View file

@ -1,7 +1,7 @@
{variables, [{nodeid, "mynode"}]}. {variables, [{nodeid, "mynode"}]}.
{template, "simplenode.reltool.config", "reltool.config"}. {template, "simplenode.reltool.config", "reltool.config"}.
{file, "simplenode.erl.script", "overlay/erts-vsn/bin/erl"}. {file, "simplenode.erl.script", "files/erl"}.
{file, "simplenode.nodetool", "overlay/erts-vsn/bin/nodetool"}. {file, "simplenode.nodetool", "files/nodetool"}.
{file, "simplenode.runner", "overlay/bin/{{nodeid}}"}. {file, "simplenode.runner", "files/{{nodeid}}"}.
{file, "simplenode.app.config", "overlay/etc/app.config"}. {file, "simplenode.app.config", "files/app.config"}.
{template, "simplenode.vm.args", "overlay/etc/vm.args"}. {template, "simplenode.vm.args", "files/vm.args"}.