Merge "Add update step after enabling OpenStack repos"

This commit is contained in:
Jenkins 2016-12-08 00:04:47 +00:00 committed by Gerrit Code Review
commit 30a78d1b80

View File

@ -147,6 +147,14 @@ if [ "${MANAGE_REPOS}" = true ]; then
print_header 'Puppet failed to install repositories.' print_header 'Puppet failed to install repositories.'
exit 1 exit 1
fi 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 fi
print_header "Running Puppet Scenario: ${SCENARIO} (1st time)" print_header "Running Puppet Scenario: ${SCENARIO} (1st time)"