You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Kengo Seki (Jira)" <ji...@apache.org> on 2023/06/21 09:05:00 UTC

[jira] [Created] (BIGTOP-3951) Fix toolchain to work with the recent version of facter

Kengo Seki created BIGTOP-3951:
----------------------------------

             Summary: Fix toolchain to work with the recent version of facter
                 Key: BIGTOP-3951
                 URL: https://issues.apache.org/jira/browse/BIGTOP-3951
             Project: Bigtop
          Issue Type: Improvement
          Components: toolchain
            Reporter: Kengo Seki
             Fix For: 3.2.1, 3.3.0


As of Bigtop 3.2.0, facter's version on EPEL was 3.14.2 and it considered Rocky as RedHat.

{code}
$ docker run -it bigtop/puppet:3.2.0-rockylinux-8 bash
[root@c9ab5fb66758 /]# cat /etc/redhat-release
Rocky Linux release 8.5 (Green Obsidian)
[root@c9ab5fb66758 /]# facter --version
3.14.2
[root@c9ab5fb66758 /]# facter operatingsystem
RedHat
{code}

But the recent version of facter regards Rocky as it is, so some functionalities of the toolchain don't work with it.

{code}
$ docker run -it rockylinux:8.5 bash
[root@f3e011995efb /]# dnf install -q -y epel-release
Importing GPG key 0x6D745A60:
 Userid     : "Release Engineering <in...@rockylinux.org>"
 Fingerprint: 7051 C470 A929 F454 CEBE 37B7 15AF 5DAC 6D74 5A60
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial

Installed:
  epel-release-8-18.el8.noarch                                                                                                                                                                

[root@f3e011995efb /]# dnf install -q -y facter
Importing GPG key 0x2F86D6A1:
 Userid     : "Fedora EPEL (8) <ep...@fedoraproject.org>"
 Fingerprint: 94E2 79EB 8D8F 25B2 1810 ADF1 21EA 45AB 2F86 D6A1
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8

Installed:
  boost-atomic-1.66.0-13.el8.x86_64 boost-chrono-1.66.0-13.el8.x86_64          boost-date-time-1.66.0-13.el8.x86_64 boost-filesystem-1.66.0-13.el8.x86_64 boost-locale-1.66.0-13.el8.x86_64
  boost-log-1.66.0-13.el8.x86_64    boost-program-options-1.66.0-13.el8.x86_64 boost-regex-1.66.0-13.el8.x86_64     boost-system-1.66.0-13.el8.x86_64     boost-thread-1.66.0-13.el8.x86_64
  cpp-hocon-0.2.1-2.el8.x86_64      facter-3.14.24-1.el8.x86_64                leatherman-1.6.1-2.el8.x86_64        libicu-60.3-2.el8_1.x86_64            yaml-cpp-0.6.2-3.el8.x86_64      

[root@f3e011995efb /]# cat /etc/redhat-release
Rocky Linux release 8.5 (Green Obsidian)
[root@f3e011995efb /]# facter --version
3.14.24
[root@f3e011995efb /]# facter operatingsystem
2023-06-21 08:58:05.835174 WARN  puppetlabs.facter - could not locate a ruby library: facts requiring Ruby will not be resolved.
Rocky
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)