auser-poolparty 0.2.15 → 0.2.16
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest.txt +28 -10
- data/bin/cloud +2 -2
- data/bin/cloud-provision +1 -1
- data/bin/cloud-run +19 -0
- data/bin/pool +2 -2
- data/bin/server-fire-cmd +16 -0
- data/bin/server-start-master +32 -0
- data/bin/server-start-node +32 -0
- data/lib/erlang/messenger/Rakefile +12 -0
- data/lib/erlang/messenger/ebin/master.app +19 -0
- data/lib/erlang/messenger/ebin/master_app.beam +0 -0
- data/lib/erlang/messenger/{lib/load_app.app → ebin/node.app} +6 -5
- data/lib/erlang/messenger/ebin/node_app.beam +0 -0
- data/lib/erlang/messenger/ebin/pm_client.beam +0 -0
- data/lib/erlang/messenger/ebin/pm_cluster.beam +0 -0
- data/lib/erlang/messenger/ebin/pm_event_handler.beam +0 -0
- data/lib/erlang/messenger/ebin/pm_master.beam +0 -0
- data/lib/erlang/messenger/ebin/pm_master_rel-0.1.rel +7 -0
- data/lib/erlang/messenger/ebin/pm_master_supervisor.beam +0 -0
- data/lib/erlang/messenger/ebin/pm_node.beam +0 -0
- data/lib/erlang/messenger/ebin/pm_node_rel-0.1.rel +7 -0
- data/lib/erlang/messenger/ebin/pm_node_supervisor.beam +0 -0
- data/lib/erlang/messenger/ebin/utils.beam +0 -0
- data/lib/erlang/messenger/pm_master_rel-0.1.boot +0 -0
- data/lib/erlang/messenger/pm_master_rel-0.1.script +169 -0
- data/lib/erlang/messenger/pm_node_rel-0.1.boot +0 -0
- data/lib/erlang/messenger/pm_node_rel-0.1.script +169 -0
- data/lib/erlang/messenger/src/master_app.erl +39 -0
- data/lib/erlang/messenger/src/node_app.erl +39 -0
- data/lib/erlang/messenger/src/pm_client.erl +14 -0
- data/lib/erlang/messenger/src/pm_cluster.erl +4 -1
- data/lib/erlang/messenger/src/pm_event_handler.erl +21 -0
- data/lib/erlang/messenger/src/pm_master.erl +113 -21
- data/lib/erlang/messenger/src/pm_master_supervisor.erl +33 -1
- data/lib/erlang/messenger/src/pm_node.erl +111 -65
- data/lib/erlang/messenger/src/pm_node_supervisor.erl +22 -15
- data/lib/erlang/messenger/src/utils.erl +45 -0
- data/lib/poolparty/base_packages/ruby.rb +1 -1
- data/lib/poolparty/helpers/console.rb +3 -2
- data/lib/poolparty/helpers/optioner.rb +6 -2
- data/lib/poolparty/helpers/provisioner_base.rb +5 -3
- data/lib/poolparty/helpers/provisioners/slave.rb +3 -0
- data/lib/poolparty/modules/resourcing_dsl.rb +4 -0
- data/lib/poolparty/net/remote_instance.rb +1 -1
- data/lib/poolparty/net/remoter.rb +11 -4
- data/lib/poolparty/plugins/git.rb +6 -12
- data/lib/poolparty/version.rb +1 -1
- data/poolparty.gemspec +4 -4
- data/spec/poolparty/bin/console_spec.rb +1 -1
- data/spec/poolparty/helpers/optioner_spec.rb +2 -1
- data/spec/poolparty/helpers/provisioner_base_spec.rb +1 -1
- data/spec/poolparty/helpers/provisioners/master_spec.rb +1 -1
- data/spec/poolparty/net/remote_spec.rb +51 -42
- data/spec/poolparty/pool/resources/gem_spec.rb +0 -1
- data/website/index.html +1 -1
- metadata +34 -13
- data/bin/pool-start-monitor +0 -1
- data/lib/erlang/messenger/ebin/erl_crash.dump +0 -12138
- data/lib/erlang/messenger/ebin/load_app.beam +0 -0
- data/lib/erlang/messenger/src/load_app.erl +0 -26
Binary file
|
@@ -1,26 +0,0 @@
|
|
1
|
-
-module (load_app).
|
2
|
-
|
3
|
-
-ifdef(EUNIT).
|
4
|
-
-include_lib("eunit/include/eunit.hrl").
|
5
|
-
-endif.
|
6
|
-
|
7
|
-
-behaviour (application).
|
8
|
-
|
9
|
-
-export ([start/0, start/2, stop/1]).
|
10
|
-
|
11
|
-
start() ->
|
12
|
-
io:format("application:start/1 starting...~n"),
|
13
|
-
application:start(?MODULE).
|
14
|
-
|
15
|
-
start(_Type, _) ->
|
16
|
-
io:format("Starting load_app~n"),
|
17
|
-
case load_supervisor:start_link() of
|
18
|
-
{ok, Pid} ->
|
19
|
-
{ok, Pid};
|
20
|
-
Error ->
|
21
|
-
Error
|
22
|
-
end.
|
23
|
-
|
24
|
-
stop(State) ->
|
25
|
-
io:format("Error: ~p~n", State),
|
26
|
-
exit(whereis(load_supervisor), shutdown).
|