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

Facter should detect PhotonOS

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • FACT 3.4.0
    • None
    • 3
    • Client 2016-06-29
    • New Feature
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support