Mercurial > repos > other > Puppet
changeset 93:74678cd7a200 puppet-3.6
Run cron job to notify of available updates
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 16 Jan 2016 15:03:04 +0000 |
parents | 4412f5e0b2ba |
children | 89a94c61e4d6 |
files | manifests/templates.pp |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/manifests/templates.pp Sat Jan 16 11:01:09 2016 +0000 +++ b/manifests/templates.pp Sat Jan 16 15:03:04 2016 +0000 @@ -648,4 +648,11 @@ minute => '20', weekday => '0-6/3', #Sunday, Wednesday and Saturday morning } + # Notify of available updates + cron { 'check-yum-updates': + command => "/usr/bin/yum check-updates", + hour => '4', + minute => '30', + weekday => '0-6/3', #Sunday, Wednesday and Saturday morning + } }