Synopses & Reviews
Take advantage of Chefs highly customizable design to tackle specific automation issues that you cant solve by simply using Chefs tools, resources, and services out of the box. With this practical guide, youll examine the internal structure of this configuration management technology and learn where, how, and why to add custom code.
Author Jon Cowie not only provides code snippets and practical advice for customizing Chef, but also helps you determine case by case whether its in your best interests to customize at all. If you have intermediate-to-advanced Chef experience, this book is indispensable.
- Explore Chefs typical setups and why youd want to customize them
- Learn the Ruby concepts needed to write customizations
- Customize the Chef run process and explore Chefs internal classes
- Gain more insight into your Chef runs through handlers and Chefs event stream
- Level up your Chef recipes by writing your own resources and providers
- Create and extend plugins for Knife—Chefs command-line tool
- Interact with the Chef API to write scripts and reports
- Learn how to contribute customizations to the Chef community
Learn how to customize Chef by examining the internal structure of this configuration management tool and navigating its source code. This practical book will examine the different ways in which this flexible configuration management tool can be extended as well as examining how to integrate external tooling with Chef via the API and create more advanced customizations.
By the time you finish this book, you'll have a thorough understanding of how Chef fits together and be able to position your customization in the most appropriate place. And you'll have the skills to go ahead and write it. If you have intermediate-to-advanced Chef experience—particularly with knowledge you'd gain from O'Reilly's Learning Chef—you're ready to get started.
About the Author
Jon Cowie is a senior operations engineer at Etsy where he mixes his love of both coding and operations to try and solve interesting problems. He has created and open sourced a number of projects, including the Chef tools knife-spork and knife-preflight, and has spoken at several of O'Reilly's Velocity conferences.