Introduction to Chef - Testing Your Automation Code
This is a hands-on tutorial that will cover the basics that everyone needs to know about how to test your automation code. We’ll start off with a quick introduction to Chef and work our way through writing a fully-tested cookbook or two, writing automated tests that will help ensure the cookbook performs the way we expect. Welcome to the world of test-driven infrastructure!
Hands-on exercises throughout the tutorial will reinforce the material discussed.
Who should attend
Anyone responsible for managing infrastructure, especially those who are interested in automating the provisioning and management of said infrastructure using state-of-the-art tools and practices.
Take back to work
A working code base that includes samples for building out testable infrastructure components.
Topics include
- Introduction to Chef
- Resources, Recipes, and Cookbooks
- Test driven Development (TDD)
- Testing that a policy is applied successfully
- Testing that the server is in the desired state