Configure PuppetDB
If needed, you can configure PuppetDB settings to optimize your Puppet Enterprise (PE) installation.
We've described some commonly-configured parameters here. For additional settings and information, refer to Configuring PuppetDB in the Puppet documentation, as well as the other PE documentation listed under Related information.
Disable agent run reports
By default, every time Puppet runs, your Puppet Enterprise (PE) primary server generates agent run reports and submits them to PuppetDB. You can disable agent run reports.
Set the deactivated node retention time
Use the node-purge-ttl
parameter to set the length of time before
PE automatically removes deactivated or expired nodes.
Once the time limit passes, the nodes and their relevant facts, catalogs, and reports are
only removed from PuppetDB. Agent certificates on the
Certificate Authority (CA) server are untouched.
Change the PuppetDB user password
The Puppet Enterprise (PE) console uses a database user account to access its PostgreSQL database. Change this database user's password if it is compromised or to comply with your organization's security guidelines.
Exclude facts
Use the facts_blocklist
parameter to exclude facts
from being stored in the PuppetDB database.
You can use Hiera to exclude facts: