summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-09-30 20:05:35 -0700
committerGitHub <noreply@github.com>2021-09-30 20:05:35 -0700
commitdd79e571b6b28c6b84e8f1b247d891921f0e5f76 (patch)
tree0fec9541b23d1217f138e88bb0839f3870296d81
parentcb5fa332bf29a7f1e56e20ebdaeb2b7c51181e9f (diff)
parent81817afbffa87bb532087cd6bc12c32e7f34f236 (diff)
downloadchef-dd79e571b6b28c6b84e8f1b247d891921f0e5f76.tar.gz
Merge pull request #12124 from knightorc/CHEF17-Windows2019-add-ceiling
CHEF17 - Windows2019 - Version ceiling lib/chef/win32/version.rb
-rw-r--r--lib/chef/win32/version.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/win32/version.rb b/lib/chef/win32/version.rb
index fe7a80926b..65cf2fc5f0 100644
--- a/lib/chef/win32/version.rb
+++ b/lib/chef/win32/version.rb
@@ -50,7 +50,7 @@ class Chef
WIN_VERSIONS = {
"Windows Server 2022" => { major: 10, minor: 0, callable: lambda { |product_type, suite_mask, build_number| product_type != VER_NT_WORKSTATION && build_number >= 20348 } },
- "Windows Server 2019" => { major: 10, minor: 0, callable: lambda { |product_type, suite_mask, build_number| product_type != VER_NT_WORKSTATION && build_number >= 17763 } },
+ "Windows Server 2019" => { major: 10, minor: 0, callable: lambda { |product_type, suite_mask, build_number| product_type != VER_NT_WORKSTATION && build_number >= 17763 && build_number < 20348 } },
"Windows 10" => { major: 10, minor: 0, callable: lambda { |product_type, suite_mask, build_number| product_type == VER_NT_WORKSTATION } },
"Windows Server 2016" => { major: 10, minor: 0, callable: lambda { |product_type, suite_mask, build_number| product_type != VER_NT_WORKSTATION && build_number <= 14393 } },
"Windows 8.1" => { major: 6, minor: 3, callable: lambda { |product_type, suite_mask, build_number| product_type == VER_NT_WORKSTATION } },