Bryan Berry gave a talk at FOSDEM a couple of days ago about integration testing for infrastructure (https://speakerdeck.com/bryanwb/dont-shrug-integration-testing-for-infrastructure-with-ruby-frameworks). He talked about a tool that's come out of the Chef community called Test Kitchen, and pointed out it should be possible to use it to test Puppet code too.
I've put together a quick demo of doing that here: https://github.com/garethr/tk-demo-puppet The demo brings up two virtual machines, applies a set of puppet manifests and then runs some tests to assert things worked - all in one command and with limited configuration. The open issue on test kitchen for the multi provisioner support is ere https://github.com/opscode/test-kitchen/issues/36 Any feedback welcome. At the moment it's a proof of concept, but I'd like to see it exist for real. Or if anyone has a good approach to this problem already I'd love to see it? Cheers Gareth -- Gareth Rushgrove Web Geek morethanseven.net garethrushgrove.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
