Module: Mccloud::EnvironmentCommand

Included in:
Environment
Defined in:
lib/mccloud/command/provider.rb

Instance Method Summary collapse

Instance Method Details

#boot(selection = nil, options = nil) ⇒ Object



4
5
6
7
8
# File 'lib/mccloud/command/provider.rb', line 4

def boot(selection=nil,options=nil)
  @config.providers.each do |name,provider|
    provider.boot(selection,command,options)
  end
end

#bootstrap(selection = nil, options = nil) ⇒ Object



10
11
12
13
14
# File 'lib/mccloud/command/provider.rb', line 10

def bootstrap(selection=nil,options=nil)
  @config.providers.each do |name,provider|
    provider.bootstrap(selection,options)
  end
end

#halt(selection, options) ⇒ Object



16
17
18
19
20
# File 'lib/mccloud/command/provider.rb', line 16

def halt(selection,options)
  @config.providers.each do |name,provider|
    provider.halt(selection,options)
  end
end

#rsync(selection, path, options) ⇒ Object



22
23
24
25
26
# File 'lib/mccloud/command/provider.rb', line 22

def rsync(selection,path,options)
  @config.providers.each do |name,provider|
    provider.rsync(selection,path,options)
  end
end