Skip to main content
  • 339 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 24.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 34.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints 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

Publish with us

Policies and ethics