0345 4506120

Chef Intermediate

This 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.

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.
  Reset

Learning Objectives

Delegates will learn how to                    

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.

Pre-Requisites

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.

Course Content

                

• 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

Privacy Notice

In order to provide you with the service requested we will need to retain and use your contact information in accordance with our Privacy Notice. If you choose to provide us with this information you explicitly consent to us using the information as necessary to provide the requested service to you. If you do not agree please do not proceed to request the service from us.

Marketing Permissions

Would you like to receive our newsletter and other information on products and services which we think will be of interest to you by email. We will always treat your information with care and in accordance with our Privacy Notice. You are free to withdraw this permission at any time.

 

Online Courses

You may prefer an online course if you are looking for a flexible and cost-effective solution. Online courses allow you to study at your own pace, at a time that suits you.

We have the following eLearning options available:

Our Customers Include