run_tests: install modules after installing puppet

Make sure we install puppet before running 'puppet module list'.

Change-Id: I025ede4eb8eb2e7112e0f1f268949d13692f42f4
This commit is contained in:
Emilien Macchi 2015-11-04 22:08:45 -05:00
parent cd328773b0
commit 370ab5db26

View File

@ -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 &