Class: ForemanSalt::SaltProvider
- Inherits:
-
RemoteExecutionProvider
- Object
- RemoteExecutionProvider
- ForemanSalt::SaltProvider
- Defined in:
- app/models/foreman_salt/salt_provider.rb
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
12 13 14 |
# File 'app/models/foreman_salt/salt_provider.rb', line 12 def humanized_name 'Salt' end |
.proxy_command_options(template_invocation, host) ⇒ Object
16 17 18 |
# File 'app/models/foreman_salt/salt_provider.rb', line 16 def (template_invocation, host) super(template_invocation, host).merge(name: host.name) end |
.proxy_operation_name ⇒ Object
8 9 10 |
# File 'app/models/foreman_salt/salt_provider.rb', line 8 def proxy_operation_name 'salt' end |
.ssh_key_passphrase(_host) ⇒ Object
23 24 |
# File 'app/models/foreman_salt/salt_provider.rb', line 23 def ssh_key_passphrase(_host) end |
.ssh_password(_host) ⇒ Object
20 21 |
# File 'app/models/foreman_salt/salt_provider.rb', line 20 def ssh_password(_host) end |
.sudo_password(_host) ⇒ Object
26 27 |
# File 'app/models/foreman_salt/salt_provider.rb', line 26 def sudo_password(_host) end |
.supports_effective_user? ⇒ Boolean
4 5 6 |
# File 'app/models/foreman_salt/salt_provider.rb', line 4 def supports_effective_user? true end |