-
Notifications
You must be signed in to change notification settings - Fork 44
/
riak_core_multinode.template
35 lines (31 loc) · 1.87 KB
/
riak_core_multinode.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{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"}.