This is an automated email from the ASF dual-hosted git repository.
sekikn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/master by this push:
new 9020cd0 BIGTOP-3369: RHEL8 does not have PowerTools repo but
CodeReady Builder (#645)
9020cd0 is described below
commit 9020cd0ab21f38d082512ab0b2da1803a90e785b
Author: masatana <[email protected]>
AuthorDate: Tue Jun 9 14:19:10 2020 +0900
BIGTOP-3369: RHEL8 does not have PowerTools repo but CodeReady Builder
(#645)
---
bigtop_toolchain/bin/puppetize.sh | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/bigtop_toolchain/bin/puppetize.sh
b/bigtop_toolchain/bin/puppetize.sh
index a6ede3c..b048a3a 100755
--- a/bigtop_toolchain/bin/puppetize.sh
+++ b/bigtop_toolchain/bin/puppetize.sh
@@ -47,7 +47,7 @@ case ${ID}-${VERSION_ID} in
yum -y install hostname curl sudo unzip wget puppet
puppet module install puppetlabs-stdlib --version 4.12.0
;;
- centos-8* | rhel-8*)
+ centos-8*)
rpm -Uvh https://yum.puppet.com/puppet5-release-el-8.noarch.rpm
dnf -y check-update
dnf -y install hostname curl sudo unzip wget puppet-agent
'dnf-command(config-manager)'
@@ -56,6 +56,15 @@ case ${ID}-${VERSION_ID} in
# As a workaround for that, enable the former here in advance of
running the Puppet manifests.
dnf config-manager --set-enabled PowerTools
;;
+ rhel-8*)
+ rpm -Uvh https://yum.puppet.com/puppet5-release-el-8.noarch.rpm
+ dnf -y check-update
+ dnf -y install hostname curl sudo unzip wget puppet-agent
'dnf-command(config-manager)'
+ puppet module install puppetlabs-stdlib
+ # Enabling the CodeReady repositories via Puppet doesn't seem to work
in some cases.
+ # As a workaround for that, enable the former here in advance of
running the Puppet manifests.
+ dnf config-manager --set-enabled codeready-builder-for-rhel-8-rhui-rpms
+ ;;
*)
echo "Unsupported OS ${ID}-${VERSION_ID}."
exit 1