Find file
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (31 sloc) 1.87 KB
{variables, [{appid, "myapp"}, {nodeid, "{{appid}}"}]}.
%% based on simplenode
{template, "riak_core_multinode.reltool.config", "rel/reltool.config"}.
{file, "riak_core_multinode.erl.script", "rel/files/erl"}.
{chmod, 8#744, "rel/files/erl"}.
{file, "riak_core_multinode.nodetool", "rel/files/nodetool"}.
{chmod, 8#744, "rel/files/nodetool"}.
{file, "riak_core_multinode.runner", "rel/files/{{nodeid}}"}.
{chmod, 8#744, "rel/files/{{nodeid}}"}.
{file, "riak_core_multinode.app.config", "rel/files/app.config"}.
{template, "riak_core_multinode.vm.args", "rel/files/vm.args"}.
%% copy from riak_core
{template, "riak_core.app.src", "apps/{{appid}}/src/{{appid}}.app.src"}.
{template, "riak_core_app.erl", "apps/{{appid}}/src/{{appid}}_app.erl"}.
{template, "riak_core.erl", "apps/{{appid}}/src/{{appid}}.erl"}.
{template, "riak_core.hrl", "apps/{{appid}}/src/{{appid}}.hrl"}.
{template, "riak_core_sup.erl", "apps/{{appid}}/src/{{appid}}_sup.erl"}.
{template, "riak_core_vnode.erl", "apps/{{appid}}/src/{{appid}}_vnode.erl"}.
{template, "riak_core_ring_handler.erl", "apps/{{appid}}/src/{{appid}}_ring_event_handler.erl"}.
{template, "riak_core_node_event_handler.erl", "apps/{{appid}}/src/{{appid}}_node_event_handler.erl"}.
{template, "riak_core.gitignore", ".gitignore"}.
%% rest of multinode stuff
{template, "riak_core_multinode.rebar.config", "rebar.config"}.
{template, "riak_core_multinode.Makefile", "Makefile"}.
{template, "riak_core_multinode.admin-runner", "rel/files/{{nodeid}}-admin"}.
{chmod, 8#744, "rel/files/{{nodeid}}-admin"}.
{template, "riak_core_multinode.console", "apps/{{appid}}/src/{{appid}}_console.erl"}.
{template, "riak_core_multinode.vars.config", "rel/vars.config"}.
{template, "riak_core_multinode.dev1.config", "rel/vars/dev1.config"}.
{template, "riak_core_multinode.dev2.config", "rel/vars/dev2.config"}.
{template, "riak_core_multinode.dev3.config", "rel/vars/dev3.config"}.