Testing infrastructure as code in Chef

Although one of the top best practices for DevOps is automated testing, there is still a large number of DevOps teams applying changes directly on production without thorough testing.  Some teams have a separate preproduction environment, which is a good first step, but so much more can be done in making sure your infrastructure code will be correct and reliable. Using a simple Chef cookbook as an example, you will see how you can create unit, integration, and functional tests for your infrastructure and prevent silly mistakes with serious consequences from happening.

The talk will be Chef-oriented, however most of the testing tools may be used with other configuration management software, and similar alternatives exist for those which cannot.

Here the Git repository that follows the presentation.