Chef Intermediate Topics - Official Chef Training (CHEFINT)


Course Content

Chef Intermediate Topics is an instructor-led course that first introduces you to test-driven development (TDD) and then shows you how to extend your cookbooks with custom resources and Ohai plugins.

Building cookbooks with tests will increase the speed at which you work by giving you consistent feedback throughout the entire cookbook development process. Extending your cookbooks with custom resources will increase clarity within your recipes and provide resources that are portable to other cookbooks. Ohai plugins gather data from your nodes that will aid in more dynamic recipes and extensive reporting.

In this course, you will learn how to confidently refactor and extend a cookbook through explanation, demonstration, practice, and discussion. At the end of the course, you will have created a code repository that can be applied to solve the unique challenges you face when managing your infrastructure.


To take this course, you should have completed Chef Fundamentals or Chef Essentials or have comparable work experience. You should have a working knowledge of core Chef concepts and resources.

Outline: Chef Intermediate Topics - Official Chef Training (CHEFINT)

  • Introduction
  • Why write tests? Why is that hard?
  • Writing a test first
  • Refactoring cookbooks with tests
  • Faster feedback with unit testing
  • Testing resources in recipes
  • Refactoring to attributes
  • Refactoring to multiple platforms
  • Approaches to extending resources
  • Why use custom resources
  • Creating a custom resource
  • Refining a custom resource
  • Ohai
  • Ohai plugins
  • Creating an Ohai plugin
  • Tuning Ohai
Online Training

Duration 2 days

  • US$ 1,950
Classroom Training

Duration 2 days

  • United States: US$ 1,950
Click City Name To Book Schedule
This is an Instructor-Led Classroom course
This is an Instructor-Led Online (ILO) course. These sessions are conducted via WebEx in a VoIP environment and require an Internet Connection and headset with microphone connected to your computer or laptop.
  *   This class is delivered by a partner.
United States
Jun 17-18, 2020 Online Training 08:30 US/Eastern * Enroll
Aug 19-20, 2020 Online Training 09:30 US/Eastern * Enroll
Oct 21-22, 2020 Online Training 09:30 US/Eastern * Enroll
Oct 21-22, 2020 Minneapolis 08:30 US/Central * Enroll
Dec 16-17, 2020 San Jose 08:30 US/Pacific * Enroll
Dec 16-17, 2020 Online Training 11:30 US/Eastern * Enroll