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

BlackBerry Limited

I don't usually like online training, but this training was great and Eric is really good, well-organized, and in control. The way he engaged each participants is amazing, and how he troubleshoot issues.