You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by co...@apache.org on 2017/07/10 19:46:21 UTC

[2/2] bigtop git commit: BIGTOP-2833. [puppetize.sh] Support centos-7-aarch64 support

BIGTOP-2833. [puppetize.sh] Support centos-7-aarch64 support


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/6788abbd
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/6788abbd
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/6788abbd

Branch: refs/heads/master
Commit: 6788abbd5b90087783ee74b8f78804594216d11b
Parents: c928ad6
Author: Naresh Bhat <na...@linaro.org>
Authored: Mon Jul 10 12:45:56 2017 -0700
Committer: Konstantin Boudnik <ko...@epam.com>
Committed: Mon Jul 10 12:45:56 2017 -0700

----------------------------------------------------------------------
 bigtop_toolchain/bin/puppetize.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/6788abbd/bigtop_toolchain/bin/puppetize.sh
----------------------------------------------------------------------
diff --git a/bigtop_toolchain/bin/puppetize.sh b/bigtop_toolchain/bin/puppetize.sh
index a5ae590..c0be109 100755
--- a/bigtop_toolchain/bin/puppetize.sh
+++ b/bigtop_toolchain/bin/puppetize.sh
@@ -72,7 +72,9 @@ case ${ID}-${VERSION_ID} in
 	yum -y install curl sudo unzip wget puppet tar
 	;;
     centos-7*)
-        rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
+        if [ $HOSTTYPE = "x86_64" ] ; then
+          rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
+        fi
 	yum -y install hostname curl sudo unzip wget puppet
 	;;
     *)