Abstract
Among the most powerful features of both Puppet and Facter are their flexibility and extensibility. In addition to the existing resource types and facts, you can quickly and easily add custom types and facts specific to your environment or to meet a particular need. In this chapter, we’re going to examine how to add your own custom facts to Facter, have Puppet automatically distribute those facts, and then see how to make use of them. I’m also going to demonstrate how to create a simple resource type (and associated provider) for Puppet and how to integrate that new resource type into your Puppet installation. This chapter, however, is just an introduction to extending Puppet. If you want to learn more, there is extensive documentation available on the Puppet Wiki and on the Puppet Developer mailing list.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2007 James Turnbull
About this chapter
Cite this chapter
(2007). Extending Puppet. In: Pulling Strings with Puppet. Apress. https://doi.org/10.1007/978-1-4302-0622-4_7
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0622-4_7
Publisher Name: Apress
Print ISBN: 978-1-59059-978-5
Online ISBN: 978-1-4302-0622-4
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books