Skip to content

Commit

Permalink
Merge pull request #2498 from joshcooper/win11_main
Browse files Browse the repository at this point in the history
(maint) Update acceptance test for Win11
  • Loading branch information
joshcooper authored Jul 6, 2022
2 parents b29fe99 + 2dcc4e5 commit 0c93b74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions acceptance/lib/facter/acceptance/base_fact_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,8 @@ def windows_expected_facts(agent)
os_version = agent['platform'] =~ /R2/ ? '2012 R2' : '2012'
elsif agent['platform'] =~ /-10/
os_version = '10'
elsif agent['platform'] =~ /-11/
os_version = '11'
elsif agent['platform'] =~ /2016/
os_version = '2016'
elsif agent['platform'] =~ /2019/
Expand Down

0 comments on commit 0c93b74

Please sign in to comment.