diff options
author | Julian C. Dunn <jdunn@getchef.com> | 2014-10-14 22:27:57 -0400 |
---|---|---|
committer | Julian C. Dunn <jdunn@getchef.com> | 2014-10-14 22:27:57 -0400 |
commit | d3db361a069052a1cc5b6eb551afd8d45ee9b815 (patch) | |
tree | 0f74129efec5577ed9609ce4e2fb7581a98d038e | |
parent | 72f13fd58353b69fcf0f686a14cb52f8b29991a4 (diff) | |
download | chef-d3db361a069052a1cc5b6eb551afd8d45ee9b815.tar.gz |
Added Windows 10 (Server and workstation) to the marketing names version table.
-rw-r--r-- | lib/chef/win32/version.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/win32/version.rb b/lib/chef/win32/version.rb index d2138289f5..d16bd8c12f 100644 --- a/lib/chef/win32/version.rb +++ b/lib/chef/win32/version.rb @@ -48,6 +48,8 @@ class Chef public 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 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 }}, |