puppet: Redirect puppet-report-cleanup cron job mails to root.
This commit is contained in:
parent
035fb796de
commit
f79b09616d
1 changed files with 7 additions and 6 deletions
|
@ -498,12 +498,13 @@ class puppet::server::common inherits puppet::client {
|
|||
}
|
||||
|
||||
cron { "puppet-report-cleanup":
|
||||
ensure => present,
|
||||
command => "/usr/local/sbin/puppet-report-cleanup",
|
||||
user => $user,
|
||||
hour => "1",
|
||||
minute => "5",
|
||||
require => File["/usr/local/sbin/puppet-report-cleanup"],
|
||||
ensure => present,
|
||||
command => "/usr/local/sbin/puppet-report-cleanup",
|
||||
environment => [ "MAILTO=root", ],
|
||||
user => $user,
|
||||
hour => "1",
|
||||
minute => "5",
|
||||
require => File["/usr/local/sbin/puppet-report-cleanup"],
|
||||
}
|
||||
|
||||
if $puppet_storeconfigs != "none" {
|
||||
|
|
Loading…
Add table
Reference in a new issue