-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow no logfile to log to systemd-journald only #534
base: master
Are you sure you want to change the base?
Conversation
@@ -386,7 +387,7 @@ | |||
Integer[0] $list_max_ziplist_value = 64, | |||
Stdlib::Absolutepath $log_dir = $redis::params::log_dir, | |||
Stdlib::Filemode $log_dir_mode = $redis::params::log_dir_mode, | |||
String $log_file = 'redis.log', | |||
Variant[Boolean[false], String[1]] $log_file = 'redis.log', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please add a unit test that sets this to false?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grrr. Done.
cef2ae4
to
b77093a
Compare
mhm I'm not sure why it fails on Puppet 7 🤔 |
Who if not you? |
https://github.com/voxpupuli/puppet-redis/actions/runs/11087638787/job/30806564732?pr=535 at least we now know the issue is present in main. I assume it's a regression in Puppet 7 🤔 |
https://github.com/voxpupuli/puppet-redis/actions/runs/10890322096/job/30219882638 passed and maybe used Puppet 7.32.1 |
Pull Request (PR) description
Redis allows to set logfile to an empty string "" to disable logging to file.
if this is done, only the systemd-journald is logged.
This Pull Request (PR) fixes the following issues