Book Image

Puppet Cookbook - Third Edition

Book Image

Puppet Cookbook - Third Edition

Overview of this book

Table of Contents (17 chapters)
Puppet Cookbook Third Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 9. External Tools and the Puppet Ecosystem

 

"By all means leave the road when you wish. That is precisely the use of a road: to reach individually chosen points of departure."

 
 --Robert Bringhurst, The Elements of Typographic Style

In this chapter, we will cover the following recipes:

  • Creating custom facts

  • Adding external facts

  • Setting facts as environment variables

  • Generating manifests with the Puppet resource command

  • Generating manifests with other tools

  • Using an external node classifier

  • Creating your own resource types

  • Creating your own providers

  • Creating custom functions

  • Testing your Puppet manifests with rspec-puppet

  • Using librarian-puppet

  • Using r10k