diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-04-11 12:17:26 +0400 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-04-11 12:33:31 +0400 |
commit | d3981dbb10bd286bd950f46aca72f398b887b0f8 (patch) | |
tree | d84d7f479332180beaf93594a7ca8e7a366e59ab /fuel-plugin/pre_build_hook | |
parent | 39928e5e9503db6f1971c74a84e3d10a4e4f6a6e (diff) |
[fuel-plugin] Add missing dependency for shellvar
Add missing augeasproviders_core module into
pre build stage as dependency for shellvar puppet type.
JIRA: KVMFORNFV-77
Change-Id: Ib06c7b08b35fab87b0faf9f946fcc9d630d825af
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'fuel-plugin/pre_build_hook')
-rwxr-xr-x | fuel-plugin/pre_build_hook | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/fuel-plugin/pre_build_hook b/fuel-plugin/pre_build_hook index 7d9aa155f..549bc19ff 100755 --- a/fuel-plugin/pre_build_hook +++ b/fuel-plugin/pre_build_hook @@ -7,7 +7,10 @@ DIR="$(dirname `readlink -f $0`)" MODULES="${DIR}/deployment_scripts/puppet/modules" SHELLVAR_VERSION='2.2.1' +AUGCORE_VERSION='2.1.3' + SHELLVAR_URL="https://github.com/hercules-team/augeasproviders_shellvar/archive/${SHELLVAR_VERSION}.tar.gz" +AUGCORE_URL="https://github.com/hercules-team/augeasproviders_core/archive/${AUGCORE_VERSION}.tar.gz" function build_pkg { case $1 in @@ -30,6 +33,8 @@ do build_pkg $system done -rm -rf ${MODULES}/shellvar -mkdir -p ${MODULES}/shellvar -wget -qO- ${SHELLVAR_URL} | tar -C ${MODULES}/shellvar --strip-components=1 -zxvf - +rm -rf ${MODULES}/* +mkdir -p ${MODULES}/shellvar ${MODULES}/augcore + +wget -qO- ${SHELLVAR_URL} | tar -C ${MODULES}/shellvar --strip-components=1 -zxvf - +wget -qO- ${AUGCORE_URL} | tar -C ${MODULES}/augcore --strip-components=1 -zxvf - |