test-kitchen doesn't support multi vm tasks, I tried to define a few nodes in Vagrantfile but it is too slow - start 5 virtual virtualbox VMs at once. Perhaps I need to use docker but the whole configuration becomes too complex, especially comparing usual test-kitchen setup. What's the easiest way to test chef cookbooks with 4-5 separate linux nodes? For example: 2 rails apps, postgresql, solr, nginx.
Asked
Active
Viewed 919 times
2 Answers
0
As you just said, kitchen doesn't support any kind of multi-node testing. Using something like CloudFormation or Heat is probably your best bet to quickly spin up whole test stacks, and then use Serverspec's remote mode to write tests.

coderanger
- 52,400
- 4
- 52
- 75
0
As mentioned in Issue #184, Test Kitchen is not designed to do tests like that. You might want to look into Leibniz. I haven't used it myself yet, but from what I understand, it might be what you're looking for.

sho
- 1
- 1