diff options
author | Matt Wrock <matt@mattwrock.com> | 2016-02-01 12:29:26 -0800 |
---|---|---|
committer | Matt Wrock <matt@mattwrock.com> | 2016-02-01 12:29:26 -0800 |
commit | 8e842358671a7ff2d549888c522c7e49e34c6088 (patch) | |
tree | 3d7a29ab56ffa8f671ffd2f05d09c39efe3514a7 | |
parent | abc81c0eb35a73e15217371c37235d5f13f55df7 (diff) | |
download | chef-8e842358671a7ff2d549888c522c7e49e34c6088.tar.gz |
correct windows 10 major/minor version numbersversion
-rw-r--r-- | lib/chef/win32/version.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/win32/version.rb b/lib/chef/win32/version.rb index 85a71491df..57abdbbebb 100644 --- a/lib/chef/win32/version.rb +++ b/lib/chef/win32/version.rb @@ -48,8 +48,8 @@ class Chef private_class_method :method_name_from_marketing_name WIN_VERSIONS = { - "Windows 10" => {:major => 6, :minor => 4, :callable => lambda{ |product_type, suite_mask| product_type == VER_NT_WORKSTATION }}, - "Windows Server 10" => {:major => 6, :minor => 4, :callable => lambda {|product_type, suite_mask| product_type != VER_NT_WORKSTATION }}, + "Windows 10" => {:major => 10, :minor => 0, :callable => lambda{ |product_type, suite_mask| product_type == VER_NT_WORKSTATION }}, + "Windows Server 2016" => {:major => 10, :minor => 0, :callable => lambda {|product_type, suite_mask| product_type != VER_NT_WORKSTATION }}, "Windows 8.1" => {:major => 6, :minor => 3, :callable => lambda{ |product_type, suite_mask| product_type == VER_NT_WORKSTATION }}, "Windows Server 2012 R2" => {:major => 6, :minor => 3, :callable => lambda {|product_type, suite_mask| product_type != VER_NT_WORKSTATION }}, "Windows 8" => {:major => 6, :minor => 2, :callable => lambda{ |product_type, suite_mask| product_type == VER_NT_WORKSTATION }}, |