Mercurial > repos > other > Puppet
changeset 95:0ea0825ba847 puppet-3.6
Make sure that we don't get Yum just emailing us "I updated my metadata for the repos"
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 24 Jan 2016 20:11:51 +0000 |
parents | 89a94c61e4d6 |
children | 009a7a75ddfd |
files | manifests/templates.pp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/manifests/templates.pp Fri Jan 22 20:27:16 2016 +0000 +++ b/manifests/templates.pp Sun Jan 24 20:11:51 2016 +0000 @@ -650,7 +650,7 @@ } # Notify of available updates cron { 'check-yum-updates': - command => "/usr/bin/yum check-updates", + command => "/usr/bin/yum check-updates | tail -2 | grep -Ev "^ \* \w+: \w+"", hour => '4', minute => '30', weekday => '0-6/3', #Sunday, Wednesday and Saturday morning