diff --git a/functions b/functions index 4343efae7..8aeb965f3 100644 --- a/functions +++ b/functions @@ -8,21 +8,22 @@ # # - ``SCRIPT_DIR`` must be set to script path # - ``GEM_BIN_DIR`` must be set to Gem bin directory +# - ``MODULES_DIR`` must be set to Puppet modules directory install_external() { - PUPPETFILE=${SCRIPT_DIR}/Puppetfile1 r10k -v DEBUG puppetfile install + r10k -v DEBUG puppetfile install --puppetfile ${SCRIPT_DIR}/Puppetfile1 --moduledir ${MODULES_DIR} } # Install Puppet OpenStack modules with zuul-cloner # Uses the following variables: # -# - ``PUPPETFILE_DIR`` must be set to Puppet modules directory +# - ``MODULES_DIR`` must be set to Puppet modules directory # - ``SCRIPT_DIR`` must be set to script path # - ``ZUUL_BRANCH`` must be set to Zuul branch. Fallback to 'master'. install_openstack() { cat > clonemap.yaml <