module MotherBrain::Mixin::Services::ClassMethods

Public Instance Methods

bootstrap_manager() click to toggle source

@raise [Celluloid::DeadActorError] if the bootstrap manager has not been started

@return [Celluloid::Actor(Bootstrap::Manager)]

# File lib/mb/mixin/services.rb, line 21
def bootstrap_manager
  Bootstrap::Manager.instance
end
Also aliased as: bootstrapper
bootstrapper()
Alias for: bootstrap_manager
chef_connection()
Alias for: ridley
command_invoker() click to toggle source

@raise [Celluloid::DeadActorError] if command invoker has not been started

@return [Celluloid::Actor(CommandInvoker)]

# File lib/mb/mixin/services.rb, line 29
def command_invoker
  CommandInvoker.instance
end
config_manager() click to toggle source

@raise [Celluloid::DeadActorError] if the config manager has not been started

@return [Celluloid::Actor(ConfigManager)]

# File lib/mb/mixin/services.rb, line 36
def config_manager
  ConfigManager.instance
end
environment_manager() click to toggle source

@raise [Celluloid::DeadActorError] if the environment manager has not been started

@return [Celluloid::Actor(EnvironmentManager)]

# File lib/mb/mixin/services.rb, line 43
def environment_manager
  EnvironmentManager.instance
end
job_manager() click to toggle source

@raise [Celluloid::DeadActorError] if the job manager has not been started

@return [Celluloid::Actor(JobManager)]

# File lib/mb/mixin/services.rb, line 50
def job_manager
  JobManager.instance
end
lock_manager() click to toggle source

@raise [Celluloid::DeadActorError] if the lock manager has not been started

@return [Celluloid::Actor(LockManager)]

# File lib/mb/mixin/services.rb, line 57
def lock_manager
  LockManager.instance
end
node_querier() click to toggle source

@raise [Celluloid::DeadActorError] if the node querier has not been started

@return [Celluloid::Actor(NodeQuerier)]

# File lib/mb/mixin/services.rb, line 64
def node_querier
  NodeQuerier.instance
end
plugin_manager() click to toggle source

@raise [Celluloid::DeadActorError] if the plugin manager has not been started

@return [Celluloid::Actor(PluginManager)]

# File lib/mb/mixin/services.rb, line 71
def plugin_manager
  PluginManager.instance
end
provisioner()
Alias for: provisioner_manager
provisioner_manager() click to toggle source

@raise [Celluloid::DeadActorError] if the provisioner manager has not been started

@return [Celluloid::Actor(Provisioner::Manager)]

# File lib/mb/mixin/services.rb, line 78
def provisioner_manager
  Provisioner::Manager.instance
end
Also aliased as: provisioner
ridley() click to toggle source

@raise [Celluloid::DeadActorError] if Ridley has not been started

@return [Celluloid::Actor(Ridley::Connection)]

# File lib/mb/mixin/services.rb, line 86
def ridley
  MB::Application[:ridley] or raise Celluloid::DeadActorError, "Ridley not running"
end
Also aliased as: chef_connection
upgrade_manager() click to toggle source

@raise [Celluloid::DeadActorError] if the upgrade manager has not been started

@return [Celluloid::Actor(Upgrade::Manager)]

# File lib/mb/mixin/services.rb, line 94
def upgrade_manager
  Upgrade::Manager.instance
end