Update the paths on install modules helper shell script

Change-Id: I3db8eca0d310de6106a18d2ccf10a9682224a120
This commit is contained in:
Alex Ruiz Estradera 2016-07-11 11:59:43 +02:00
parent 3c88ab80e6
commit 4ee0a78f81

View File

@ -16,9 +16,10 @@ else
export PUPPET_BASE_PATH=/etc/puppet
fi
export SCRIPT_DIR=$(cd `dirname $0` && pwd -P)
export SCRIPT_DIR=$(cd `dirname $0` && pwd -P)/../../
export FUNCTIONS_DIR=$(cd `dirname $0` && pwd -P)
export PUPPETFILE_DIR=${PUPPETFILE_DIR:-${PUPPET_BASE_PATH}/modules}
source $SCRIPT_DIR/functions
source $FUNCTIONS_DIR/functions
print_header 'Start (install_modules.sh)'
print_header 'Install r10k'