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

Facter 4 reports lsbmajdistrelease on Ubuntu differently than facter 3

    XMLWordPrintable

Details

    • Night's Watch
    • 2
    • NW - 2021-03-17
    • Needs Assessment
    • Bug Fix
    • The `lsbmajdistrelease` fact from Facter 4 was not showing the correct value on Ubuntu due to their unique approach on versioning. This fix aligns the fact's output with Facter 3 accordingly.
    • Needs Assessment

    Description

      Due to FACT-688, facter3 reports the lsbmajdistrelease fact as 18.04, but Facter 4 only reports 18:

      # puppet facts diff
      {"hypervisors.vmware.version":{"new_value":"ESXi 6.7","old_value":""},"lsbmajdistrelease":{"new_value":"18","old_value":"18.04"}}
      

      Facter 4 should retain compatibility with 3.x

      Attachments

        Activity

          People

            luchian.nemes Luchian Nemes
            josh Josh Cooper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support