Class: ForemanAcd::AcdProvider

Inherits:
RemoteExecutionProvider
  • Object
show all
Defined in:
app/models/foreman_acd/acd_provider.rb

Overview

Implement a RemoteExecutionProvider

Class Method Summary collapse

Class Method Details

.humanized_nameObject



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

.proxy_operation_nameObject



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

Returns:

  • (Boolean)


7
8
9
# File 'app/models/foreman_acd/acd_provider.rb', line 7

def supports_effective_user?
  true
end