class Chef::Knife::MaasServerStart

Public Instance Methods

run() click to toggle source
# File lib/chef/knife/maas_server_start.rb, line 15
def run
  unless system_id = locate_config_value(:system_id) || name_args[0]
    ui.error('You must provide the system id of the node')
  end
  print_node_status(client.start_node(system_id))
end