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

PR (594): (fact-155) Fix operatingsystemrelease on Solaris 11 - stschulte

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Community
    • Labels:
    • Template:

      Description

      (fact-155) Fix operatingsystemrelease on Solaris 11

      Pull Request Description


      since facter 1.7.0 we have an explicit `operatingsystemrelase` fact for Solaris so we do not just use the `kernel` fact anymore. Unfortunately the fact does only work on Solaris 10 and not on Solaris 11. So while on Solaris 10 we have a meaningful value now, we have a copy of the `kernel` fact on Solaris 11.

      Update the fact to print a meaningful value on Solaris 11 (strictly speaking this is a change in behaviour) and also implement an `operatingsystemmajrelease` fact to easily check for Solaris 10 or Solaris 11 in manifests.


      (webhooks-id: 608b6d68b6526ddfdc8dcd8ef126997e)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                gepetto-bot gepetto-bot
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support