Chapter 6. Retrieving Data with the PuppetDB API
In the previous chapter, we learned how to set up PuppetDB. Now, it's time to put it to work. PuppetDB is more than just a storage engine; it also contains a powerful query API that allows you to interactively query data about your Puppet infrastructure. By using a combination of REST calls with the provided query language, you will be able to find enormous amounts of data related to your Puppet-managed infrastructure.
In this chapter, we're going to take a look at the following topics:
- The hows, whats, and whys; a brief introduction to the query API
- Exploring and using endpoints
- Getting acquainted with some basic queries
By the end of this chapter, you should be fully comfortable working with the PuppetDB ...
Get Puppet Reporting and Monitoring now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.