Skip to content

Commit 0c93b74

Browse files
authored
Merge pull request #2498 from joshcooper/win11_main
(maint) Update acceptance test for Win11
2 parents b29fe99 + 2dcc4e5 commit 0c93b74

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

acceptance/lib/facter/acceptance/base_fact_utils.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,8 @@ def windows_expected_facts(agent)
415415
os_version = agent['platform'] =~ /R2/ ? '2012 R2' : '2012'
416416
elsif agent['platform'] =~ /-10/
417417
os_version = '10'
418+
elsif agent['platform'] =~ /-11/
419+
os_version = '11'
418420
elsif agent['platform'] =~ /2016/
419421
os_version = '2016'
420422
elsif agent['platform'] =~ /2019/

0 commit comments

Comments
 (0)