Use direct links to HDP distribution

It's preferable to use direct links to HDP
distribution in hdp local mirror element, because
depending on version of distribution links can be totally
different.

Change-Id: I5f82bd83d3bd6de462dce2d15920589e7bb0f0c6
This commit is contained in:
Vitaly Gridnev 2015-10-21 19:34:49 +03:00
parent d1f252c958
commit 14d0be3b02
5 changed files with 10 additions and 10 deletions

View File

@ -7,12 +7,12 @@ This element creates mirror with HDP packages.
Environment Variables
---------------------
DIB_HDP_STACK_VERSION
DIB_HDP_STACK_URL
:Required: Yes
:Description: Version of HDP stack
:Example: ``DIB_HDP_STACK_VERSION="2.2.6.0"``
:Description: URL of the HDP stack
:Example: ``DIB_HDP_STACK_URL="http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.2.0/HDP-2.3.2.0-centos6-rpm.tar.gz"``
DIB_HDP_UTILS_VERSION
DIB_HDP_UTILS_URL
:Required: Yes
:Description: Version of HDP Utils
:Example: ``DIB_HDP_UTILS_VERSION="1.1.0.20"``
:Description: URL of HDP Utils
:Example: ``DIB_HDP_UTILS_VERSION="http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6/HDP-UTILS-1.1.0.20-centos6.tar.gz"``

View File

@ -6,5 +6,5 @@ fi
set -eu
set -o pipefail
[ -n "$DIB_HDP_STACK_VERSION" ]
[ -n "$DIB_HDP_UTILS_VERSION" ]
[ -n "$DIB_HDP_STACK_URL" ]
[ -n "$DIB_HDP_UTILS_URL" ]

View File

@ -1 +1 @@
hdp-stack tar ${DIB_DEFAULT_APACHE_DIR}/hdp/ http://public-repo-1.hortonworks.com/HDP/centos6/HDP-${DIB_HDP_STACK_VERSION}-centos6-rpm.tar.gz
hdp-stack tar ${DIB_DEFAULT_APACHE_DIR}/hdp/ ${DIB_HDP_STACK_URL}

View File

@ -1 +1 @@
hdp-utils tar ${DIB_DEFAULT_APACHE_DIR}/hdp-utils/ http://public-repo-1.hortonworks.com/HDP-UTILS-${DIB_HDP_UTILS_VERSION}/repos/centos6/HDP-UTILS-${DIB_HDP_UTILS_VERSION}-centos6.tar.gz
hdp-utils tar ${DIB_DEFAULT_APACHE_DIR}/hdp-utils/ ${DIB_HDP_UTILS_URL}