Skip to main content

Chef – Available Testing Frameworks – InSpec and ChefSpec

Hands-On Lab

 

Photo of

Training Architect

Length

01:00:00

Difficulty

Intermediate

In this lab we will demonstrate an understanding of Chef Testing Frameworks by using InSpec and Chefspec with ChefDK, and then by using Chef Kitchen.

First we'll install the ChefDK tools on a server and make sure that Docker is working. Then we need to ensure that Git is installed and has some basic configuration.

Next we'll see how much we know about local cookbook development by creating one that installs software and uses InSpec and ChefSpec.

At the end of this hands-on Lab, we will have installed ChefDK tools, configured it, and have a custom developed cookbook that we've tested with Docker and Kitchen.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.