Class: Gaptool::InitCommand

Inherits:
Clamp::Command
  • Object
show all
Defined in:
lib/gaptool-client.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



109
110
111
112
113
114
# File 'lib/gaptool-client.rb', line 109

def execute
  no_terminate = no_terminate? ? true : nil
  $api.addnode(zone, type, role, environment, nil,
               security_group, ami, chef_repo, chef_branch, chef_runlist,
               no_terminate)
end