prod install: Add the CentOS version of the step to upgrade packages.

This commit is contained in:
rht
2019-12-15 17:22:59 +00:00
committed by Tim Abbott
parent d88a7bbb42
commit 6dd5dc32fc

View File

@@ -307,7 +307,14 @@ if [ -n "$REMOTE_POSTGRES" ]; then
fi
# These server restarting bits should be moveable into puppet-land, ideally
apt-get -y upgrade
case "$os_id" in
Ubuntu|Debian)
apt-get -y upgrade
;;
centos)
# No action is required because `yum update` already does upgrade.
;;
esac
if [ "$has_nginx" = 0 ]; then
# Check nginx was configured properly now that we've installed it.