Sha256: 15a53f476f75b594c6eade4a6952ff19244839fe1558ba3e2eb79ae24b1b0761
Contents?: true
Size: 886 Bytes
Versions: 7
Compression:
Stored size: 886 Bytes
Contents
# # Run a RightScript on an array # module Chimp class ExecArray < Executor def run run_with_retry do options = @inputs if @timeout < 300 Log.error 'timeout was less than 5 minutes! resetting to 5 minutes' @timeout = 300 end audit_entry = @array.run_script_on_instances(@exec, @server['href'], options) if audit_entry audit_entry.each do |a| a.wait_for_completed('no audit link available', @timeout) end else Log.warn "No audit entries returned for job_id=#{@job_id}" end end end def describe_work "ExecArray job_id=#{@job_id} script=\"#{@exec['right_script']['name']}\" server=\"#{@server['nickname']}\"" end def info @exec['right_script']['name'] end def target @server['nickname'] end end end
Version data entries
7 entries across 7 versions & 1 rubygems