IL - Chef Intermediate: Windows / Linux

Course 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.
Course Details
  • Duration: 2 Days
  • Level: 300
Who this course is designed for
  • This course is geared toward development, engineering, and operations staff.

Course Objectives

What You Will Learn
  • Why write tests? Why is that hard?
  • Writing a test first
  • Refactoring cookbooks with tests
  • Testing resources in recipes
  • Refactoring to attributes
  • Refactoring to multiple platforms
  • Approaches to extending resources
  • Why use custom resources
  • Creating a custom resource

Course Pre-Requisites

Prerequisites:
  • Writing code (of just about any flavor) in a text editor
  • Working on the command line
  • Basic system administration – installing packages, configuring those packages, starting service

Course Modules

Course Agenda

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 managing your infrastructure.

• 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

;

Expert Training

Contact the experts at Opsgility to schedule this class at your location or to discuss a more comprehensive readiness solution for your organization.


Looking for individual training?
Try SkillMeUp.com