Class: Chef::WhiskServerList

Inherits:
Knife
  • Object
show all
Includes:
Knife::WhiskBase
Defined in:
lib/chef/knife/knife-whisk.rb

Instance Method Summary collapse

Methods included from Knife::WhiskBase

#add_quotes, #exit_with_message, #get_config, #get_security_groups, included, #mixin_exists?, #security_group_exists?, #server_exists?

Instance Method Details

#runObject



81
82
83
84
85
86
# File 'lib/chef/knife/knife-whisk.rb', line 81

def run
  exit_with_message("Required whisk.yml does not exist") unless get_config
  get_config["servers"].each do |server|
    puts server.first
  end
end