Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Module yo61/puppet-logrotate -- define multiple paths for the same logrotate::rule

$
0
0
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

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>