Send webalizer cronjob mails to root

This commit is contained in:
Ossi Salmi 2012-01-03 14:07:05 +02:00 committed by Timo Mkinen
parent 148e50dba7
commit e58965fc00

View file

@ -749,6 +749,7 @@ class apache::webalizer {
cron { "www-webalizer": cron { "www-webalizer":
ensure => present, ensure => present,
environment => "MAILTO=root",
command => "/usr/local/sbin/www-webalizer.sh", command => "/usr/local/sbin/www-webalizer.sh",
user => $operatingsystem ? { user => $operatingsystem ? {
debian => root, debian => root,