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

Facter reports osfamily as Linux on Amazon Linux but it should be Redhat

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: FACT 1.7.6
    • Fix Version/s: FACT 2.4.4
    • Component/s: Community
    • Labels:
      None
    • Environment:

      "OracleLinux", "OVS", "OEL", "Amazon"

    • Template:

      Description

      The problem seems to be in the file `/usr/lib/ruby/site_ruby/1.8/facter/osfamily.rb`

      which ends up using the osoperatingsystem as osfamily in the case of Amazon Linux.

      Line 19 is:

      when "RedHat", "Fedora", "CentOS", "Scientific", "SLC", "Ascendos", "CloudLinux", "PSBM", "OracleLinux", "OVS", "OEL"

      and should be:

      when "RedHat", "Fedora", "CentOS", "Scientific", "SLC", "Ascendos", "CloudLinux", "PSBM", "OracleLinux", "OVS", "OEL", "Amazon"

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              toddsoc Todd OConnell
              QA Contact:
              Eric Thompson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support