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.
Files changed (60) hide show
  1. data/Manifest.txt +28 -10
  2. data/bin/cloud +2 -2
  3. data/bin/cloud-provision +1 -1
  4. data/bin/cloud-run +19 -0
  5. data/bin/pool +2 -2
  6. data/bin/server-fire-cmd +16 -0
  7. data/bin/server-start-master +32 -0
  8. data/bin/server-start-node +32 -0
  9. data/lib/erlang/messenger/Rakefile +12 -0
  10. data/lib/erlang/messenger/ebin/master.app +19 -0
  11. data/lib/erlang/messenger/ebin/master_app.beam +0 -0
  12. data/lib/erlang/messenger/{lib/load_app.app → ebin/node.app} +6 -5
  13. data/lib/erlang/messenger/ebin/node_app.beam +0 -0
  14. data/lib/erlang/messenger/ebin/pm_client.beam +0 -0
  15. data/lib/erlang/messenger/ebin/pm_cluster.beam +0 -0
  16. data/lib/erlang/messenger/ebin/pm_event_handler.beam +0 -0
  17. data/lib/erlang/messenger/ebin/pm_master.beam +0 -0
  18. data/lib/erlang/messenger/ebin/pm_master_rel-0.1.rel +7 -0
  19. data/lib/erlang/messenger/ebin/pm_master_supervisor.beam +0 -0
  20. data/lib/erlang/messenger/ebin/pm_node.beam +0 -0
  21. data/lib/erlang/messenger/ebin/pm_node_rel-0.1.rel +7 -0
  22. data/lib/erlang/messenger/ebin/pm_node_supervisor.beam +0 -0
  23. data/lib/erlang/messenger/ebin/utils.beam +0 -0
  24. data/lib/erlang/messenger/pm_master_rel-0.1.boot +0 -0
  25. data/lib/erlang/messenger/pm_master_rel-0.1.script +169 -0
  26. data/lib/erlang/messenger/pm_node_rel-0.1.boot +0 -0
  27. data/lib/erlang/messenger/pm_node_rel-0.1.script +169 -0
  28. data/lib/erlang/messenger/src/master_app.erl +39 -0
  29. data/lib/erlang/messenger/src/node_app.erl +39 -0
  30. data/lib/erlang/messenger/src/pm_client.erl +14 -0
  31. data/lib/erlang/messenger/src/pm_cluster.erl +4 -1
  32. data/lib/erlang/messenger/src/pm_event_handler.erl +21 -0
  33. data/lib/erlang/messenger/src/pm_master.erl +113 -21
  34. data/lib/erlang/messenger/src/pm_master_supervisor.erl +33 -1
  35. data/lib/erlang/messenger/src/pm_node.erl +111 -65
  36. data/lib/erlang/messenger/src/pm_node_supervisor.erl +22 -15
  37. data/lib/erlang/messenger/src/utils.erl +45 -0
  38. data/lib/poolparty/base_packages/ruby.rb +1 -1
  39. data/lib/poolparty/helpers/console.rb +3 -2
  40. data/lib/poolparty/helpers/optioner.rb +6 -2
  41. data/lib/poolparty/helpers/provisioner_base.rb +5 -3
  42. data/lib/poolparty/helpers/provisioners/slave.rb +3 -0
  43. data/lib/poolparty/modules/resourcing_dsl.rb +4 -0
  44. data/lib/poolparty/net/remote_instance.rb +1 -1
  45. data/lib/poolparty/net/remoter.rb +11 -4
  46. data/lib/poolparty/plugins/git.rb +6 -12
  47. data/lib/poolparty/version.rb +1 -1
  48. data/poolparty.gemspec +4 -4
  49. data/spec/poolparty/bin/console_spec.rb +1 -1
  50. data/spec/poolparty/helpers/optioner_spec.rb +2 -1
  51. data/spec/poolparty/helpers/provisioner_base_spec.rb +1 -1
  52. data/spec/poolparty/helpers/provisioners/master_spec.rb +1 -1
  53. data/spec/poolparty/net/remote_spec.rb +51 -42
  54. data/spec/poolparty/pool/resources/gem_spec.rb +0 -1
  55. data/website/index.html +1 -1
  56. metadata +34 -13
  57. data/bin/pool-start-monitor +0 -1
  58. data/lib/erlang/messenger/ebin/erl_crash.dump +0 -12138
  59. data/lib/erlang/messenger/ebin/load_app.beam +0 -0
  60. data/lib/erlang/messenger/src/load_app.erl +0 -26
@@ -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).