P
P
porzione2015-01-15 00:22:44
Chef
porzione, 2015-01-15 00:22:44

What to try instead of test-kitchen to test chef cookbooks?

test-kitchen can only lift one car, although people have been asking for another for a long time. Vagrant can do a few, but it takes too long to run 5 guests on virtualbox even on decent hardware. Probably the docker option remains, but it turns out to be a rather complicated configuration, and in order to pass this on to developers who just want to see "all tests passed" and don't want to know how it works there, they will have to write their own version of test-kitchen. For which, as usual, there is no time.
Surely someone has come across a similar one - how to do it with little bloodshed? Quickly raise 5 vagrant boxes with a network, set a chef and run a few simple tests?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vvchik, 2015-01-16
@vvchik

You can try the plugin for vagrant https://github.com/jvoorhis/vagrant-serverspec
it is focused on serverspec1, so if you need to work with the second version you can use my fork
https://github.com/vvchik/vagrant-serverspec/tree/ ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question