Module: MotherBrain::Mixin::Services::ClassMethods
- Defined in:
- lib/mb/mixin/services.rb
Instance Method Summary collapse
- #bootstrap_manager ⇒ Celluloid::Actor(Bootstrap::Manager) (also: #bootstrapper)
- #command_invoker ⇒ Celluloid::Actor(CommandInvoker)
- #config_manager ⇒ Celluloid::Actor(ConfigManager)
- #environment_manager ⇒ Celluloid::Actor(EnvironmentManager)
- #job_manager ⇒ Celluloid::Actor(JobManager)
- #lock_manager ⇒ Celluloid::Actor(LockManager)
- #node_querier ⇒ Celluloid::Actor(NodeQuerier)
- #plugin_manager ⇒ Celluloid::Actor(PluginManager)
- #provisioner_manager ⇒ Celluloid::Actor(Provisioner::Manager) (also: #provisioner)
- #ridley ⇒ Celluloid::Actor(Ridley::Connection) (also: #chef_connection)
- #upgrade_manager ⇒ Celluloid::Actor(Upgrade::Manager)
Instance Method Details
#bootstrap_manager ⇒ Celluloid::Actor(Bootstrap::Manager) Also known as: bootstrapper
21 22 23 |
# File 'lib/mb/mixin/services.rb', line 21 def bootstrap_manager Bootstrap::Manager.instance end |
#command_invoker ⇒ Celluloid::Actor(CommandInvoker)
29 30 31 |
# File 'lib/mb/mixin/services.rb', line 29 def command_invoker CommandInvoker.instance end |
#config_manager ⇒ Celluloid::Actor(ConfigManager)
36 37 38 |
# File 'lib/mb/mixin/services.rb', line 36 def config_manager ConfigManager.instance end |
#environment_manager ⇒ Celluloid::Actor(EnvironmentManager)
43 44 45 |
# File 'lib/mb/mixin/services.rb', line 43 def environment_manager EnvironmentManager.instance end |
#job_manager ⇒ Celluloid::Actor(JobManager)
50 51 52 |
# File 'lib/mb/mixin/services.rb', line 50 def job_manager JobManager.instance end |
#lock_manager ⇒ Celluloid::Actor(LockManager)
57 58 59 |
# File 'lib/mb/mixin/services.rb', line 57 def lock_manager LockManager.instance end |
#node_querier ⇒ Celluloid::Actor(NodeQuerier)
64 65 66 |
# File 'lib/mb/mixin/services.rb', line 64 def node_querier NodeQuerier.instance end |
#plugin_manager ⇒ Celluloid::Actor(PluginManager)
71 72 73 |
# File 'lib/mb/mixin/services.rb', line 71 def plugin_manager PluginManager.instance end |
#provisioner_manager ⇒ Celluloid::Actor(Provisioner::Manager) Also known as: provisioner
78 79 80 |
# File 'lib/mb/mixin/services.rb', line 78 def provisioner_manager Provisioner::Manager.instance end |
#ridley ⇒ Celluloid::Actor(Ridley::Connection) Also known as: chef_connection
86 87 88 |
# File 'lib/mb/mixin/services.rb', line 86 def ridley MB::Application[:ridley] or raise Celluloid::DeadActorError, "Ridley not running" end |
#upgrade_manager ⇒ Celluloid::Actor(Upgrade::Manager)
94 95 96 |
# File 'lib/mb/mixin/services.rb', line 94 def upgrade_manager Upgrade::Manager.instance end |