Class: ForemanSalt::SaltProvider

Inherits:
RemoteExecutionProvider
  • Object
show all
Defined in:
app/models/foreman_salt/salt_provider.rb

Class Method Summary collapse

Class Method Details

.humanized_nameObject



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 proxy_command_options(template_invocation, host)
  super(template_invocation, host).merge(name: host.name)
end

.proxy_operation_nameObject



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

Returns:

  • (Boolean)


4
5
6
# File 'app/models/foreman_salt/salt_provider.rb', line 4

def supports_effective_user?
  true
end