lib/poise_boiler/helpers/kitchen.rb
# Generate a Test Kitchen transport configuration hash.
#
# @return [Hash]
Generate a Test Kitchen transport configuration hash.
Generate a Test Kitchen transport configuration hash .
def transport_config
        {
          'name' => 'sftp',
          'ssh_key' => case kitchen_driver
                       when 'docker'
                         "#{base}/.kitchen/docker_id_rsa"
                       when 'ec2'
                         "#{base}/test/ec2/ssh.key"
                       else
                         nil
                       end,
        }
      end
def transport_config { 'name' => 'sftp' , 'ssh_key' => case kitchen_driver when 'docker' "#{base}/.kitchen/docker_id_rsa" when 'ec2' "#{base}/test/ec2/ssh.key" else nil end , } end
Generate a Test Kitchen transport configuration hash.
Generate a Test Kitchen transport configuration hash .
# Use the sftp transport from kitchen-sync. # Use the SSH key for this driver.
None
Hash