-
Notifications
You must be signed in to change notification settings - Fork 49
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 manage logrotates and disable logrotate for for Debian by default #213
base: main
Are you sure you want to change the base?
Conversation
- disable manage logrotate for Debian by default
Hi - this looks good, thanks! |
Hello @nward , I have downloaded now the debian freeradius packages, even from debian archive:
and I can see logrotate file in every package:
So I presume, it was there everytime and nothing has changed. In Ubuntu is the same output
(I could not list the content of the last ubuntu deb files, because I work on Gentoo and the dpkg could not unpack them, but I presume the logrotate config is still there). Regards, |
Great, thanks! I have been pondering this a little - other distros, for example Redhat/CentOS, also include logrotate config. In Redhat/CentOS the logrotate config is replaced by Perhaps a better approach would be to parameterise logrotate::rule { 'radiusd':
rulename => $freeradius::params::logrotate_rulename,
... and in params.pp: $logrotate_rulename = $::osfamily ? {
'Debian' => 'freeradius',
'RedHat' => 'radiusd',
default => 'radiusd',
} I think that would give the best behaviour - i.e. it would be the same on both OSes, in that it would replace any OS-provided logrotate config. I think that having Does that make sense? |
Hello @nward , |
I don't think you need to make them all go in to one file. |
oh, sorry, I understand now. You are right. Either will be no file created by puppet module and then there will be original debian logrotate file with all three (or more) files. Or puppet module overwrites debian package multi-logfile config with one logfile and creates other two logrotate config files for other logfiles. |
Individual SNMP trap enabling
…S versions Signed-off-by: Julien Godin <[email protected]>
improvment: add a new parameter to allow the use of vulnerable SSL/TLS
Signed-off-by: Julien Godin <[email protected]>
Bump the lower bound on stdlib to 5.0.0
Debian freeradius package installes own logrotate configs.
This patch adds option
manage_logrotate
and set for Debianfalse
by default and for other keeps original (true
) functionality (install logrotate configs).