From 86ae78a3bc2f9a792f4a6ade0c5deba77d28b54d Mon Sep 17 00:00:00 2001 From: Yehuda Katz Date: Tue, 14 May 2024 16:38:30 -0400 Subject: [PATCH] WIP --- README.md | 4 +- facts/4.3/windows-2019-x86_64.facts | 52 +++---- facts/4.4/windows-2019-x86_64.facts | 52 +++---- facts/4.6/windows-2019-x86_64.facts | 52 +++---- facts/4.7/windows-2019-x86_64.facts | 225 ++++++++++++++++++++++++++++ facts/windows_get_facts.ps1 | 2 +- 6 files changed, 306 insertions(+), 81 deletions(-) create mode 100644 facts/4.7/windows-2019-x86_64.facts diff --git a/README.md b/README.md index 05bb4a6a..73d63714 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/facts/4.3/windows-2019-x86_64.facts b/facts/4.3/windows-2019-x86_64.facts index b4cddeff..9ffa6fc8 100644 --- a/facts/4.3/windows-2019-x86_64.facts +++ b/facts/4.3/windows-2019-x86_64.facts @@ -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", @@ -23,8 +23,8 @@ "hostname": "foo", "hypervisors": { "virtualbox": { - "revision": "161095", - "version": "7.0.14" + "revision": "161033", + "version": "6.1.50" } }, "id": "FOO\\vagrant", @@ -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", @@ -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::", @@ -85,7 +85,7 @@ ], "bindings6": [ { - "address": "fe80::5156:1072:2404:1e7f", + "address": "fe80::a2f0:324f:9b7f:1d6b", "netmask": "ffff:ffff:ffff:ffff::", "network": "fe80::", "scope6": "link" @@ -93,7 +93,7 @@ ], "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", @@ -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", @@ -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 @@ -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", diff --git a/facts/4.4/windows-2019-x86_64.facts b/facts/4.4/windows-2019-x86_64.facts index baa3d52f..186213e8 100644 --- a/facts/4.4/windows-2019-x86_64.facts +++ b/facts/4.4/windows-2019-x86_64.facts @@ -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", @@ -23,8 +23,8 @@ "hostname": "foo", "hypervisors": { "virtualbox": { - "revision": "161095", - "version": "7.0.14" + "revision": "161033", + "version": "6.1.50" } }, "id": "FOO\\vagrant", @@ -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", @@ -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::", @@ -85,7 +85,7 @@ ], "bindings6": [ { - "address": "fe80::5156:1072:2404:1e7f", + "address": "fe80::a2f0:324f:9b7f:1d6b", "netmask": "ffff:ffff:ffff:ffff::", "network": "fe80::", "scope6": "link" @@ -93,7 +93,7 @@ ], "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", @@ -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", @@ -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 @@ -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", diff --git a/facts/4.6/windows-2019-x86_64.facts b/facts/4.6/windows-2019-x86_64.facts index b176f070..9dcfd00a 100644 --- a/facts/4.6/windows-2019-x86_64.facts +++ b/facts/4.6/windows-2019-x86_64.facts @@ -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", @@ -23,8 +23,8 @@ "hostname": "foo", "hypervisors": { "virtualbox": { - "revision": "161095", - "version": "7.0.14" + "revision": "161033", + "version": "6.1.50" } }, "id": "FOO\\vagrant", @@ -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", @@ -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::", @@ -85,7 +85,7 @@ ], "bindings6": [ { - "address": "fe80::5156:1072:2404:1e7f", + "address": "fe80::a2f0:324f:9b7f:1d6b", "netmask": "ffff:ffff:ffff:ffff::", "network": "fe80::", "scope6": "link" @@ -93,7 +93,7 @@ ], "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", @@ -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", @@ -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 @@ -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", diff --git a/facts/4.7/windows-2019-x86_64.facts b/facts/4.7/windows-2019-x86_64.facts new file mode 100644 index 00000000..a334a2db --- /dev/null +++ b/facts/4.7/windows-2019-x86_64.facts @@ -0,0 +1,225 @@ +{ + "aio_agent_version": "8.6.0", + "architecture": "x64", + "dhcp_servers": { + "Ethernet": "10.0.2.2", + "system": "10.0.2.2" + }, + "dmi": { + "manufacturer": "innotek GmbH", + "product": { + "name": "VirtualBox", + "serial_number": "0", + "uuid": "20521418-B9EE-4B1A-A83F-05AC28444B69" + } + }, + "domain": "example.com", + "env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet", + "facterversion": "4.7.0", + "fips_enabled": false, + "fqdn": "foo.example.com", + "hardwareisa": "x64", + "hardwaremodel": "x86_64", + "hostname": "foo", + "hypervisors": { + "virtualbox": { + "revision": "161033", + "version": "6.1.50" + } + }, + "id": "FOO\\vagrant", + "identity": { + "privileged": true, + "user": "FOO\\vagrant" + }, + "interfaces": "Ethernet", + "ipaddress": "10.0.2.15", + "ipaddress6": "fe80::a2f0:324f:9b7f:1d6b", + "ipaddress6_Ethernet": "fe80::a2f0:324f:9b7f:1d6b", + "ipaddress_Ethernet": "10.0.2.15", + "is_virtual": true, + "kernel": "windows", + "kernelmajversion": "10.0", + "kernelrelease": "10.0.17763", + "kernelversion": "10.0.17763", + "macaddress": "08:00:27:E5:87:1C", + "macaddress_Ethernet": "08:00:27:E5:87:1C", + "manufacturer": "innotek GmbH", + "memory": { + "system": { + "available": "1.02 GiB", + "available_bytes": 1091960832, + "capacity": "48.83%", + "total": "1.99 GiB", + "total_bytes": 2133962752, + "used": "993.73 MiB", + "used_bytes": 1042001920 + } + }, + "memoryfree": "1.02 GiB", + "memoryfree_mb": 1041.375, + "memorysize": "1.99 GiB", + "memorysize_mb": 2035.10546875, + "mtu_Ethernet": 1500, + "netmask": "255.255.255.0", + "netmask6": "ffff:ffff:ffff:ffff::", + "netmask6_Ethernet": "ffff:ffff:ffff:ffff::", + "netmask_Ethernet": "255.255.255.0", + "network": "10.0.2.0", + "network6": "fe80::", + "network6_Ethernet": "fe80::", + "network_Ethernet": "10.0.2.0", + "networking": { + "dhcp": "10.0.2.2", + "domain": "example.com", + "fqdn": "foo.example.com", + "hostname": "foo", + "interfaces": { + "Ethernet": { + "bindings": [ + { + "address": "10.0.2.15", + "netmask": "255.255.255.0", + "network": "10.0.2.0" + } + ], + "bindings6": [ + { + "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::a2f0:324f:9b7f:1d6b", + "mac": "08:00:27:E5:87:1C", + "mtu": 1500, + "netmask": "255.255.255.0", + "netmask6": "ffff:ffff:ffff:ffff::", + "network": "10.0.2.0", + "network6": "fe80::", + "scope6": "link" + } + }, + "ip": "10.0.2.15", + "ip6": "fe80::a2f0:324f:9b7f:1d6b", + "mac": "08:00:27:E5:87:1C", + "mtu": 1500, + "netmask": "255.255.255.0", + "netmask6": "ffff:ffff:ffff:ffff::", + "network": "10.0.2.0", + "network6": "fe80::", + "primary": "Ethernet", + "scope6": "link" + }, + "operatingsystem": "windows", + "operatingsystemmajrelease": "2019", + "operatingsystemrelease": "2019", + "os": { + "architecture": "x64", + "family": "windows", + "hardware": "x86_64", + "name": "windows", + "release": { + "full": "2019", + "major": "2019" + }, + "windows": { + "edition_id": "ServerStandardEval", + "installation_type": "Server Core", + "product_name": "Windows Server 2019 Standard Evaluation", + "release_id": "1809", + "system32": "C:\\Windows\\system32" + } + }, + "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) Core(TM) i7-4770 CPU @ 3.40GHz", + "processorcount": 2, + "processors": { + "cores": 2, + "count": 2, + "isa": "x64", + "models": [ + "Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz" + ], + "physicalcount": 1, + "threads": 1 + }, + "productname": "VirtualBox", + "puppetversion": "8.6.0", + "ruby": { + "platform": "x64-mingw32", + "sitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/3.2.0", + "version": "3.2.3" + }, + "rubyplatform": "x64-mingw32", + "rubysitedir": "C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/site_ruby/3.2.0", + "rubyversion": "3.2.3", + "scope6": "link", + "scope6_Ethernet": "link", + "serialnumber": "0", + "ssh": { + "dsa": { + "fingerprints": { + "sha1": "SSHFP 2 1 da3d3724f7f8b0e3ab30ca7349ef9efda8eb0319", + "sha256": "SSHFP 2 2 55c4b06c901fd0e622352214f4a9a34dcf36ab4652af57409c3651b1ada25ca2" + }, + "key": "AAAAB3NzaC1kc3MAAACBANLeFfA0TRjCj9OMRJzRljDStUT5inisMSIDkh65OpEisy01gojpnoDwBZH31C+msB9qKHfwaLkoooemdigu7hvHwx82l87mwx7OfJ41IIx7z9QuZQF/v0NJ9eRDamVScg8i6raw7hZXA+nN4xWbGGbnVjncyOxFZ4nsg09WnyzzAAAAFQCJcNeQH8d8/CdsdJfdGbXF4oEjRwAAAIBDvwu4h5JU8IhZEgXAtvBe0O+p8RoXu7+myR6itehHyo8bKgAHOdH/pGvYffItiBX+5uMphJ2aBAV25ziR1HTc6cllpxNVc92cx+hspb4sjSWMBLLC2k0qB+DUMtIsYv4koQXtOkc723aKSTDt6rTpOsKz74KoH2AEChekgBX/DQAAAIBbWLobKbZEIEudV2UfssezAm/4QaFFMukcozX/kHjtjJXVIzukHr4FwpBjOVcHMggyDB58oVtW9DurJkArqO4SMMChP0EW724bLGVN1rpQPYD5PoCB3WMKSW9C4aoWdh6tQOFWBPAeD0rm5qAAtdGohGWSnQXjeUTlHSlb4V7BWw==", + "type": "ssh-dss" + }, + "ecdsa": { + "fingerprints": { + "sha1": "SSHFP 3 1 a4cebde0c5367b32b31e3dd6597c88aa20bb139c", + "sha256": "SSHFP 3 2 a999e89c223d66265c6baa4a835b946d0862a7d2e0243f57803fd4478dc794e0" + }, + "key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJxt8oDeYlVoO5UREubI3+tcoLyWkPeWptxMLYMyVYTVK9i68m0246r/KmteLyD3DN2rnZyV6YZ3IjdfgBDkHR4=", + "type": "ecdsa-sha2-nistp256" + }, + "ed25519": { + "fingerprints": { + "sha1": "SSHFP 4 1 9f196515ee27ca6ccee218024bfeb5b0a99d7812", + "sha256": "SSHFP 4 2 427cf51cb6b2a4f5eea42a9b26c761b443b9c4dff2218b24128525d2de39fe74" + }, + "key": "AAAAC3NzaC1lZDI1NTE5AAAAIDo2aL7+qAqwoih5z11JEsJg16mCMNEWnG9QFOHgA3l0", + "type": "ssh-ed25519" + }, + "rsa": { + "fingerprints": { + "sha1": "SSHFP 1 1 3596c7925dde9b4364b40ad238a04c8818100f3d", + "sha256": "SSHFP 1 2 f5085e8839097058fb84b33775337f2de0d77df772765907e697e2d7f5b4e32b" + }, + "key": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC/gv55+SwnN/BrQPIUXbVGip65xZA3RnbyxFe5wKxHxkmfWsPNhuojDOFLpwKKU1ugNPNuTIChGkI0FyQYU1Ch4Sn4/zk5WN6JMdCP62L/nOMu8LuyTQbzJJyhIhC1r3/kfY2OyrVolZBCCmoSdSFSh39VwapMmcrizMALc3r1g9uLjBP/PZcgffWODA04c5GhX8KAEKQbNGbCXRvI56wHQjmM8QG53we4BfBsQoDyV7O/zU1Xl4ofvfIDWTYWpbOFNHfA4/FvjwaqekWIU4cFoenX+6xi7gzUgXRalYQmA5VZcw/Lo5YExMi2CSkQyUxdjbV9WSGcVgFuBaNRPvbwgPSLZx7+tlsaDh/5hZcVTb9n2siHyi9bX6V3gcIZ0f9evo2lNOi59bZ5bxcI/yttZ9/oz1gRqiwbR9ABq0/u01tjZbvBp8REwffnAQcWWlCj8bpsoSSM5Tgvd14sJ1Ajy88IjZ3MWvZkEWDxiZOWRmh2azL/qWXrdbPI2gudJHk=", + "type": "ssh-rsa" + } + }, + "sshdsakey": "AAAAB3NzaC1kc3MAAACBANLeFfA0TRjCj9OMRJzRljDStUT5inisMSIDkh65OpEisy01gojpnoDwBZH31C+msB9qKHfwaLkoooemdigu7hvHwx82l87mwx7OfJ41IIx7z9QuZQF/v0NJ9eRDamVScg8i6raw7hZXA+nN4xWbGGbnVjncyOxFZ4nsg09WnyzzAAAAFQCJcNeQH8d8/CdsdJfdGbXF4oEjRwAAAIBDvwu4h5JU8IhZEgXAtvBe0O+p8RoXu7+myR6itehHyo8bKgAHOdH/pGvYffItiBX+5uMphJ2aBAV25ziR1HTc6cllpxNVc92cx+hspb4sjSWMBLLC2k0qB+DUMtIsYv4koQXtOkc723aKSTDt6rTpOsKz74KoH2AEChekgBX/DQAAAIBbWLobKbZEIEudV2UfssezAm/4QaFFMukcozX/kHjtjJXVIzukHr4FwpBjOVcHMggyDB58oVtW9DurJkArqO4SMMChP0EW724bLGVN1rpQPYD5PoCB3WMKSW9C4aoWdh6tQOFWBPAeD0rm5qAAtdGohGWSnQXjeUTlHSlb4V7BWw==", + "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJxt8oDeYlVoO5UREubI3+tcoLyWkPeWptxMLYMyVYTVK9i68m0246r/KmteLyD3DN2rnZyV6YZ3IjdfgBDkHR4=", + "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIDo2aL7+qAqwoih5z11JEsJg16mCMNEWnG9QFOHgA3l0", + "sshfp_dsa": "SSHFP 2 1 da3d3724f7f8b0e3ab30ca7349ef9efda8eb0319\nSSHFP 2 2 55c4b06c901fd0e622352214f4a9a34dcf36ab4652af57409c3651b1ada25ca2", + "sshfp_ecdsa": "SSHFP 3 1 a4cebde0c5367b32b31e3dd6597c88aa20bb139c\nSSHFP 3 2 a999e89c223d66265c6baa4a835b946d0862a7d2e0243f57803fd4478dc794e0", + "sshfp_ed25519": "SSHFP 4 1 9f196515ee27ca6ccee218024bfeb5b0a99d7812\nSSHFP 4 2 427cf51cb6b2a4f5eea42a9b26c761b443b9c4dff2218b24128525d2de39fe74", + "sshfp_rsa": "SSHFP 1 1 3596c7925dde9b4364b40ad238a04c8818100f3d\nSSHFP 1 2 f5085e8839097058fb84b33775337f2de0d77df772765907e697e2d7f5b4e32b", + "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC/gv55+SwnN/BrQPIUXbVGip65xZA3RnbyxFe5wKxHxkmfWsPNhuojDOFLpwKKU1ugNPNuTIChGkI0FyQYU1Ch4Sn4/zk5WN6JMdCP62L/nOMu8LuyTQbzJJyhIhC1r3/kfY2OyrVolZBCCmoSdSFSh39VwapMmcrizMALc3r1g9uLjBP/PZcgffWODA04c5GhX8KAEKQbNGbCXRvI56wHQjmM8QG53we4BfBsQoDyV7O/zU1Xl4ofvfIDWTYWpbOFNHfA4/FvjwaqekWIU4cFoenX+6xi7gzUgXRalYQmA5VZcw/Lo5YExMi2CSkQyUxdjbV9WSGcVgFuBaNRPvbwgPSLZx7+tlsaDh/5hZcVTb9n2siHyi9bX6V3gcIZ0f9evo2lNOi59bZ5bxcI/yttZ9/oz1gRqiwbR9ABq0/u01tjZbvBp8REwffnAQcWWlCj8bpsoSSM5Tgvd14sJ1Ajy88IjZ3MWvZkEWDxiZOWRmh2azL/qWXrdbPI2gudJHk=", + "system32": "C:\\Windows\\system32", + "system_uptime": { + "days": 0, + "hours": 0, + "seconds": 1519, + "uptime": "0:25 hours" + }, + "timezone": "Coordinated Universal Time", + "uptime": "0:25 hours", + "uptime_days": 0, + "uptime_hours": 0, + "uptime_seconds": 1519, + "uuid": "20521418-B9EE-4B1A-A83F-05AC28444B69", + "virtual": "virtualbox", + "windows_edition_id": "ServerStandardEval", + "windows_installation_type": "Server Core", + "windows_product_name": "Windows Server 2019 Standard Evaluation", + "windows_release_id": "1809" +} diff --git a/facts/windows_get_facts.ps1 b/facts/windows_get_facts.ps1 index e7411348..5ddd4203 100644 --- a/facts/windows_get_facts.ps1 +++ b/facts/windows_get_facts.ps1 @@ -1,5 +1,5 @@ param( - [array]$puppetAgentVersions = ('7.24.0','8.0.0','8.5.1'), + [array]$puppetAgentVersions = ('7.24.0','8.0.0','8.5.1','8.6.0'), [string]$baseUrl = 'https://downloads.puppetlabs.com/windows/puppet{0}/puppet-agent-{1}-{2}.msi', [string]$fqdn = 'foo.example.com' )