Module: Katello::Concerns::RemoteExecutionProxySelectorExtensions

Defined in:
app/models/katello/concerns/remote_execution_proxy_selector_extensions.rb

Instance Method Summary collapse

Instance Method Details

#strategiesObject



4
5
6
7
8
# File 'app/models/katello/concerns/remote_execution_proxy_selector_extensions.rb', line 4

def strategies
  order = [super, [:registered_through]]
  order = order.reverse if Setting[:remote_execution_prefer_registered_through_proxy]
  order.reduce(:+)
end