Search code examples
integration-testingpuppetserverspecinspec

Use of InSpec with Puppet


I had been using ServerSpec for my integration testing with Chef.

Since ServerSpec is "deprecated" and InSpec is supported by Chef, I've change to use only InSpec, which is also supported in Puppet.

However I'm not 100% sure is InSpec is the best tool for integration testing with Puppet. Is there a better or more recommended solution?

How can I use inspec with Puppet?


Solution

  • Inspec is better than serverspec to do integration testing since it is more readable and helps to represent compliance as code. I use it with chef but Inspec is supported in puppet as well. You can refer the github link for examples