O'Reilly logo

Extending Puppet by Alessandro Franceschi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The puppetdbquery module

By now, we have realized how comprehensive the amount of information stored on PuppetDB is, as it provides a complete view of all our nodes' facts, catalogs, and reports. This is useful for a review of what happens on our infrastructure and for the metrics we can extract via queries on all the resources managed by Puppet, but this is not enough.

One of historical Puppet's limitations is the fact that a node basically has knowledge only about itself via its catalog and can interact with other nodes only via exported resources.

This is going to change. With Eric Dalén's puppetdbquery module we can access all PuppetDB data, and use it from different places:

  • On the CLI, with a new a Puppet face
  • In our manifests, with dedicated ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required