diff --git a/run_tests.sh b/run_tests.sh index 89d113025..22ce78835 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -63,15 +63,15 @@ elif is_fedora; then $SUDO yum install -y dstat puppet fi -if [ "${MANAGE_PUPPET_MODULES}" = true ]; then - $SUDO ./install_modules.sh -fi - # use dstat to monitor system activity during integration testing if type "dstat" 2>/dev/null; then $SUDO dstat -tcmndrylpg --top-cpu-adv --top-io-adv --nocolor | $SUDO tee --append /var/log/dstat.log > /dev/null & fi +if [ "${MANAGE_PUPPET_MODULES}" = true ]; then + $SUDO ./install_modules.sh +fi + # Run puppet and assert something changes. set +e if [ "${MANAGE_REPOS}" = true ]; then