Mercurial > repos > other > Puppet
comparison manifests/templates.pp @ 97:b69e3f6708d6 puppet-3.6
Add another regular command to check that we've not got services requiring a restart
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 27 Jan 2016 20:18:32 +0000 |
parents | 009a7a75ddfd |
children | a0b9a810cf7d |
comparison
equal
deleted
inserted
replaced
96:009a7a75ddfd | 97:b69e3f6708d6 |
---|---|
653 command => '/usr/bin/yum check-updates | tail -2 | grep -Ev "^ \* \w+: \w+"', | 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 # And check whether anything needs restarting |
659 cron { 'check-needs-restarting': | |
660 command => '/usr/bin/needs-restarting|grep -v "/usr/lib/systemd\|/usr/sbin/lvmetad\|/usr/lib/polkit-1/polkitd"', | |
661 hour => '4', | |
662 minute => '45', | |
663 weekday => '0-6/3', #Sunday, Wednesday and Saturday morning | |
664 } | |
665 } |