This is an automated email from the ASF dual-hosted git repository. sekikn pushed a commit to branch branch-3.3 in repository https://gitbox.apache.org/repos/asf/bigtop.git
commit b29ebf49ab3d8622f1da5d383a5db97e1f4eb343 Author: Masatake Iwasaki <[email protected]> AuthorDate: Sun Jun 2 17:53:39 2024 +0900 BIGTOP-4108. Add support for openEuler to the manifest of bigtop-deploy to set up Bigtop Yum repository. (#1270) (cherry picked from commit ee534f6fce4ce9e178698060287d7c2953ccec6d) --- bigtop-deploy/puppet/manifests/bigtop_repo.pp | 2 +- bigtop_toolchain/bin/puppetize.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bigtop-deploy/puppet/manifests/bigtop_repo.pp b/bigtop-deploy/puppet/manifests/bigtop_repo.pp index 6c309207e..bb3b21d78 100644 --- a/bigtop-deploy/puppet/manifests/bigtop_repo.pp +++ b/bigtop-deploy/puppet/manifests/bigtop_repo.pp @@ -20,7 +20,7 @@ class bigtop_repo { $default_repo = "http://repos.bigtop.apache.org/releases/${bigtop_repo_default_version}/${lower_os}/${operatingsystemmajrelease}/${architecture}" case $::operatingsystem { - /(OracleLinux|Amazon|CentOS|Fedora|RedHat|Rocky)/: { + /(OracleLinux|Amazon|CentOS|Fedora|RedHat|Rocky|openEuler)/: { $baseurls_array = any2array(hiera("bigtop::bigtop_repo_uri", $default_repo)) each($baseurls_array) |$count, $baseurl| { notify { "Baseurl: $baseurl": } diff --git a/bigtop_toolchain/bin/puppetize.sh b/bigtop_toolchain/bin/puppetize.sh index 3167e4549..d0ee9912a 100755 --- a/bigtop_toolchain/bin/puppetize.sh +++ b/bigtop_toolchain/bin/puppetize.sh @@ -86,6 +86,7 @@ case ${ID}-${VERSION_ID} in # openEuler ruby version is 3.X,so use puppet-7.22.0. gem install puppet:7.22.0 xmlrpc sync sys-filesystem puppet module install puppetlabs-stdlib --version 4.12.0 + puppet module install puppetlabs-yumrepo_core --version 2.1.0 #openEuler dnf defaulted is not use module,so comment module in puppet-7.22.0 sed -i "91c execute([command(:dnf), 'install', '-d', '0', '-e', self.class.error_level, '-y', args])" /usr/local/share/gems/gems/puppet-7.22.0/lib/puppet/provider/package/dnfmodule.rb ;;
