2015-10-05 16:44:59 -04:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
|
|
|
# This script is used by Puppet OpenStack modules to prepare
|
|
|
|
# modules before running dependencies.
|
|
|
|
#
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
if [ ! -z ${GEM_HOME} ]; then
|
|
|
|
GEM_BIN_DIR=${GEM_HOME}/bin/
|
|
|
|
fi
|
|
|
|
|
2015-10-15 09:59:57 -05:00
|
|
|
export SCRIPT_DIR=$(cd `dirname $0` && pwd -P)
|
2015-10-05 16:44:59 -04:00
|
|
|
export PUPPETFILE_DIR=${PUPPETFILE_DIR:-/etc/puppet/modules}
|
|
|
|
source $SCRIPT_DIR/functions
|
|
|
|
|
|
|
|
install_modules
|