Class: Chef::Knife::ClodoServerReboot

Inherits:
Chef::Knife show all
Includes:
ClodoBase
Defined in:
lib/chef/knife/clodo_server_reboot.rb

Instance Method Summary collapse

Methods included from ClodoBase

#connection, included, #locate_config_value

Instance Method Details

#runObject



11
12
13
14
15
16
17
# File 'lib/chef/knife/clodo_server_reboot.rb', line 11

def run
  $stdout.sync = true

  @name_args.each do |server|
    connection.reboot_server(server)
  end
end