Class: CORL::Action::Build
- Inherits:
-
Plugin::CloudAction
- Object
- Plugin::CloudAction
- CORL::Action::Build
- Defined in:
- lib/CORL/action/build.rb
Instance Method Summary collapse
-
#configure ⇒ Object
—————————————————————————– Settings.
-
#execute ⇒ Object
—————————————————————————– Operations.
Methods inherited from Plugin::CloudAction
#execute_remote, #init_network, #namespace, #node_config, #node_exec, #node_ignore, #validate
Instance Method Details
#configure ⇒ Object
Settings
9 10 11 12 13 |
# File 'lib/CORL/action/build.rb', line 9 def configure super do codes :network_failure end end |
#execute ⇒ Object
Operations
18 19 20 21 22 23 24 25 26 27 |
# File 'lib/CORL/action/build.rb', line 18 def execute super do |node, network| if network && node info('corl.actions.build.start') node.build else myself.status = code.network_failure end end end |