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":
|
cron { "puppet-report-cleanup":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
command => "/usr/local/sbin/puppet-report-cleanup",
|
command => "/usr/local/sbin/puppet-report-cleanup",
|
||||||
user => $user,
|
environment => [ "MAILTO=root", ],
|
||||||
hour => "1",
|
user => $user,
|
||||||
minute => "5",
|
hour => "1",
|
||||||
require => File["/usr/local/sbin/puppet-report-cleanup"],
|
minute => "5",
|
||||||
|
require => File["/usr/local/sbin/puppet-report-cleanup"],
|
||||||
}
|
}
|
||||||
|
|
||||||
if $puppet_storeconfigs != "none" {
|
if $puppet_storeconfigs != "none" {
|
||||||
|
|
Loading…
Add table
Reference in a new issue