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

FACT [OS][RELEASE][MAJOR] returns FULL version instead of MAJOR version on WIndows Server 2016

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • FACT 3.3.0, FACT 3.4.0
    • FACT 3.4.2, FACT 3.5.0
    • Windows
    • None
    • Hide

      Facter reports the version string consistent with other Windows versions when running on Windows Server 2016.

      Show
      Facter reports the version string consistent with other Windows versions when running on Windows Server 2016.
    • Agent
    • 1
    • AP 2016-10-05

    Description

      On Windows Server 2016 factor returns the following:

      os => {
      architecture => "x64",
      family => "windows",
      hardware => "x86_64",
      name => "windows",
      release => {
      full => "10.0.14300",
      major => "10.0.14300"
      },
      windows =>

      { system32 => "C:\Windows\system32" }

      }

      where i expect:

      os => {
      architecture => "x64",
      family => "windows",
      hardware => "x86_64",
      name => "windows",
      release => {
      full => "10.0.14300",
      major => "10"
      },
      windows =>

      { system32 => "C:\Windows\system32" }

      }

      Details:
      PS C:\dev> puppet --version
      4.6.0
      PS C:\dev> facter --version
      3.4.0 (commit c86b3086f45c9de980fd23176c15e37fddf20cd4)

      Attachments

        Issue Links

          Activity

            People

              branan Branan Riley
              maxgaulhofer Max Gaulhofer
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support