Class: ForemanAcd::AcdProvider
- Inherits:
-
RemoteExecutionProvider
- Object
- RemoteExecutionProvider
- ForemanAcd::AcdProvider
- Defined in:
- app/models/foreman_acd/acd_provider.rb
Overview
Implement a RemoteExecutionProvider
Class Method Summary collapse
- .humanized_name ⇒ Object
- .proxy_command_options(template_invocation, host) ⇒ Object
- .proxy_operation_name ⇒ Object
- .ssh_key_passphrase(_host) ⇒ Object
- .ssh_password(_host) ⇒ Object
- .sudo_password(_host) ⇒ Object
- .supports_effective_user? ⇒ Boolean
Class Method Details
.humanized_name ⇒ Object
15 16 17 |
# File 'app/models/foreman_acd/acd_provider.rb', line 15 def humanized_name 'ACD' end |
.proxy_command_options(template_invocation, host) ⇒ Object
19 20 21 |
# File 'app/models/foreman_acd/acd_provider.rb', line 19 def (template_invocation, host) super(template_invocation, host).merge(:name => host.name) end |
.proxy_operation_name ⇒ Object
11 12 13 |
# File 'app/models/foreman_acd/acd_provider.rb', line 11 def proxy_operation_name 'acd' end |
.ssh_key_passphrase(_host) ⇒ Object
26 27 |
# File 'app/models/foreman_acd/acd_provider.rb', line 26 def ssh_key_passphrase(_host) end |
.ssh_password(_host) ⇒ Object
23 24 |
# File 'app/models/foreman_acd/acd_provider.rb', line 23 def ssh_password(_host) end |
.sudo_password(_host) ⇒ Object
29 30 |
# File 'app/models/foreman_acd/acd_provider.rb', line 29 def sudo_password(_host) end |
.supports_effective_user? ⇒ Boolean
7 8 9 |
# File 'app/models/foreman_acd/acd_provider.rb', line 7 def supports_effective_user? true end |