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

Facter should detect PhotonOS

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: FACT 3.4.0
    • Component/s: None
    • Template:
    • Story Points:
      3
    • Sprint:
      Client 2016-06-29
    • Release Notes:
      New Feature
    • Release Notes Summary:
      This commit adds PhotonOS detection to the Facter {{os}} structured facts and related legacy flat facts. The OS name is "PhotonOS", and its family is "RedHat".

      Description

      facter running on PhotonOS correctly detects it as Linux but does not provide details about the PhotonOS version. For instance:

      {
        architecture => "x86_64",
        family => "Linux",
        hardware => "x86_64",
        name => "Linux",
        release => {
          full => "4.0.9",
          major => "4",
          minor => "0"
        },
        selinux => {
          enabled => false
        }
      }
      

      The following information is available in lsb-release:

      $ cat /etc/lsb-release
      DISTRIB_ID="VMware Photon"
      DISTRIB_RELEASE="1.0 TP2"
      DISTRIB_CODENAME=Photon
      DISTRIB_DESCRIPTION="VMware Photon 1.0 TP2"
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              gareth Gareth Rushgrove
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support