Allow manage logrotates and disable logrotate for for Debian by default - #213
Allow manage logrotates and disable logrotate for for Debian by default#213wolfaba wants to merge 28 commits into
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 <julien.godin@camptocamp.com>
improvment: add a new parameter to allow the use of vulnerable SSL/TLS
Signed-off-by: Julien Godin <julien.godin@camptocamp.com>
Bump the lower bound on stdlib to 5.0.0
Debian freeradius package installes own logrotate configs.
This patch adds option
manage_logrotateand set for Debianfalseby default and for other keeps original (true) functionality (install logrotate configs).