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 to differentiate it from ...

Get Mastering Puppet - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.