Class: Rigger::ExecutionStrategy::SingleExecutionStrategy
Instance Method Summary
collapse
#initialize
Instance Method Details
#appropriate_strategy_for?(task) ⇒ Boolean
30
31
32
|
# File 'lib/rigger/execution_strategy.rb', line 30
def appropriate_strategy_for?(task)
task.options[:single]
end
|
#call(task, servers, config, execution_service) ⇒ Object
26
27
28
|
# File 'lib/rigger/execution_strategy.rb', line 26
def call(task, servers, config, execution_service)
super(task, [servers.first], config, execution_service)
end
|