Hello,
I am having issues defining multiple file paths on the same logrotate rule by making use of the module: link:[yo61/puppet-logrotate](https://github.com/yo61/puppet-logrotate)
Looking at a default syslog logrotate file on any standard RH/CentOS box, you will see something along these lines:
/var/log/cron
/var/log/maillog
/var/log/messages
/var/log/secure
/var/log/spooler
{
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
endscript
}
I am trying to manage the content of that file using logrotate::rules, but I don't seem to be able to define multiple paths (i.e. an array) in the path parameter... I could define the path as: '/var/log/*', however i would like to be more precise...
Is there anyway to do it?
Thanks in advance
↧