Class: PuppetX::Relay::Agent::Backend::SSH

Inherits:
Process
  • Object
show all
Defined in:
lib/puppet_x/relay/agent/backend/ssh.rb

Instance Attribute Summary

Attributes inherited from Base

#relay_api

Instance Method Summary collapse

Methods inherited from Process

#exec

Methods inherited from Base

#exec

Constructor Details

#initialize(relay_api, ssh_command: nil) ⇒ SSH

Returns a new instance of SSH.

Parameters:

  • ssh_command (Array<String>) (defaults to: nil)


12
13
14
15
# File 'lib/puppet_x/relay/agent/backend/ssh.rb', line 12

def initialize(relay_api, ssh_command: nil)
  super(relay_api)
  @ssh_command = ssh_command || ['ssh']
end