Is there a way to run the following as root or under another user instead of the kitchen user?
describe file ()
…
Is there a way to run the following as root or under another user instead of the kitchen user?
describe file ()
…
kitchen-inspec
is always using the same user as test-kitchen to establish the connection. In case you need sudo, you can activate this in your kitchen.yml
verifier:
name: inspec
sudo: true
Further documentation is available at https://github.com/chef/kitchen-inspec#usage
Thanks.