This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Description
We are using test-kitchen 1.4.2 to test puppet code so we have no need to install Chef, instead using a custom Ruby install for the verifier:
provisioner:
name: puppet_apply
require_chef_for_busser: false
verifier:
ruby_bindir: '/opt/ruby-2.1/bin'
This means we don't have the ruby coming with chef. Since the SFTP transport is using a hardcoded path to ruby it is failing to get the checksums because that path doesn't exist. Please see:
https://github.com/coderanger/kitchen-sync/blob/master/lib/kitchen/transport/sftp.rb#L78
The error message we see is:
Message: Failed to complete #verify action: [757: unexpected token at 'bash: /opt/chef/embedded/bin/ruby: No such file or directory
']
We only see this happen on the verify step. converge seems unaffected (goes through the "fast path" logic each time).