Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-1888

'os.release' values not correct for VZ7

    XMLWordPrintable

Details

    • Night's Watch
    • PR - 2019-04-03, PR - 2019-04-17, PR - 2019-05-02, PR - 2019-05-15, PR - 2019-05-29, PR - 2019-06-12, PR - 2019-06-25
    • Needs Assessment
    • Enhancement
    • Hide
      [Community Supported OS]
      - added support for Virtuzzo Linux facts
      Show
      [Community Supported OS] - added support for Virtuzzo Linux facts
    • Needs Assessment

    Description

      Facter 3.12.0 ships d9c30e5 which adds support for VirtuozzoLinux. This breaks parsing the release information. Instead, as a fallback, kernel version will be returned:
      Version 3.12.0:

      os => {
        architecture => "x86_64",
        family => "Linux",
        hardware => "x86_64",
        name => "VirtuozzoLinux",
        release => {
          full => "3.10.0-693.17.1.vz7.43.10",
          major => "3",
          minor => "10"
        },
        selinux => {
          enabled => false
        }
      }
      

      Version 3.11.4:

      {
        architecture => "x86_64",
        family => "RedHat",
        hardware => "x86_64",
        name => "RedHat",
        release => {
          full => "7.5",
          major => "7",
          minor => "5"
        },
        selinux => {
          enabled => false
        }
      }
      

      In case of VirtuozzoLinux Facter should also return the correct release information. It's still in redhat-release:

      # cat /etc/redhat-release 
      Virtuozzo Linux release 7.5
      

      Attachments

        Activity

          People

            gheorghe.popescu Gheorghe Popescu
            kilian.engelhardt Kilian Engelhardt
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support