Book Image

LEARNING PUPPET

Book Image

LEARNING PUPPET

Overview of this book

Table of Contents (17 chapters)
Learning Puppet
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


We have come to the end of this chapter in which we learned how we can extend Puppet beyond the built-in functionality. The first half of the chapter was dedicated to custom functions, and we discussed how to use create a custom function called read_file that we used to distribute the public SSH key from the Puppet Master to the Web Server node.

The latter half of the chapter focused on external facts and custom facts. We learned how easy it is to create external facts and make them return structured data types. We also experimented with custom facts that are written in Ruby and used this fact to populate the certname from one host to another.

I hope you found the topics that we covered very useful. In the next chapter, we'll take a look at the features and functionality of the Puppet Enterprise Console.