23 24 25 26 27 28 29
# File 'lib/chef/knife/goiardi_job_status.rb', line 23 def run rest = Chef::REST.new(Chef::Config[:chef_server_url]) job_id = name_args[0] job = rest.get_rest("shovey/jobs/#{job_id}") output(job) end