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:
Install Puppet and puppetdb
Install and configure PostgreSQL
Configure puppetdb to use PostgreSQL
Start puppetdb and open firewall ports
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...