Chapter 4. Custom Resources
In this chapter, we're going to discuss the exciting changes released in Chef 12.5 that transform the old LWRPs and HWRPs into the much easier-to-create and use Custom Resources. We'll start with a look at the differences between the old and new, but by the end of the chapter, the reader will know how to build and use Custom Resources.
"To me, my recipes are priceless." – Colonel Sanders
Here is a list of the topics covered in this chapter:
- Out with the old (LWRPs), in with the new (Custom Resources)
- Creating an example use case
- Creating and using a Custom Resource
- Making a Custom Resource more reusable
- Subclassing a Custom Resource