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:
- 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-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.