Chapter 7. Making the Configuration Dynamic
Having a Puppet Master that distributes manifests across multiple nodes is convenient. However, getting Puppet agents linked up with the Puppet Master requires a fair amount of time to get the manifests in the right order. One can ask if this exercise really worth the effort. I'd say yes, but only if we utilize the additional Puppet Master capabilities.
In the previous chapter, we briefly discussed the topic of PuppetDB. In this chapter, we will learn how make use of it in practice to transform a static configuration into a dynamic one using PuppetDB and a feature called exported resources that sits on top of PuppetDB.
In this chapter, we'll cover the following topics:
- An introduction to PuppetDB and exported resources
- Exported resources versus PuppetDB
- Exporting and importing resources
- Tagging resources and using a tag as a filter when importing resources
- Creating a check on the Nagios client and exporting resources to the nagios...