Class: AMI::Definition

Inherits:
Object
  • Object
show all
Defined in:
lib/ami/definition.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.inherited(subclass) ⇒ Object



16
17
18
# File 'lib/ami/definition.rb', line 16

def self.inherited(subclass)
  AMI::Core.register_ami(subclass)
end

Instance Method Details

#configure(ssh, config) ⇒ Object

Configures the AMI as required



9
10
# File 'lib/ami/definition.rb', line 9

def configure(ssh, config)
end

#create_ami(ssh, config) ⇒ Object

Creates the AMI via the ssh connection on the provided instance



13
14
# File 'lib/ami/definition.rb', line 13

def create_ami(ssh, config)
end

#server(server) ⇒ Object

Passed an object describing the server to use



5
6
# File 'lib/ami/definition.rb', line 5

def server(server)
end