Chef Intermediate Topics – Official Chef Training

2 Day Classroom  •  2 Day Live Online
2 Day Training at your location.
Adjustable to meet your needs.
Individual:
$1950.00
Group Rate:
$1750.00
GSA Discount:
$1462.50
When training eight or more people, onsite team training offers a more affordable and convenient option.
Register Now
Request Quote
Individual
Onsite
Overview

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.

Upcoming Dates and Locations
Guaranteed To Run

There aren’t any public sessions currently scheduled for this course, but if you fill out the form below, we can tell you about how we can bring this course to you!

Course Outline
  • 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
Pre-Requisites

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.

Lab Requirements:

You will need to bring a wi-fi enabled laptop to class and will need admin/root access on the machine. You will need the ability to remote into the virtual machines provided in class.

Download the brochure