Chef Test Kitchen – Verifications
There are a few gotchas I find trying to use test kitchen.
Hope this is the place
I try to run test kitchen inside a cookbook (using the single-repo-per-cookbook mentality), but then test kitchen fails to find the recipe and throws an error.
When I place the kitchen.yml outside the cookbook directory, it works just fine.
Can I somehow configure the base path for the kitchen to run from?
- Xdebug Netbeans Php Docker
- Root user inside Composer container
- How can I connect Sendmail MTA and PHP-FPM docker containers
- Passing arguments for Dockerfiles using Docker compose
- Dockerfile for adding volumes to a gerrit container
- gevent not valid running Docker Registry
When I try to login to a node in the kitchen list, it asks me for a password for kitchen@localhost. in whatever tutorial I’ve seen, including the test kitchen own site, a password was not required.
Just wondering, although it’s not fully related – I’m using the kitchen-docker driver, and I’m trying to have a base image in which chef is already installed. When I tried to do that manually it failed to ssh for some reason. Am I missing something?
One Solution collect form web for “Chef Test Kitchen – Verifications”
Thanks, the metadata was missing from the kitchen.yml file, so it didn’t add the current cookbook.
For future reference – not sure if it’s intended, but the password is “kitchen” for the user kitchen, and it can be set otherwise via driver config.
Probably something was wrong with the image.
Rebuilt and it worked perfect.
checkout https://gist.github.com/iwfmp/9631593 for an easy build.