Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: FACT 3.6.1
    • Fix Version/s: FACT 3.7.0
    • Component/s: Community
    • Environment:
    • Template:
    • Acceptance Criteria:
      Hide

      Running on `Devuan`, the `operatingsystem` fact should return `Devuan` instead of `Linux`.

      Show
      Running on `Devuan`, the `operatingsystem` fact should return `Devuan` instead of `Linux`.
    • Team:
      Agent
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Hide
      Running on `Devuan`, the `operatingsystem` fact would return `Linux`. It now properly returns `Devuan`.
      Show
      Running on `Devuan`, the `operatingsystem` fact would return `Linux`. It now properly returns `Devuan`.
    • QA Risk Assessment:
      Needs Assessment

      Description

      As Devuan betas are out, I'm trying to setup my first server. Having installed puppet, I'm a little surprised by how facter detects it.

      ```
      root@nemesis:~# facter operatingsystem
      Linux
      root@nemesis:~# facter os
      {
      architecture => "x86_64",
      distro => {
      codename => "jessie",
      description => "Devuan GNU/Linux 1.0 (jessie)",
      id => "Devuan",
      release =>

      { full => "1.0", major => "1", minor => "0" }

      },
      family => "Linux",
      hardware => "x86_64",
      name => "Linux",
      release =>

      { full => "3.16.0-4-amd64", major => "3", minor => "16" }

      ,
      selinux =>

      { enabled => false }

      }
      ```

      I would have expected to find my `operatingsystem` fact set to the distribution ID of my lsb_release ("Devuan"), as assume it is on Debian and Ubuntu.
      Instead, it is set to "Linux".
      Note the `lsbdistcodename` or `lsbdistid` facts are properly set though.

      I'ld probably be able to fix, granted I can figure out where's this taking place. I'm a little lost, since I last looked into facter.
      So far, I've added a custom fact similar to operatingsystem.
      I can make myself available for further testings, ...

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  syn syn
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 2 hours
                    2h
                    Remaining:
                    Remaining Estimate - 2 hours
                    2h
                    Logged:
                    Time Spent - Not Specified
                    Not Specified