You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you write a test that looks similar to below and you use kitchen verify/test this will fail with the curl error curl: can't find host localhost
describebash('curl -sS localhost:80/index.html')doits('stdout'){should_notmatch/HTTP Status 404/i}its('stderr'){shouldeq''}end
This does however work if you use the inspec cli and run inspec exec test.rb -t ssh://vagrant@127.0.0.1:2222/
I don't think I am missing anything and I can't get any more detailed pulled from the kitchen logs. Is this expected behavior or did I miss up a configuration
The text was updated successfully, but these errors were encountered:
If you write a test that looks similar to below and you use kitchen verify/test this will fail with the curl error
curl: can't find host localhost
This does however work if you use the inspec cli and run
inspec exec test.rb -t ssh://vagrant@127.0.0.1:2222/
I don't think I am missing anything and I can't get any more detailed pulled from the kitchen logs. Is this expected behavior or did I miss up a configuration
The text was updated successfully, but these errors were encountered: