Chef

Chef Intermediate Topics - Virtual English

14 hours
995,00 €
Live Virtual Class
Live Virtual Class

Description

Chef is a powerful automation platform that transforms complex infrastructure into code, bringing your servers and services to life. Whether you’re operating in the cloud, on-premises, or a hybrid, Chef automates how applications are configured, deployed, and managed across your network, no matter its size.

This course takes you beyond the essentials. You’ll deepen your understanding of how Chef works and learn how to customize it and extend its out-of-the-box capabilities. You’ll also learn more about testing tools and recommended patterns for writing cookbooks.

PUE is Chef Official Training Partner, authorized by Chef to deliver official training in Chef technologies.

Furthermore, PUE is accredited and recognized to offer consulting and mentoring services on the implementation of Chef solutions for business environment with the consequent added value in the practical and business knowledge delivered in their official courses.

Audience and prerequisites

This course is intended to system administrators, developers, etc. seeking to use Chef as one of the main DevOps tools to optimize servers configuration, deployment and management.

To take this course, you should have completed Chef Fundamentals or Chef Essentials or have comparable work experience. You should have:

  • Working knowledge of core Chef concepts and resources
  • Basic experience with knife, cookbook development, and executing chef-client on target nodes

We do not recommend this class for people with little hands-on experience with Chef.

Objectives

By the end of this course, the student will have assumed the following skills:

  • Extend Chef with custom resources and providers
  • Describe the internals of a Chef Client run
  • Create, debug, and distribute custom Ohai plugins
  • Configure report and exception handlers
  • Avoid common cookbook errors using Foodcritic and Rubocop
  • Write simple unit tests with ChefSpec

Topics

  • 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

Open calls