Added temporary fix for broken munin-node logrotate config

This commit is contained in:
Ossi Salmi 2013-01-15 12:51:44 +02:00
parent 2fb5e23673
commit 963f1d1bfc
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,9 @@
/var/log/munin-node/munin-node.log {
daily
missingok
rotate 7
compress
copytruncate
notifempty
create 644 root root
}

View file

@ -61,6 +61,19 @@ class munin::node {
notify => Service["munin-node"],
}
# Temporary fix for broken config
case $::operatingsystem {
"centos","fedora","redhat": {
file { "/etc/logrotate.d/munin-node":
ensure => present,
mode => "0644",
owner => "root",
group => "root",
source => "puppet:///modules/munin/munin-node.logrotate",
}
}
}
}