Add ability to pass puppet args in as env var

This patch will add support to run_tests.sh for adding additional
environment variables. This can be useful for debugging. This is put
behind a switch so the current functionality is maintaned.

Change-Id: I8e5136b06299884e8b0f9a8621e9cbf28a12dd58
This commit is contained in:
Ben Kero 2016-02-16 14:29:03 -08:00
parent e75159f71c
commit f135531556

View File

@ -15,6 +15,7 @@
export SCENARIO=${SCENARIO:-scenario001}
export MANAGE_REPOS=${MANAGE_REPOS:-true}
export PUPPET_ARGS=${PUPPET_ARGS:-}
export SCRIPT_DIR=$(cd `dirname $0` && pwd -P)
source $SCRIPT_DIR/functions
@ -40,7 +41,7 @@ else
git clone git://git.openstack.org/openstack/tempest /tmp/openstack/tempest
fi
PUPPET_ARGS="--detailed-exitcodes --verbose --color=false --debug"
PUPPET_ARGS="${PUPPET_ARGS} --detailed-exitcodes --verbose --color=false --debug"
function run_puppet() {
local manifest=$1