changeset 309:7fa5e230fc94

Fix type in Yum update checking Apparently Yum handles it, but DNF is pickier
author IBBoard <dev@ibboard.co.uk>
date Sun, 23 Feb 2020 15:43:27 +0000
parents edd1e3b444e7
children e9a7e504598b
files manifests/templates.pp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/manifests/templates.pp	Sun Feb 23 12:07:07 2020 +0000
+++ b/manifests/templates.pp	Sun Feb 23 15:43:27 2020 +0000
@@ -814,7 +814,7 @@
 	}
 	# Notify of available updates
 	cron { 'check-yum-updates':
-		command => '/usr/bin/yum check-updates | tail -2 | grep -Ev "^ \* [[:alnum:]-]+: [[:alnum:]\.]+$"',
+		command => '/usr/bin/yum check-update | tail -2 | grep -Ev "^ \* [[:alnum:]-]+: [[:alnum:]\.]+$"',
 		hour => '4',
 		minute => '30',
 		weekday => '0-6/3', #Sunday, Wednesday and Saturday morning