Module: Mccloud::EnvironmentCommand
- Included in:
- Environment
- Defined in:
- lib/mccloud/command/provider.rb
Instance Method Summary collapse
- #boot(selection = nil, options = nil) ⇒ Object
- #bootstrap(selection = nil, options = nil) ⇒ Object
- #halt(selection, options) ⇒ Object
- #rsync(selection, path, options) ⇒ Object
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,=nil) @config.providers.each do |name,provider| provider.boot(selection,command,) 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,=nil) @config.providers.each do |name,provider| provider.bootstrap(selection,) end end |
#halt(selection, options) ⇒ Object
16 17 18 19 20 |
# File 'lib/mccloud/command/provider.rb', line 16 def halt(selection,) @config.providers.each do |name,provider| provider.halt(selection,) end end |
#rsync(selection, path, options) ⇒ Object
22 23 24 25 26 |
# File 'lib/mccloud/command/provider.rb', line 22 def rsync(selection,path,) @config.providers.each do |name,provider| provider.rsync(selection,path,) end end |