dev-sec / puppet-os-hardening

This puppet module provides numerous security-related configurations, providing all-round base protection.
http://dev-sec.io/
Apache License 2.0
279 stars 101 forks source link

ignore_max_files_warnings does not work #297

Closed LooOOooM closed 1 year ago

LooOOooM commented 2 years ago

Describe the bug Warning: The directory '/usr/bin' contains 1004 entries, which exceeds the default soft limit 1000 and may cause excessive resource consumption and degraded performance. To remove this warning set a value formax_filesparameter or consider using an alternate method to manage large directory trees

adding to the node file (hiera) does not change anything: os_hardening::ignore_max_files_warnings: true

os_hardening gets loaded via "include os_hardening"

This happens at least on Centos 7

Expected behavior Warning should disapear

LooOOooM commented 1 year ago

Maybe I was wrong or the changelogs are not completed. I changed to teh lates version after restuding the mechanics and what can I say -- it works -- no annoying messages anymore -- please close this issue