comparison manifests/templates.pp @ 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 74678cd7a200
children 009a7a75ddfd
comparison
equal deleted inserted replaced
94:89a94c61e4d6 95:0ea0825ba847
648 minute => '20', 648 minute => '20',
649 weekday => '0-6/3', #Sunday, Wednesday and Saturday morning 649 weekday => '0-6/3', #Sunday, Wednesday and Saturday morning
650 } 650 }
651 # Notify of available updates 651 # Notify of available updates
652 cron { 'check-yum-updates': 652 cron { 'check-yum-updates':
653 command => "/usr/bin/yum check-updates", 653 command => "/usr/bin/yum check-updates | tail -2 | grep -Ev "^ \* \w+: \w+"",
654 hour => '4', 654 hour => '4',
655 minute => '30', 655 minute => '30',
656 weekday => '0-6/3', #Sunday, Wednesday and Saturday morning 656 weekday => '0-6/3', #Sunday, Wednesday and Saturday morning
657 } 657 }
658 } 658 }