yum_update.sh - Use the yum parameter: check-update
authorMatthew Flusche <mflusche@redhat.com>
Mon, 27 Feb 2017 22:11:37 +0000 (22:11 +0000)
committerAlex Schultz <aschultz@redhat.com>
Wed, 12 Apr 2017 18:59:47 +0000 (18:59 +0000)
commit037d09a07602f5a93e2104c9c17f668a3dcd0c3c
treed3779cc7c432e73202c7728618599df6aef3708b
parentfbc6212d97c57792978179d2a5936345e165fc41
yum_update.sh - Use the yum parameter: check-update

The current check tends to produce a false positive causing unnecessary
service restarts.  yum check-update will exit with return code 100 if
updated packages are available.

Change-Id: I8bd89f2b24bafc6c991382b9eb484cfa9a2f8968
(cherry picked from commit 9e4375d2762f4a26e8b0b8375f9265ad6e439ea1)
Closes-Bug: #1680634
extraconfig/tasks/yum_update.sh