Puppet Types and Providers
Author | : Dan Bode |
Publisher | : "O'Reilly Media, Inc." |
Total Pages | : 93 |
Release | : 2013 |
ISBN-10 | : 9781449339326 |
ISBN-13 | : 1449339328 |
Rating | : 4/5 (26 Downloads) |
Book excerpt: Puppet's true power exists in the simple resource model it uses to manage the state of complex operating systems. This concise guide shows you how to extend that model and implement custom functionality on top of Puppet by working with the type and provider APIs. Two experts from Puppet Labs explain the concepts behind these APIs, and provide instructions and examples to help you write your own fully functional types and providers. You'll also delve into Puppet's source code to get a better understanding of how types and providers are implemented internally. If you're familiar with basic Puppet concepts, you're ready to get started. Learn the fundamental concepts behind resources, and become familiar with the structure of Puppet's Resource Model Discover how the type API is used to create new resource types that Puppet can manage Understand how providers interact with the system to achieve the desired state of a declared resource Explore advanced features to get a more complete understanding of how Puppet works Simplify the troubleshooting process when developing types and providers