Sha256: 671428a62da4b980a4586f5d009dec69eb927682b0204955cb909b4b39c89e7f
Contents?: true
Size: 754 Bytes
Versions: 6
Compression:
Stored size: 754 Bytes
Contents
# # Run a RightScript on an array # module Chimp class ExecArray < Executor def run run_with_retry do audit_entry = [] options = @inputs audit_entry = @array.run_script_on_instances(@exec, @server['href'], options) if audit_entry audit_entry.each do |a| a.wait_for_completed end else Log.warn "No audit entries returned for job_id=#{@job_id}" end end end def describe_work return "ExecArray job_id=#{@job_id} script=\"#{@exec['right_script']['name']}\" server=\"#{@server['nickname']}\"" end def info return @exec['right_script']['name'] end def target return @server['nickname'] end end end
Version data entries
6 entries across 6 versions & 1 rubygems