DevOps Lab

Chef Local Cookbook Development - Install the Chefdk and Generate a Cookbook With Tests

We deploy the real environment, you take the scenario-based labs on us. Self-paced, from anywhere, at any time.

Time required: 2 Hours

Objectives

In this lab you will install the ChefDK and configure a CentOS 7 workstation to support a testing environment as well as intantiate a new cookbook using a generator and create the initial tests for a cookbook. 

Overview

Log in to the provided CentOS 7 instance using the provided credentials and complete the objectives. 

Scenarios

1. Install the ChefDK.
2. Configure your workstation environment.
3. Create a generator.
4. Generate a cookbook called lcd_web using your generator.
5. Create ChefSpec tests and execute them.

Share our Labs
Start Your Free Trial

We have the longest and most in depth courses about cloud and engineering topics on the web. All of our training content is included with every membership.