Book Image

Mastering Puppet

By : Thomas Uphill
Book Image

Mastering Puppet

By: Thomas Uphill

Overview of this book

Table of Contents (17 chapters)

Summary


In this chapter, we used ruby to extend facter and define custom facts. Custom facts can be used in hiera hierarchies to reduce complexity and organize our nodes. We then began writing our own custom modules and ran into a few problems with multiple defined resources. Two solutions were presented, virtual resources and refactoring the code. In the next chapter, we will be making our custom modules more useful with custom types.