Deactivating and purging nodes

PuppetDB keeps records on every node that checks into your Puppet Enterprise installation. In an environment where nodes often come and go, such as an immutable infrastructure, lots of data can pile up about nodes that impact the performance of the database and infrastructure. By default, Puppet will expire nodes that have not checked in for seven days, and will cease exporting objects from the catalog. This setting can be managed with the node-ttl setting underneath the [database] section of puppet.conf. An additional setting, node-purge-ttl, lets the database know when to drop records for a node. By default, 14 days is the purge time for Puppet Enterprise. We can also perform these tasks manually with puppet ...

Get Mastering Puppet 5 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.