Class: PuppetX::Relay::Agent::Backend::Bolt
- Defined in:
- lib/puppet_x/relay/agent/backend/bolt.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(relay_api, bolt_command: nil, ssh_user: nil, ssh_password: nil, ssh_host_key_check: nil) ⇒ Bolt
constructor
A new instance of Bolt.
Methods inherited from Process
Methods inherited from Base
Constructor Details
#initialize(relay_api, bolt_command: nil, ssh_user: nil, ssh_password: nil, ssh_host_key_check: nil) ⇒ Bolt
Returns a new instance of Bolt.
14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/puppet_x/relay/agent/backend/bolt.rb', line 14 def initialize(relay_api, bolt_command: nil, ssh_user: nil, ssh_password: nil, ssh_host_key_check: nil) super(relay_api) @bolt_command = bolt_command || ['bolt'] @ssh_user = ssh_user || 'root' @ssh_password = ssh_password @ssh_host_key_check = ssh_host_key_check.nil? ? true : ssh_host_key_check end |