feat: manage the facts soft limit

- set the facts soft limit for agents and servers
- prevent warnings about reaching the default 2048 soft limit
This commit is contained in:
2024-06-08 13:56:53 +10:00
parent 07c896b924
commit aaf482c9b9
4 changed files with 5 additions and 0 deletions
+2
View File
@@ -28,6 +28,7 @@ class profiles::puppet::server (
Integer $runinterval = 1800,
Integer $runtimeout = 3600,
Boolean $show_diff = true,
Integer $facts_soft_limit = 4096,
) {
file { '/etc/puppetlabs/puppet/puppet.conf':
@@ -59,6 +60,7 @@ class profiles::puppet::server (
'storeconfigs_backend' => $storeconfigs_backend,
'reports' => $reports,
'usecacheonfailure' => $usecacheonfailure,
'facts_soft_limit' => $facts_soft_limit,
}),
notify => Service['puppetserver'],
}