Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
yakatz committed May 14, 2024
1 parent f18e2d8 commit 86ae78a
Show file tree
Hide file tree
Showing 6 changed files with 306 additions and 81 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,12 @@ FacterDB::get_facts('osfamily=Debian')
| Windows Server 2012 R2 Core | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | | | | | | |
| Windows Server 2016 | | | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | 1 | 1 | 1 | | | |
| Windows Server 2016 Core | | | | | | | | | | | | | | | | | | | | | | | | | | 1 | 1 | 1 | | | |
| Windows Server 2019 | | | | | | | | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | 1 | 1 | 1 | | 1 | |
| Windows Server 2019 | | | | | | | | 1 | 1 | 1 | | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | | 1 | 1 | 1 | | 1 | 1 |
| Windows Server 2019 Core | | | | | | | | | | | | | | | | | | | | | | | | | | 1 | 1 | 1 | | | |
| Windows Server 2022 | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |
| windows 2022 | | | | | | | | | | | | | | | | | | | | | | | | | | 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
52 changes: 26 additions & 26 deletions facts/4.3/windows-2019-x86_64.facts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"product": {
"name": "VirtualBox",
"serial_number": "0",
"uuid": "D30E43A8-C27A-4EA3-8C40-808DDE5CE052"
"uuid": "20521418-B9EE-4B1A-A83F-05AC28444B69"
}
},
"domain": "example.com",
Expand All @@ -23,8 +23,8 @@
"hostname": "foo",
"hypervisors": {
"virtualbox": {
"revision": "161095",
"version": "7.0.14"
"revision": "161033",
"version": "6.1.50"
}
},
"id": "FOO\\vagrant",
Expand All @@ -34,8 +34,8 @@
},
"interfaces": "Ethernet",
"ipaddress": "10.0.2.15",
"ipaddress6": "fe80::5156:1072:2404:1e7f",
"ipaddress6_Ethernet": "fe80::5156:1072:2404:1e7f",
"ipaddress6": "fe80::a2f0:324f:9b7f:1d6b",
"ipaddress6_Ethernet": "fe80::a2f0:324f:9b7f:1d6b",
"ipaddress_Ethernet": "10.0.2.15",
"is_virtual": true,
"kernel": "windows",
Expand All @@ -47,19 +47,19 @@
"manufacturer": "innotek GmbH",
"memory": {
"system": {
"available": "895.52 MiB",
"available_bytes": 939024384,
"capacity": "55.92%",
"total": "1.98 GiB",
"total_bytes": 2130382848,
"used": "1.11 GiB",
"used_bytes": 1191358464
"available": "1.00 GiB",
"available_bytes": 1079013376,
"capacity": "49.44%",
"total": "1.99 GiB",
"total_bytes": 2133962752,
"used": "1006.08 MiB",
"used_bytes": 1054949376
}
},
"memoryfree": "895.52 MiB",
"memoryfree_mb": 895.5234375,
"memorysize": "1.98 GiB",
"memorysize_mb": 2031.69140625,
"memoryfree": "1.00 GiB",
"memoryfree_mb": 1029.02734375,
"memorysize": "1.99 GiB",
"memorysize_mb": 2035.10546875,
"mtu_Ethernet": 1500,
"netmask": "255.255.255.0",
"netmask6": "ffff:ffff:ffff:ffff::",
Expand All @@ -85,15 +85,15 @@
],
"bindings6": [
{
"address": "fe80::5156:1072:2404:1e7f",
"address": "fe80::a2f0:324f:9b7f:1d6b",
"netmask": "ffff:ffff:ffff:ffff::",
"network": "fe80::",
"scope6": "link"
}
],
"dhcp": "10.0.2.2",
"ip": "10.0.2.15",
"ip6": "fe80::5156:1072:2404:1e7f",
"ip6": "fe80::a2f0:324f:9b7f:1d6b",
"mac": "08:00:27:E5:87:1C",
"mtu": 1500,
"netmask": "255.255.255.0",
Expand All @@ -104,7 +104,7 @@
}
},
"ip": "10.0.2.15",
"ip6": "fe80::5156:1072:2404:1e7f",
"ip6": "fe80::a2f0:324f:9b7f:1d6b",
"mac": "08:00:27:E5:87:1C",
"mtu": 1500,
"netmask": "255.255.255.0",
Expand Down Expand Up @@ -137,14 +137,14 @@
"osfamily": "windows",
"path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\OpenSSH-Win64;C:\\Users\\vagrant\\AppData\\Local\\Microsoft\\WindowsApps",
"physicalprocessorcount": 1,
"processor0": "Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz",
"processor0": "Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz",
"processorcount": 2,
"processors": {
"cores": 2,
"count": 2,
"isa": "x64",
"models": [
"Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz"
"Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz"
],
"physicalcount": 1,
"threads": 1
Expand Down Expand Up @@ -208,15 +208,15 @@
"system_uptime": {
"days": 0,
"hours": 0,
"seconds": 617,
"uptime": "0:10 hours"
"seconds": 489,
"uptime": "0:08 hours"
},
"timezone": "Coordinated Universal Time",
"uptime": "0:10 hours",
"uptime": "0:08 hours",
"uptime_days": 0,
"uptime_hours": 0,
"uptime_seconds": 617,
"uuid": "D30E43A8-C27A-4EA3-8C40-808DDE5CE052",
"uptime_seconds": 489,
"uuid": "20521418-B9EE-4B1A-A83F-05AC28444B69",
"virtual": "virtualbox",
"windows_edition_id": "ServerStandardEval",
"windows_installation_type": "Server Core",
Expand Down
52 changes: 26 additions & 26 deletions facts/4.4/windows-2019-x86_64.facts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"product": {
"name": "VirtualBox",
"serial_number": "0",
"uuid": "D30E43A8-C27A-4EA3-8C40-808DDE5CE052"
"uuid": "20521418-B9EE-4B1A-A83F-05AC28444B69"
}
},
"domain": "example.com",
Expand All @@ -23,8 +23,8 @@
"hostname": "foo",
"hypervisors": {
"virtualbox": {
"revision": "161095",
"version": "7.0.14"
"revision": "161033",
"version": "6.1.50"
}
},
"id": "FOO\\vagrant",
Expand All @@ -34,8 +34,8 @@
},
"interfaces": "Ethernet",
"ipaddress": "10.0.2.15",
"ipaddress6": "fe80::5156:1072:2404:1e7f",
"ipaddress6_Ethernet": "fe80::5156:1072:2404:1e7f",
"ipaddress6": "fe80::a2f0:324f:9b7f:1d6b",
"ipaddress6_Ethernet": "fe80::a2f0:324f:9b7f:1d6b",
"ipaddress_Ethernet": "10.0.2.15",
"is_virtual": true,
"kernel": "windows",
Expand All @@ -47,19 +47,19 @@
"manufacturer": "innotek GmbH",
"memory": {
"system": {
"available": "924.30 MiB",
"available_bytes": 969199616,
"capacity": "54.51%",
"total": "1.98 GiB",
"total_bytes": 2130382848,
"used": "1.08 GiB",
"used_bytes": 1161183232
"available": "1.02 GiB",
"available_bytes": 1092853760,
"capacity": "48.79%",
"total": "1.99 GiB",
"total_bytes": 2133962752,
"used": "992.88 MiB",
"used_bytes": 1041108992
}
},
"memoryfree": "924.30 MiB",
"memoryfree_mb": 924.30078125,
"memorysize": "1.98 GiB",
"memorysize_mb": 2031.69140625,
"memoryfree": "1.02 GiB",
"memoryfree_mb": 1042.2265625,
"memorysize": "1.99 GiB",
"memorysize_mb": 2035.10546875,
"mtu_Ethernet": 1500,
"netmask": "255.255.255.0",
"netmask6": "ffff:ffff:ffff:ffff::",
Expand All @@ -85,15 +85,15 @@
],
"bindings6": [
{
"address": "fe80::5156:1072:2404:1e7f",
"address": "fe80::a2f0:324f:9b7f:1d6b",
"netmask": "ffff:ffff:ffff:ffff::",
"network": "fe80::",
"scope6": "link"
}
],
"dhcp": "10.0.2.2",
"ip": "10.0.2.15",
"ip6": "fe80::5156:1072:2404:1e7f",
"ip6": "fe80::a2f0:324f:9b7f:1d6b",
"mac": "08:00:27:E5:87:1C",
"mtu": 1500,
"netmask": "255.255.255.0",
Expand All @@ -104,7 +104,7 @@
}
},
"ip": "10.0.2.15",
"ip6": "fe80::5156:1072:2404:1e7f",
"ip6": "fe80::a2f0:324f:9b7f:1d6b",
"mac": "08:00:27:E5:87:1C",
"mtu": 1500,
"netmask": "255.255.255.0",
Expand Down Expand Up @@ -137,14 +137,14 @@
"osfamily": "windows",
"path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\OpenSSH-Win64;C:\\Users\\vagrant\\AppData\\Local\\Microsoft\\WindowsApps",
"physicalprocessorcount": 1,
"processor0": "Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz",
"processor0": "Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz",
"processorcount": 2,
"processors": {
"cores": 2,
"count": 2,
"isa": "x64",
"models": [
"Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz"
"Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz"
],
"physicalcount": 1,
"threads": 1
Expand Down Expand Up @@ -208,15 +208,15 @@
"system_uptime": {
"days": 0,
"hours": 0,
"seconds": 709,
"uptime": "0:11 hours"
"seconds": 864,
"uptime": "0:14 hours"
},
"timezone": "Coordinated Universal Time",
"uptime": "0:11 hours",
"uptime": "0:14 hours",
"uptime_days": 0,
"uptime_hours": 0,
"uptime_seconds": 709,
"uuid": "D30E43A8-C27A-4EA3-8C40-808DDE5CE052",
"uptime_seconds": 864,
"uuid": "20521418-B9EE-4B1A-A83F-05AC28444B69",
"virtual": "virtualbox",
"windows_edition_id": "ServerStandardEval",
"windows_installation_type": "Server Core",
Expand Down
52 changes: 26 additions & 26 deletions facts/4.6/windows-2019-x86_64.facts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"product": {
"name": "VirtualBox",
"serial_number": "0",
"uuid": "D30E43A8-C27A-4EA3-8C40-808DDE5CE052"
"uuid": "20521418-B9EE-4B1A-A83F-05AC28444B69"
}
},
"domain": "example.com",
Expand All @@ -23,8 +23,8 @@
"hostname": "foo",
"hypervisors": {
"virtualbox": {
"revision": "161095",
"version": "7.0.14"
"revision": "161033",
"version": "6.1.50"
}
},
"id": "FOO\\vagrant",
Expand All @@ -34,8 +34,8 @@
},
"interfaces": "Ethernet",
"ipaddress": "10.0.2.15",
"ipaddress6": "fe80::5156:1072:2404:1e7f",
"ipaddress6_Ethernet": "fe80::5156:1072:2404:1e7f",
"ipaddress6": "fe80::a2f0:324f:9b7f:1d6b",
"ipaddress6_Ethernet": "fe80::a2f0:324f:9b7f:1d6b",
"ipaddress_Ethernet": "10.0.2.15",
"is_virtual": true,
"kernel": "windows",
Expand All @@ -47,19 +47,19 @@
"manufacturer": "innotek GmbH",
"memory": {
"system": {
"available": "914.47 MiB",
"available_bytes": 958894080,
"capacity": "54.99%",
"total": "1.98 GiB",
"total_bytes": 2130382848,
"used": "1.09 GiB",
"used_bytes": 1171488768
"available": "1.01 GiB",
"available_bytes": 1085415424,
"capacity": "49.14%",
"total": "1.99 GiB",
"total_bytes": 2133962752,
"used": "999.97 MiB",
"used_bytes": 1048547328
}
},
"memoryfree": "914.47 MiB",
"memoryfree_mb": 914.47265625,
"memorysize": "1.98 GiB",
"memorysize_mb": 2031.69140625,
"memoryfree": "1.01 GiB",
"memoryfree_mb": 1035.1328125,
"memorysize": "1.99 GiB",
"memorysize_mb": 2035.10546875,
"mtu_Ethernet": 1500,
"netmask": "255.255.255.0",
"netmask6": "ffff:ffff:ffff:ffff::",
Expand All @@ -85,15 +85,15 @@
],
"bindings6": [
{
"address": "fe80::5156:1072:2404:1e7f",
"address": "fe80::a2f0:324f:9b7f:1d6b",
"netmask": "ffff:ffff:ffff:ffff::",
"network": "fe80::",
"scope6": "link"
}
],
"dhcp": "10.0.2.2",
"ip": "10.0.2.15",
"ip6": "fe80::5156:1072:2404:1e7f",
"ip6": "fe80::a2f0:324f:9b7f:1d6b",
"mac": "08:00:27:E5:87:1C",
"mtu": 1500,
"netmask": "255.255.255.0",
Expand All @@ -104,7 +104,7 @@
}
},
"ip": "10.0.2.15",
"ip6": "fe80::5156:1072:2404:1e7f",
"ip6": "fe80::a2f0:324f:9b7f:1d6b",
"mac": "08:00:27:E5:87:1C",
"mtu": 1500,
"netmask": "255.255.255.0",
Expand Down Expand Up @@ -137,14 +137,14 @@
"osfamily": "windows",
"path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\OpenSSH-Win64;C:\\Users\\vagrant\\AppData\\Local\\Microsoft\\WindowsApps",
"physicalprocessorcount": 1,
"processor0": "Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz",
"processor0": "Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz",
"processorcount": 2,
"processors": {
"cores": 2,
"count": 2,
"isa": "x64",
"models": [
"Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz"
"Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz"
],
"physicalcount": 1,
"threads": 1
Expand Down Expand Up @@ -208,15 +208,15 @@
"system_uptime": {
"days": 0,
"hours": 0,
"seconds": 800,
"uptime": "0:13 hours"
"seconds": 1179,
"uptime": "0:19 hours"
},
"timezone": "Coordinated Universal Time",
"uptime": "0:13 hours",
"uptime": "0:19 hours",
"uptime_days": 0,
"uptime_hours": 0,
"uptime_seconds": 800,
"uuid": "D30E43A8-C27A-4EA3-8C40-808DDE5CE052",
"uptime_seconds": 1179,
"uuid": "20521418-B9EE-4B1A-A83F-05AC28444B69",
"virtual": "virtualbox",
"windows_edition_id": "ServerStandardEval",
"windows_installation_type": "Server Core",
Expand Down
Loading

0 comments on commit 86ae78a

Please sign in to comment.