Puppet Version: 6.23.0 Puppet Server Version: 6.15.3 OS Name/Version: Debian 10 (Master), Ubuntu 20.04.2 LTS (Agent) After getting the following warning:
The directory 'XXX' contains 1530 entries, which exceeds the default soft limit 1000 and may cause excessive resource consumption and degraded performance. To remove this warning set a value for `max_files` parameter or consider using an alternate method to manage large directory trees |
for a file resource that removes a directory tree, I added a "max_files => 2000" attribute to that resource. But then I got this:
Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: no parameter named 'max_files' (file: /etc/puppetlabs/code/environments/production/modules/XXX/manifests/XXX.pp, line: 8) on File[XXX] (file: /etc/puppetlabs/code/environments/production/modules/XXX/manifests/XXX.pp, line: 8) on node XXX |
Desired Behavior: File resource should work as documented, catalog should be executed Actual Behavior: See above BTW: Please update drop down lists for "Agent OS" and "Master OS" above. They're way outdated. |