Sha256: 883f9a2acc36530fa374ecde2b5add7acf13cd666e155c43cb9758c5a52a5ef3
Contents?: true
Size: 529 Bytes
Versions: 1
Compression:
Stored size: 529 Bytes
Contents
class RemoteExecutionProvider class << self def provider_for(type) providers[type.to_s] || providers[:Ssh] end def providers @providers ||= { }.with_indifferent_access end def register(key, klass) providers[key.to_sym] = klass end def provider_names providers.keys.map(&:to_s) end def proxy_command_options(template_invocation, host) {} end def humanized_name self.name end def supports_effective_user? false end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_remote_execution-0.1.2 | app/models/remote_execution_provider.rb |