From bc818cbc65fc47061b918e020572d92c296b6111 Mon Sep 17 00:00:00 2001 From: Ben Kero Date: Tue, 16 Feb 2016 14:32:33 -0800 Subject: [PATCH] Add ability to manually install puppet modules This commit adds the ability to manually install puppet modules. This is useful when using an installation method not provided by the PUPPETFILE_DIR environment variable. Change-Id: Ie6519d8adb989eaec59d2f3047205c4fa2212419 --- run_tests.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index 8a4470550..e3f629349 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -14,6 +14,7 @@ # under the License. export SCENARIO=${SCENARIO:-scenario001} +export MANAGE_PUPPET_MODULES=${MANAGE_PUPPET_MODULES:-true} export MANAGE_REPOS=${MANAGE_REPOS:-true} export SCRIPT_DIR=$(cd `dirname $0` && pwd -P) source $SCRIPT_DIR/functions @@ -61,7 +62,9 @@ elif is_fedora; then $SUDO yum install -y dstat puppet fi -$SUDO ./install_modules.sh +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