I'm trying to use kitchen to automate testing of chef recipes and of vagrant environments, but when I run kitchen it ignores the Vagrantfile that is present and does everything based on the .kitchen.yml file. I was wondering if anyone knows of a way to tell kitchen to use the Vagrantfile in setting up the vagrant vm.
Thanks.
You can pass a Vagrantfile template to it like this. See the default template for an example.
The idea anyway is to normally configure everything via .kitchen.yml (and .kitchen.local.yml). They are also rendered with Erb, so you can even add ruby logic into them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With