Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3951

Fix toolchain to work with the recent version of facter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.1, 3.3.0
    • toolchain
    • None

    Description

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

      $ 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
      

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

      $ docker run -it rockylinux:8.5 bash
      [root@f3e011995efb /]# dnf install -q -y epel-release
      Importing GPG key 0x6D745A60:
       Userid     : "Release Engineering <infrastructure@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) <epel@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
      

      Attachments

        Activity

          People

            sekikn Kengo Seki
            sekikn Kengo Seki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m