puppet-logrotate
puppet-logrotate copied to clipboard
Puppet logrotate module
the default logrotate.conf on ubuntu needs the line ``` su root syslog ```
README.md wasn't reflecting the actual state of the conf manifest
I believe I've found a duplication definition issue when doing hourly log rotation: /etc/cron.hourly/logrotate is defined in both base.pp and hourly.pp, so if you include logrotate::base and logrotate::hourly, then the...
I made this change as I needed to add the su config globally for Ubuntu. In order to accomplish this, it seemed to me that logrotate.conf should be a template...
The parsing of `rotate` appears to differ from the official documentation. In the examples, `rotate` is presented as a Ruby `Fixnum`. [In the code](https://github.com/rodjek/puppet-logrotate/blob/f4d12356301fa2992f51dc7225037bb07556cb28/manifests/rule.pp#L315-L321), the match criteria appears to only...
Added possibility to define package state and made it 'present' by default instead of the hardcoded 'latest'. Resolves rodjek/puppet-logrotate#58
When I tried to compile the module, I got the following error message due to a type mistmatch at `spec/classes/defaults_debian_spec.rb`. `error during compilation: Evaluation Error: Error while evaluating a Function...
$sane_\* variables get values from a different scope when their corresponding variable is undef. This happens for wtmp and btmp config files, causing the config to use values from the...