Class: Kitchen::Transport::SpeedySsh

Inherits:
Ssh
  • Object
show all
Includes:
SpeedyBase
Defined in:
lib/kitchen/transport/speedy_ssh.rb

Defined Under Namespace

Classes: Connection

Instance Method Summary collapse

Methods included from SpeedyBase

#create_new_connection

Instance Method Details

#finalize_config!(instance) ⇒ Object



11
12
13
14
15
16
17
18
19
# File 'lib/kitchen/transport/speedy_ssh.rb', line 11

def finalize_config!(instance)
  super.tap do
    if defined?(Kitchen::Verifier::Inspec) && instance.verifier.is_a?(Kitchen::Verifier::Inspec)
      instance.verifier.send(:define_singleton_method, :runner_options_for_speedyssh) do |config_data|
        runner_options_for_ssh(config_data)
      end
    end
  end
end

#log_prefixObject



21
22
23
# File 'lib/kitchen/transport/speedy_ssh.rb', line 21

def log_prefix
  "SSH"
end