InSide_Pages

Chef Intermediate – Virtual

  Duration:  
2 days

Chef Intermediate 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.

This course is delivered virtually online and you can attend from any location on the planet with a solid internet connection

Back to Trainings

Syllabus

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 expand a cookbook through explanation, demonstration, practice, and discussion. At the end of the course, you will have created code that can be applied to solve the unique challenges you face managing your infrastructure.

Two-day course agenda:

  • Setting up Test Kitchen
  • Writing a Test First - The TDD Approach
  • Building a Reliable Cookbook
  • Agility with Unit Testing - ChefSpec
  • Refactoring Using Attributes
  • Refactor Testing for Multiple-Platforms
  • Introduction to Ruby
  • Adding Ruby Gems
  • Creating Custom Resources
  • Extending Custom Resources
  • Refining Custom Resources
  • Completing Unit Test Suite
  • Creating Ohai Plugins
  • Intro to CI/CD Pipeline

Workstation requirements:

You will need a workstation with admin/root access on the machine for this class. You will need the ability to use ssh to remotely log into the virtual machines provided in class.

Student requirements:

To take this course you should have completed the Chef Infra Foundations course or have comparable Chef knowledge. You should also have working knowledge of core Chef concepts and resources and you should also have some experience using Chef.

Customer Comments

CVS Health

This was the best training class I've taken. It was online using Zoom, it was super easy to share code and collaborate. The instructor kept everything going at a perfect pace and his knowledge and expertise on the topic was evident. 22 years of training in my career and this was hands down the best class I've taken. Better than classroom training. Looking forward to more!