Sha256: 7cfc5ed73ba1741233e85017822014852ebc383b06bb398ac1aa4003e5006e9a
Contents?: true
Size: 527 Bytes
Versions: 19
Compression:
Stored size: 527 Bytes
Contents
module Rundock module Operation class Task < Base def run(backend, attributes = {}) @instruction.each do |i| unless attributes[:task_info].key?(i.to_sym) Logger.warn("task not found and ignored: #{i}") next end scenario = Rundock::Builder::ScenarioBuilder.new(nil, nil).build_task( attributes[:task_info][i.to_sym], backend, Rundock::Attribute::NodeAttribute.new(attributes)) scenario.run end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems