Repository: bigtop Updated Branches: refs/heads/branch-1.3 9506ad417 -> 18a1f8854
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 <[email protected]> Signed-off-by: Evans Ye <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/18a1f885 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/18a1f885 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/18a1f885 Branch: refs/heads/branch-1.3 Commit: 18a1f8854e965183c817e28c7647d712ce54f81b Parents: 9506ad4 Author: Jun He <[email protected]> Authored: Wed Oct 3 20:00:02 2018 +0800 Committer: Evans Ye <[email protected]> Committed: Thu Oct 4 13:06:45 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/18a1f885/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}."
