Kitchen proxy driver sudo dependency

#1

Hi, I am trying to use the proxy driver for kitchen to test an AIX server. I seem to be connecting ok and the converge starts but then I fall foul of a dependency on sudo for some reason and I cant work out how to get around it.

The error is as below
-----> Starting Kitchen (v1.23.2)
-----> Cleaning up any prior instances of
-----> Destroying ...
Finished destroying (0m0.00s).
-----> Testing
-----> Creating ...
Resetting instance state with command: exit 0
Finished creating (0m0.38s).
-----> Converging ...
$$$$$$ Running legacy converge for 'Proxy' Driver
Preparing files for transfer
Preparing dna.json
Resolving cookbook dependencies with Berkshelf 7.0.6...
Removing non-cookbook files before transfer
Preparing validation.pem
Preparing client.rb
sh[7]: sudo: not found.
Transferring files to
sh[3]: sudo: not found.

my yml looks something like this

driver:
name: proxy
host: my.aix.server.fqdn
reset_command: "exit 0"
port: 22
username: aixrootuser
ssh_key: /home/testuser/.ssh/id_rsa

provisioner:
name: chef_zero
log_level: debug
product_name: chef
install_strategy: skip

verifier:
name: inspec

platforms:

  • name: aix

suites:

  • name: aix_server_tests
    run_list:
    • recipe[mycookbook::test_dummy]
      verifier:
      inspec_tests:
      • spec/server
        attributes:

any pointers would be very much apprecaited.
thanks
Paul