Class: Topo::Provision::AwsMachineGenerator

Inherits:
MachineGenerator show all
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

Methods inherited from MachineGenerator

#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.



29
30
31
32
# File 'lib/topo/provision/aws/generators/machine.rb', line 29

def initialize(data)
  super
  @machine_options = convert_keys_to_sym_deep(@machine_options) if @machine_options
end