Kitchen tests which require multiple VMs?

Is there any way to use Kitchen to test cookbook for distributed software that requires multiple nodes to complete tests?

Not currently, but there’s a Chef RFC for working on it here:

Matt Ray
Manager, Solutions Architect - APJ :: Chef
AUS: +61 457 231 372
US: +1 512 731 2218
mattray :: GitHub :: IRC :: Slack :: Twitter

In the mean time, take a look at the kitchen testing in

In this cookbook, I converge several nodes, verify via the last node, then destroy all nodes.


Thanks for the update. Wondering if anyone has ever tried just creating a VM with a Chef Server and several VMs with chef-clients? Thought I would try this approach first since I want to have Jenkins test cookbooks as soon as possible. I also thought having a VM to use as a QA Chef Server would help so cookbooks could be upload then tested before actually uploading them to the production Chef Server?

Thanks Grant. I’ll take a look chef-gluster and see if it looks useful for my needs.