Skip to content

Commit 9e553f0

Browse files
smortexaustb
authored andcommitted
(maint) Sync TTL default values in the README with actual defaults
The TTL values from the readme do not correspond to those [configured by the module](MOD) and are the [default values from PuppetDB](PDB). Adjust the README so that it describes the actual configuration. [MOD]: https://github.com/puppetlabs/puppetlabs-puppetdb/blob/11dc0dfd91b26e9babc31b0221cd2442ae1b46a9/manifests/params.pp#L40-L43 [PDB]: https://puppet.com/docs/puppetdb/latest/configure.html#node-ttl
1 parent 8e85e5b commit 9e553f0

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -497,19 +497,20 @@ settings and fail if it is not able to do so. Defaults to `true`.
497497
#### `node_ttl`
498498

499499
The length of time a node can go without receiving any new data before it's
500-
automatically deactivated. (defaults to '0', which disables auto-deactivation).
501-
This option is supported in PuppetDB >= 1.1.0.
500+
automatically deactivated. (defaults to '7d', which is a 7-day period. Set to
501+
'0' to disable auto-deactivation). This option is supported in PuppetDB >=
502+
1.1.0.
502503

503504
#### `node_purge_ttl`
504505

505506
The length of time a node can be deactivated before it's deleted from the
506-
database. (defaults to '0', which disables purging). This option is supported in
507-
PuppetDB >= 1.2.0.
507+
database. (defaults to '14d', which is a 14-day period. Set to '0' to disable
508+
purging). This option is supported in PuppetDB >= 1.2.0.
508509

509510
#### `report_ttl`
510511

511512
The length of time reports should be stored before being deleted. (defaults to
512-
`7d`, which is a 7-day period). This option is supported in PuppetDB >= 1.1.0.
513+
`14d`, which is a 14-day period). This option is supported in PuppetDB >= 1.1.0.
513514

514515
#### `gc_interval`
515516

0 commit comments

Comments
 (0)