You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by ev...@apache.org on 2018/10/04 04:28:51 UTC

bigtop git commit: BIGTOP-3088: provisioner failed to run puppet deployment on CentOS-7

Repository: bigtop
Updated Branches:
  refs/heads/master ffb5aabfd -> 215940dcf


BIGTOP-3088: provisioner failed to run puppet deployment on CentOS-7

Deploy with puppet on centos-7 failed.
The root cause is puppet-stdlib (4.25) in distro is not compatible with
puppet <4. Pin stdlib to 4.12.0 should fix this problem.

Change-Id: I8ec557412b660cc51399da3c81014b47aa366d6a
Signed-off-by: Jun He <ju...@linaro.org>
Signed-off-by: Evans Ye <ev...@apache.org>


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

Branch: refs/heads/master
Commit: 215940dcf12453c40a66da8e666eab67811b8ee7
Parents: ffb5aab
Author: Jun He <ju...@linaro.org>
Authored: Wed Oct 3 20:00:02 2018 +0800
Committer: Evans Ye <ev...@apache.org>
Committed: Thu Oct 4 12:28:38 2018 +0800

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


http://git-wip-us.apache.org/repos/asf/bigtop/blob/215940dc/bigtop_toolchain/bin/puppetize.sh
----------------------------------------------------------------------
diff --git a/bigtop_toolchain/bin/puppetize.sh b/bigtop_toolchain/bin/puppetize.sh
index b438f44..cef6449 100755
--- a/bigtop_toolchain/bin/puppetize.sh
+++ b/bigtop_toolchain/bin/puppetize.sh
@@ -40,7 +40,12 @@ case ${ID}-${VERSION_ID} in
         ;;
     centos-7*)
         rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
-        yum -y install hostname curl sudo unzip wget puppet puppetlabs-stdlib
+        yum updateinfo
+        # BIGTOP-3088: pin puppetlabs-stdlib to 4.12.0 as the one provided by
+        # distro (4.25.0) has conflict with puppet<4. Should be removed once
+        # puppet in distro is updated.
+        yum -y install hostname curl sudo unzip wget puppet
+        puppet module install puppetlabs-stdlib --version 4.12.0
         ;;
     *)
         echo "Unsupported OS ${ID}-${VERSION_ID}."