Manually installing PuppetDB

The puppetlabs/puppetdb module does a great job of installing PuppetDB and getting you running quickly. Unfortunately, it also obscures a lot of the configuration details. In the enterprise, you'll need to know how all the parts fit together. We will now install PuppetDB manually using the following five steps:

  1. Install Puppet and PuppetDB.
  2. Install and configure PostgreSQL.
  3. Configure PuppetDB to use PostgreSQL.
  4. Start PuppetDB and open firewall ports.
  5. Configure the Puppet master to use PuppetDB.

Installing Puppet and PuppetDB

To manually install PuppetDB, start with a fresh machine and install the puppetlabs-pc1 repository, as in previous examples. We'll call this new server puppetdb-manual.example.com to differentiate it from ...

Get Mastering Puppet - Second Edition 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.