Add update step after enabling OpenStack repos
In specific cases, there may be conflicts between packages provided by Centos and RDO repos. In that case RDO repos should be used. To avoid any of these issues, this patch updates packages right after enabling the repos. Change-Id: Ide3265c5dc84971f19da2b5af049693cff5442b4
This commit is contained in:
parent
d513e48478
commit
dc8c6f1c90
@ -149,6 +149,14 @@ if [ "${MANAGE_REPOS}" = true ]; then
|
||||
print_header 'Puppet failed to install repositories.'
|
||||
exit 1
|
||||
fi
|
||||
if is_fedora; then
|
||||
print_header 'Updating packages'
|
||||
$SUDO yum update -y
|
||||
if [ $? -ne 0 ]; then
|
||||
print_header 'Error updating packages'
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
print_header "Running Puppet Scenario: ${SCENARIO} (1st time)"
|
||||
|
Loading…
Reference in New Issue
Block a user