Book Image

Mastering Puppet

By : Thomas Uphill
Book Image

Mastering Puppet

By: Thomas Uphill

Overview of this book

Table of Contents (17 chapters)

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 in 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 repository, as in previous examples. We'll call this new server puppetdb_manual.example.com to differentiate it from our automatically installed puppetdb instance (puppetdb.example.com).

Install Puppet, do a Puppet agent run as shown in the following command to generate certificates, and sign them on the master as we did when we used the puppetlabs/puppetdb module. Alternatively...