Class: Topo::Provision::AwsMachineGenerator
- Inherits:
-
MachineGenerator
- Object
- ResourceGenerator
- MachineGenerator
- Topo::Provision::AwsMachineGenerator
- Defined in:
- lib/topo/provision/aws/generators/machine.rb
Instance Attribute Summary
Attributes inherited from MachineGenerator
#lazy_attributes, #machine_options, #normal_attributes
Attributes inherited from ResourceGenerator
#name, #resource_attributes, #resource_type, #undeploy_action
Instance Method Summary collapse
-
#initialize(data) ⇒ AwsMachineGenerator
constructor
A new instance of AwsMachineGenerator.
-
#stop ⇒ Object
AWS driver doesnt currently support stop.
Methods inherited from ResourceGenerator
#default_action, #default_resource_template, #deploy, #do_action, #template, #template_root_dir, #undeploy
Methods included from Topo::ParseGen
#convert_keys_to_sym, #convert_keys_to_sym_deep, #expand_ref, #lazy_attribute_to_s, #topo_refs, #value_from_path
Constructor Details
#initialize(data) ⇒ AwsMachineGenerator
Returns a new instance of AwsMachineGenerator.
26 27 28 29 |
# File 'lib/topo/provision/aws/generators/machine.rb', line 26 def initialize(data) super @machine_options = convert_keys_to_sym_deep(@machine_options) if @machine_options end |
Instance Method Details
#stop ⇒ Object
AWS driver doesnt currently support stop
32 33 34 |
# File 'lib/topo/provision/aws/generators/machine.rb', line 32 def stop() default_action('stop') end |