summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn <john.mccrae@progress.com>2023-05-05 01:45:29 +0000
committerJohn <john.mccrae@progress.com>2023-05-05 01:45:29 +0000
commit32322e267ffcdbb5517b1705c97e3764d32180d0 (patch)
tree81f02e4e4f61955c187c65eed577b1b0e2ab44fb
parentad571b2b5d72b7aa91452965cc95488bf6bffba1 (diff)
downloadchef-32322e267ffcdbb5517b1705c97e3764d32180d0.tar.gz
Updating the windows versions
Signed-off-by: John <john.mccrae@progress.com>
-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 d9ce79de9e..a4a196ed4a 100644
--- a/lib/chef/win32/version.rb
+++ b/lib/chef/win32/version.rb
@@ -52,7 +52,7 @@ class Chef
"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 && build_number < 20348 } },
"Windows 11" => { major: 10, minor: 0, callable: lambda { |product_type, suite_mask, build_number| product_type == VER_NT_WORKSTATION && build_number >= 22000 } },
- "Windows 10" => { major: 10, minor: 0, callable: lambda { |product_type, suite_mask, build_number| product_type == VER_NT_WORKSTATION } },
+ "Windows 10" => { major: 10, minor: 0, callable: lambda { |product_type, suite_mask, build_number| product_type == VER_NT_WORKSTATION && build_number >= 19044 && build_number < 22000 } },
"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 } },
"Windows Server 2012 R2" => { major: 6, minor: 3, callable: lambda { |product_type, suite_mask, build_number| product_type != VER_NT_WORKSTATION } },