From 370ab5db269a8c839754fe492ad2a90876b39d87 Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Wed, 4 Nov 2015 22:08:45 -0500 Subject: [PATCH] run_tests: install modules after installing puppet Make sure we install puppet before running 'puppet module list'. Change-Id: I025ede4eb8eb2e7112e0f1f268949d13692f42f4 --- run_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index 096f408f2..e03c1e411 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -25,8 +25,6 @@ if [ $(id -u) != 0 ]; then SUDO='sudo -E' fi -$SUDO ./install_modules.sh - # TODO(pabelanger): Move this into tools/install_tempest.sh and add logic so we # can clone tempest outside of the gate. Also, tempest should be sandboxed into # the local directory but works needs to be added into puppet to properly find @@ -69,6 +67,8 @@ elif is_fedora; then $SUDO yum install -y dstat puppet fi +$SUDO ./install_modules.sh + # 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 &