Skip to content

Commit

Permalink
And of course update the table
Browse files Browse the repository at this point in the history
  • Loading branch information
yakatz committed May 15, 2024
1 parent cb32548 commit 3042490
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,22 +100,22 @@ FacterDB::get_facts('osfamily=Debian')
| Scientific 7 | 1 | | 1 | | | | | |
| Solaris 11 | 1 | | | | | | | |
| Ubuntu 18.04 | 1 | 1 | 1 | 1 | 1 | 1 | | |
| Ubuntu 20.04 | 1 | 1 | 1 | 1 | 1 | 1 | | |
| Ubuntu 20.04 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
| Ubuntu 21.04 | 1 | 1 | 1 | | | | | |
| Ubuntu 21.10 | 1 | 1 | 1 | | | | | |
| Ubuntu 22.04 | | | 1 | 1 | 1 | 1 | 1 | 1 |
| Ubuntu 22.10 | | | 1 | | | | | |
| Windows 10 | | | 1 | 1 | 1 | | 1 | 1 |
| Windows 10 | | | 1 | 1 | 1 | 1 | 1 | 1 |
| Windows 11 | | | 1 | 1 | 1 | 1 | 1 | 1 |
| Windows Server 2012 | | | 1 | 1 | 1 | | | |
| Windows Server 2012 R2 | | | 1 | 1 | 1 | | | |
| Windows Server 2016 | | | 1 | 1 | 1 | | | |
| Windows Server 2016 Core | | | 1 | 1 | 1 | | | |
| Windows Server 2019 | | | 1 | 1 | 1 | | 1 | 1 |
| Windows Server 2019 | | | 1 | 1 | 1 | 1 | 1 | 1 |
| Windows Server 2019 Core | | | 1 | 1 | 1 | | | |
| Windows Server 2022 | | | 1 | 1 | 1 | | 1 | 1 |
| Windows Server 2022 | | | 1 | 1 | 1 | 1 | 1 | 1 |
| Windows Server 2022 Core | | | 1 | 1 | 1 | | | |
| openSUSE 15 | 1 | 1 | 1 | 1 | 1 | 1 | | |
| windows 11 | | | 1 | 1 | 1 | | 1 | 1 |
| openSUSE 15 | 1 | 1 | 1 | 1 | 1 | 1 | | 1 |

Where the number (1, 2 etc.) are the number of factsets for that OS and facter combination (e.g., x86_64 and i386 architectures).

Expand Down
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ def factset_to_os_label(fs)
db_filename = fs[:_facterdb_filename] || 'there_is_no_filename'
label = if /windows-10-/.match?(db_filename)
'Windows 10'
elsif /windows-7-/.match?(db_filename)
'Windows 7'
elsif /windows-11-/.match?(db_filename)
'Windows 11'
elsif /windows-8[\d.]*-/.match?(db_filename)
"Windows #{os__rel.sub('6.2.9200', '8').sub('6.3.9600', '8.1')}"
elsif /windows-.+-core-/.match?(db_filename)
Expand Down

0 comments on commit 3042490

Please sign in to comment.