August 2014
Intermediate to advanced
388 pages
9h 49m
English
As we learned when exploring the different stages of a Chef run in Anatomy of a Chef Run, Chef executes handlers as specific situations arise during the run to allow us to respond to these events. As we’ll see in this chapter, handlers are special Ruby classes that we incorporate into our Chef runs. Three types of handler are supported:
In this chapter, we’ll create a test environment to allow us to safely run code examples before examining the three handler types and how to implement and run each one. We’ll also look at the various Chef classes we’ll make use of to power and enhance the usefulness of our handlers, ...
Read now
Unlock full access