diff --git a/run_tests.sh b/run_tests.sh index 45cffa768..861a743e7 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -147,6 +147,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)"