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
This commit is contained in:
Ben Kero 2016-02-16 14:32:33 -08:00
parent e75159f71c
commit bc818cbc65

View File

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