Featured resource
2026 Tech Forecast
2026 Tech Forecast

1,500+ tech insiders, business leaders, and Pluralsight Authors share their predictions on what’s shifting fastest and how to stay ahead.

Download the forecast

Working with Chef

Course Summary

The Working with Chef training course is designed to explore Cookbook development for Chef.

 

The course begins with a review of both Ruby and Chef concepts. It then transitions into an examination of building Chef Cookbooks. The course concludes with an examination and review of Cookbooks.

Purpose
Learn how to write cookbooks for Chef
Audience
Dev Ops engineers need to automated build and deployment processes using Chef
Role
DevOps Engineer | Software Developer
Skill Level
Introduction
Style
Lecture | Hands-on Activities | Labs
Duration
3 Days
Related Technologies
Ruby on Rails | Chef | CI/CD

 

Learning Objectives
  • Describe the advantages of using Cookbooks with Chef
  • Write a simple Cookbook
  • Create a Cookbook to manage a Hadoop cluster
  • Identify processes / procedures during the build
  • Deploy process that are good Cookbook candidates
  • Apply common best practices to Cookbook development

What You'll Learn:

In the Working with Chef training course, you'll learn:

Ruby Primer (enough to understand reading Chef code)

  • Basic Syntax
  • Data structures used in Chef
  • Hash
  • Array
  • Blocks

Chef Refresher

  • What Chef provides
  • Cookbooks

Local Chef Cookbook Development

  • Vagrant

Running Chef

  • Chef Server/Client
  • Chef Solo

Building a Basic Cookbook

  • Parts of a Cookbook
  • Recipes
  • Attributes
  • Templates / Files
  • Example: NTP
  • Example: Resolv

Building a More Complicated Cookbook

  • Chef node customization
  • Environments
  • Roles
  • Nodes
  • Data Bags (Encrypted+)
  • Other Chef resources
  • Multiple cookbooks together
  • Dependency management
  • Cookbook Metadata

Cookbook Patterns and Practices

  • Application vs Library Cookbooks
  • Resources best practices

Chef Utilization to Manage a Hadoop cluster

Custom Resources

  • Libraries/definitions
  • LightWeight Resource providers
  • MCOM Cookbooks review
“I appreciated the instructor's technique of writing live code examples rather than using fixed slide decks to present the material.”

VMware

Dive in and learn more

When transforming your workforce, it's important to have expert advice and tailored solutions. We can help. Tell us your unique needs and we'll explore ways to address them.

Let's chat

By clicking submit, you agree to our Privacy Policy and Terms of Use, and consent to receive marketing emails from Pluralsight.