Class: Rigger::ExecutionStrategy::SerialExecutionStrategy
Instance Method Summary
collapse
#initialize
Instance Method Details
#appropriate_strategy_for?(task) ⇒ Boolean
20
21
22
|
# File 'lib/rigger/execution_strategy.rb', line 20
def appropriate_strategy_for?(task)
task.options[:serial]
end
|
#call(task, servers, config, execution_service) ⇒ Object
14
15
16
17
18
|
# File 'lib/rigger/execution_strategy.rb', line 14
def call(task, servers, config, execution_service)
servers.each do |s|
super(task, [s], config, execution_service)
end
end
|