Installation and configuration
PuppetDB is an Open Source Closure application complementary to Puppet. It does exactly what the name suggests: it stores Puppet data:
- All the facts of the managed nodes
- A copy of the catalog compiled by the Master and sent to each node
- The reports of the subsequent Puppet runs, with all the events that have occurred
What is stored can be queried, and for this PuppetDB exposes a REST-like API that allows access to all its data.
Out of the box, it can act as an alternative to two functions previously done using the Active Records libraries:
- The backend for stored configs, where we can store our exported resources
- A replacement for the inventory service (an API we can use to query the facts of all the managed nodes)
While read operations are based on a REST-like API, data is written by commands sent by the Puppet Master and queued asynchronously by PuppetDB to a pool of internal workers that deliver data to the persistence layer, based either on the embedded HSQLDB...