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

OS release values not correctly reported for Windows kernel versions 6.3.x or 6.4.x

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • FACT 2.2.0
    • FACT 2.3.0
    • None
    • None
    • 1
    • Platform Client 2014-10-29

    Description

      To figure out what version of Windows we're running, we parse the kernel version string. Currently, Facter only knows what to do with versions up to 6.2. Windows 8.1 uses version 6.3.9600, which Facter doesn't know what to do with and so falls back to reporting the kernel version as the operating system release as so:

      os => {"name"=>"windows",
             "family"=>"windows", 
             "release"=> { "major"=>"6",
                           "minor"=>"3",
                           "full"=>"6.3.9600"
             }
      }
      

      To fix this, we'll need to update facter/operatingsystem/windows.rb to include a match for /^6\.3/

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              whopper William Hopper
              Eric Thompson Eric Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support