Closed gmarler closed 1 year ago
Thanks for the PR @gmarler!, could you add an entry in the CHANGELOG then we can get this merged.
Working it...
Oh, any particular place you'd like me to put a unit test for this?
It would be nice to have it set the var and see that the file would have been created with the value and another without. either chefspec
or inspec
is fine imo, your choice
Ok, added tests for when node['rsyslog']['max_message_size']
:
nil
Let me know if the manner of testing is good for you, and if you want me to add another test for when the directive simply defaults (node['rsyslog']['max_message_size']
isn't set at all).
Released as: 9.2.0
Description
Allows specifying nil/false for
node['rsyslog']['max_message_size']
, so that$MaxMessageSize
is not emitted into /etc/rsyslog.confIssues Resolved
https://github.com/sous-chefs/rsyslog/issues/196
Check List
## Unreleased