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

Devuan support

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • FACT 3.6.1
    • FACT 3.7.0
    • Community
    • 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`.
    • Agent
    • Bug Fix
    • 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`.
    • 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

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support

                  Time Tracking

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