Class: Knifecosmic::CosmicServerUpdate

Inherits:
Chef::Knife show all
Includes:
Chef::Knife::KnifecosmicBase
Defined in:
lib/chef/knife/cosmic_server_update.rb

Instance Method Summary collapse

Methods included from Chef::Knife::KnifecosmicBase

included

Instance Method Details

#runObject



36
37
38
39
40
41
42
43
44
# File 'lib/chef/knife/cosmic_server_update.rb', line 36

def run
  validate_base_options

  params = {}
  for key in config.keys
    params["#{key}"] = config[:"#{key}"]
  end
  @server = connection.server_update(params)
end