diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e0cf679e..c305838a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -49,7 +49,8 @@ Fauxhai is community-maintained and updated. Aside from the initial files, all o ``` bundle console - Fauxhai.mock(platform: '[os]', version: '[version]') # e.g. Fauxhai.mock(platform: 'ubuntu', version: '12.04') + requiure "fauxhai" + Fauxhai.mock(platform: '[os]', version: '[version]') # e.g. Fauxhai.mock(platform: 'ubuntu', version: '12.04').data ``` As long as that does not throw an error, you're good to go! diff --git a/PLATFORMS.md b/PLATFORMS.md index 305ae7e5..9aa24fa1 100644 --- a/PLATFORMS.md +++ b/PLATFORMS.md @@ -139,4 +139,5 @@ This file lists each platform known to Fauxhai and the available versions for ea - 2012R2 - 2016 - 2019 +- 2022 - 8.1 diff --git a/lib/fauxhai/platforms/windows/2022.json b/lib/fauxhai/platforms/windows/2022.json new file mode 100644 index 00000000..debb1fb5 --- /dev/null +++ b/lib/fauxhai/platforms/windows/2022.json @@ -0,0 +1,743 @@ +{ + "chef_packages": { + "chef": { + "version": "17.10.3", + "chef_root": "c:/opscode/chef/embedded/lib/ruby/gems/3.0.0/gems/chef-17.10.3-universal-mingw32/lib", + "chef_effortless": null + }, + "ohai": { + "version": "17.9.0", + "ohai_root": "c:/opscode/chef/embedded/lib/ruby/gems/3.0.0/gems/ohai-17.9.0/lib/ohai" + } + }, + "command": { + }, + "counters": { + "network": { + "interfaces": { + "lo": { + "tx": { + "queuelen": "1", + "bytes": 0, + "packets": 0, + "errors": 0, + "drop": 0, + "carrier": 0, + "collisions": 0 + }, + "rx": { + "bytes": 0, + "packets": 0, + "errors": 0, + "drop": 0, + "overrun": 0 + } + }, + "0xe": { + "rx": { + "bytes": 0, + "packets": 0, + "errors": 0, + "drop": 0, + "overrun": 0, + "frame": 0, + "compressed": 0, + "multicast": 0 + }, + "tx": { + "bytes": 0, + "packets": 0, + "errors": 0, + "drop": 0, + "overrun": 0, + "collisions": 0, + "carrier": 0, + "compressed": 0 + } + } + } + } + }, + "cpu": { + "real": 1, + "total": 1, + "cores": 1 + }, + "current_user": "fauxhai", + "dmi": { + "chassis": { + "all_records": [ + { + "AudibleAlarm": null, + "BreachDescription": null, + "CableManagementStrategy": null, + "Caption": "System Enclosure", + "ChassisTypes": [ + 1 + ], + "CreationClassName": "Win32_SystemEnclosure", + "CurrentRequiredOrProduced": null, + "Depth": null, + "Description": "System Enclosure", + "HeatGeneration": null, + "Height": null, + "HotSwappable": null, + "InstallDate": null, + "LockPresent": false, + "Manufacturer": "Amazon EC2", + "Model": null, + "Name": "System Enclosure", + "NumberOfPowerCords": null, + "OtherIdentifyingInfo": null, + "PartNumber": null, + "PoweredOn": null, + "Removable": null, + "Replaceable": null, + "SecurityBreach": null, + "SecurityStatus": 3, + "SerialNumber": "", + "ServiceDescriptions": null, + "ServicePhilosophy": null, + "SKU": null, + "SMBIOSAssetTag": "Amazon EC2", + "Status": null, + "Tag": "System Enclosure 0", + "TypeDescriptions": null, + "Version": "", + "VisibleAlarm": null, + "Weight": null, + "Width": null + } + ], + "description": "System Enclosure", + "manufacturer": "Amazon EC2", + "serial_number": "", + "smbios_asset_tag": "Amazon EC2", + "tag": "System Enclosure 0", + "version": "", + "family": "System Enclosure" + }, + "processor": { + "all_records": [ + { + "AddressWidth": 64, + "Architecture": 9, + "AssetTag": "", + "Availability": 3, + "Caption": "Intel64 Family 6 Model 85 Stepping 7", + "Characteristics": 60, + "ConfigManagerErrorCode": null, + "ConfigManagerUserConfig": null, + "CpuStatus": 1, + "CreationClassName": "Win32_Processor", + "CurrentClockSpeed": 2500, + "CurrentVoltage": 16, + "DataWidth": 64, + "Description": "Intel64 Family 6 Model 85 Stepping 7", + "DeviceID": "CPU0", + "ErrorCleared": null, + "ErrorDescription": null, + "ExtClock": 100, + "Family": 179, + "InstallDate": null, + "L2CacheSize": 24576, + "L2CacheSpeed": null, + "L3CacheSize": 36608, + "L3CacheSpeed": 0, + "LastErrorCode": null, + "Level": 6, + "LoadPercentage": 1, + "Manufacturer": "GenuineIntel", + "MaxClockSpeed": 2500, + "Name": "Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz", + "NumberOfCores": 1, + "NumberOfEnabledCore": 1, + "NumberOfLogicalProcessors": 2, + "OtherFamilyDescription": null, + "PartNumber": "", + "PNPDeviceID": null, + "PowerManagementCapabilities": null, + "PowerManagementSupported": false, + "ProcessorId": "BFEBFBFF00050657", + "ProcessorType": 3, + "Revision": 21767, + "Role": "CPU", + "SecondLevelAddressTranslationExtensions": false, + "SerialNumber": "", + "SocketDesignation": "CPU 0", + "Status": "OK", + "StatusInfo": 3, + "Stepping": null, + "SystemCreationClassName": "Win32_ComputerSystem", + "SystemName": "TESTCLUSTERWD01", + "ThreadCount": 2, + "UniqueId": null, + "UpgradeMethod": 54, + "Version": "", + "VirtualizationFirmwareEnabled": false, + "VMMonitorModeExtensions": false, + "VoltageCaps": null + } + ], + "asset_tag": "", + "description": "Intel64 Family 6 Model 85 Stepping 7", + "device_id": "CPU0", + "manufacturer": "GenuineIntel", + "part_number": "", + "processor_id": "BFEBFBFF00050657", + "role": "CPU", + "serial_number": "", + "socket_designation": "CPU 0", + "status": "OK", + "system_name": "TESTCLUSTERWD01", + "version": "", + "family": "Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz" + }, + "bios": { + "all_records": [ + { + "BiosCharacteristics": [ + 7, + 19, + 32, + 44 + ], + "BIOSVersion": [ + "AMAZON - 1" + ], + "BuildNumber": null, + "Caption": "Default System BIOS", + "CodeSet": null, + "CurrentLanguage": null, + "Description": "Default System BIOS", + "EmbeddedControllerMajorVersion": 255, + "EmbeddedControllerMinorVersion": 255, + "IdentificationCode": null, + "InstallableLanguages": null, + "InstallDate": null, + "LanguageEdition": null, + "ListOfLanguages": null, + "Manufacturer": "Amazon EC2", + "Name": "Default System BIOS", + "OtherTargetOS": null, + "PrimaryBIOS": true, + "ReleaseDate": "20171016000000.000000+000", + "SerialNumber": "ec205780-ea1b-88c7-41cf-63b2e43cf3c4", + "SMBIOSBIOSVersion": "1.0", + "SMBIOSMajorVersion": 2, + "SMBIOSMinorVersion": 7, + "SMBIOSPresent": true, + "SoftwareElementID": "Default System BIOS", + "SoftwareElementState": 3, + "Status": "OK", + "SystemBiosMajorVersion": 1, + "SystemBiosMinorVersion": 0, + "TargetOperatingSystem": 0, + "Version": "AMAZON - 1" + } + ], + "description": "Default System BIOS", + "manufacturer": "Amazon EC2", + "release_date": "20171016000000.000000+000", + "serial_number": "ec205780-ea1b-88c7-41cf-63b2e43cf3c4", + "smbiosbios_version": "1.0", + "software_element_id": "Default System BIOS", + "status": "OK", + "version": "AMAZON - 1", + "family": "Default System BIOS" + }, + "system": { + "all_records": [ + { + "Caption": "Computer System Product", + "Description": "Computer System Product", + "IdentifyingNumber": "ec205780-ea1b-88c7-41cf-63b2e43cf3c4", + "Name": "t3.medium", + "SKUNumber": null, + "UUID": "EC205780-EA1B-88C7-41CF-63B2E43CF3C4", + "Vendor": "Amazon EC2", + "Version": "" + } + ], + "description": "Computer System Product", + "uuid": "EC205780-EA1B-88C7-41CF-63B2E43CF3C4", + "version": "", + "manufacturer": "Amazon EC2", + "serial_number": "ec205780-ea1b-88c7-41cf-63b2e43cf3c4", + "family": "t3.medium" + }, + "base_board": { + "all_records": [ + { + "Caption": "Base Board", + "ConfigOptions": null, + "CreationClassName": "Win32_BaseBoard", + "Depth": null, + "Description": "Base Board", + "Height": null, + "HostingBoard": false, + "HotSwappable": false, + "InstallDate": null, + "Manufacturer": "Amazon EC2", + "Model": null, + "Name": "Base Board", + "OtherIdentifyingInfo": null, + "PartNumber": null, + "PoweredOn": true, + "Product": null, + "Removable": false, + "Replaceable": false, + "RequirementsDescription": null, + "RequiresDaughterBoard": false, + "SerialNumber": null, + "SKU": null, + "SlotLayout": null, + "SpecialRequirements": null, + "Status": "OK", + "Tag": "Base Board", + "Version": null, + "Weight": null, + "Width": null + } + ], + "description": "Base Board", + "manufacturer": "Amazon EC2", + "status": "OK", + "tag": "Base Board", + "family": "Base Board" + } + }, + "domain": "local", + "filesystem": { + "by_device": { + "": { + "kb_size": 64422408, + "kb_available": 41364717, + "kb_used": 23057691, + "percent_used": 35, + "fs_type": "ntfs", + "drive_type": 3, + "drive_type_string": "local", + "drive_type_human": "Local Fixed Disk", + "volume_name": "", + "mounts": [ + "C:" + ] + } + }, + "by_mountpoint": { + "C:": { + "kb_size": 64422408, + "kb_available": 41364717, + "kb_used": 23057691, + "percent_used": 35, + "fs_type": "ntfs", + "drive_type": 3, + "drive_type_string": "local", + "drive_type_human": "Local Fixed Disk", + "volume_name": "", + "devices": [ + "" + ] + } + }, + "by_pair": { + ",C:": { + "kb_size": 64422408, + "kb_available": 41364717, + "kb_used": 23057691, + "percent_used": 35, + "mount": "C:", + "fs_type": "ntfs", + "drive_type": 3, + "drive_type_string": "local", + "drive_type_human": "Local Fixed Disk", + "volume_name": "", + "device": "" + } + } + }, + "fips": { + "kernel": { + "enabled": true + } + }, + "fqdn": "fauxhai.local", + "hostname": "Fauxhai", + "idle": "30 days 15 hours 07 minutes 30 seconds", + "idletime_seconds": 2646450, + "ipaddress": "10.0.0.2", + "kernel": { + "os_info": { + "boot_device": "\\Device\\HarddiskVolume1", + "build_number": "20348", + "build_type": "Multiprocessor Free", + "caption": "Microsoft Windows Server 2022 Datacenter", + "code_set": "1252", + "country_code": "1", + "csd_version": null, + "cs_name": "TESTCLUSTERWD01", + "current_time_zone": -300, + "data_execution_prevention_32_bit_applications": true, + "data_execution_prevention_available": true, + "data_execution_prevention_drivers": true, + "data_execution_prevention_support_policy": 3, + "debug": false, + "description": "", + "distributed": false, + "encryption_level": 256, + "foreground_application_boost": 2, + "install_date": "20231108163413.000000-300", + "large_system_cache": null, + "last_boot_up_time": "20231108183708.500000-300", + "local_date_time": "20231114130525.982000-300", + "locale": "0409", + "manufacturer": "Microsoft Corporation", + "max_number_of_processes": -1, + "max_process_memory_size": "137438953344", + "mui_languages": [ + "en-US" + ], + "name": "Microsoft Windows Server 2022 Datacenter|C:\\Windows|\\Device\\Harddisk0\\Partition1", + "number_of_licensed_users": 0, + "number_of_processes": 135, + "number_of_users": 7, + "operating_system_sku": 8, + "organization": "Amazon.com", + "os_architecture": "64-bit", + "os_language": 1033, + "os_product_suite": 400, + "os_type": 18, + "other_type_description": null, + "pae_enabled": null, + "plus_product_id": null, + "plus_version_number": null, + "portable_operating_system": false, + "primary": true, + "product_type": 3, + "registered_user": "EC2", + "serial_number": "00454-60000-00001-AA411", + "service_pack_major_version": 0, + "service_pack_minor_version": 0, + "size_stored_in_paging_files": "1441792", + "status": "OK", + "suite_mask": 400, + "system_device": "\\Device\\HarddiskVolume1", + "system_directory": "C:\\Windows\\system32", + "system_drive": "C:", + "total_visible_memory_size": "4132380", + "version": "10.0.20348", + "windows_directory": "C:\\Windows" + }, + "name": "Microsoft Windows Server 2022 Datacenter", + "release": "10.0.20348", + "version": "10.0.20348 Build 20348", + "os": "WINNT", + "product_type": "Server", + "server_core": false, + "cs_info": { + "admin_password_status": 3, + "automatic_managed_pagefile": true, + "automatic_reset_boot_option": true, + "automatic_reset_capability": true, + "boot_option_on_limit": null, + "boot_option_on_watch_dog": null, + "boot_rom_supported": true, + "boot_status": null, + "bootup_state": "Normal boot", + "caption": "TESTCLUSTERWD01", + "chassis_bootup_state": 3, + "chassis_sku_number": null, + "current_time_zone": -300, + "daylight_in_effect": false, + "description": "AT/AT COMPATIBLE", + "dns_host_name": "testclusterwd01", + "domain": "mtvn.ad.viacom.com", + "domain_role": 3, + "enable_daylight_savings_time": true, + "front_panel_reset_status": 3, + "hypervisor_present": true, + "infrared_supported": false, + "initial_load_info": null, + "install_date": null, + "keyboard_password_status": 3, + "last_load_info": null, + "manufacturer": "Amazon EC2", + "model": "t3.medium", + "name": "TESTCLUSTERWD01", + "name_format": null, + "network_server_mode_enabled": true, + "number_of_logical_processors": 2, + "number_of_processors": 1, + "oem_string_array": null, + "part_of_domain": true, + "pause_after_reset": "-1", + "pc_system_type": 1, + "pc_system_type_ex": 1, + "power_management_capabilities": null, + "power_management_supported": null, + "power_on_password_status": 3, + "power_state": 0, + "power_supply_state": 3, + "primary_owner_contact": null, + "primary_owner_name": "EC2", + "reset_capability": 1, + "reset_count": -1, + "reset_limit": -1, + "roles": [ + "LM_Workstation", + "LM_Server", + "NT", + "Server_NT" + ], + "status": "OK", + "support_contact_description": null, + "system_family": null, + "system_sku_number": null, + "system_startup_delay": null, + "system_startup_options": null, + "system_startup_setting": null, + "system_type": "x64-based PC", + "thermal_state": 3, + "total_physical_memory": "4231557120", + "user_name": null, + "wake_up_type": 6, + "workgroup": null + }, + "machine": "x86_64", + "system_type": "Desktop" + }, + "keys": { + "ssh": { + "host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local", + "host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local" + } + }, + "languages": { + "ruby": { + "platform": "x64-mingw32", + "version": "3.0.3", + "release_date": "2021-11-24", + "target": "x86_64-w64-mingw32", + "target_cpu": "x64", + "target_vendor": "w64", + "target_os": "mingw32", + "host": "x86_64-w64-mingw32", + "host_cpu": "x64", + "host_os": "mingw32", + "host_vendor": "w64", + "bin_dir": "/usr/local/bin", + "ruby_bin": "/usr/local/bin/ruby", + "gem_bin": "/usr/local/bin/gem", + "gems_dir": "/usr/local/gems" + }, + "powershell": { + "version": "5.1.20348.2031", + "ws_man_stack_version": "3.0", + "serialization_version": "1.1.0.1", + "clr_version": "4.0.30319.42000", + "build_version": "10.0.20348.2031", + "compatible_versions": [ + "1.0", + "2.0", + "3.0", + "4.0", + "5.0", + "5.1.20348.2031" + ], + "remoting_protocol_version": "2.3" + } + }, + "macaddress": "11:11:11:11:11:11", + "machinename": "Fauxhai", + "memory": { + "total": "1048576kB" + }, + "network": { + "interfaces": { + "0xe": { + "configuration": { + "caption": "[00000012] Ethernet Adapter", + "database_path": "%SystemRoot%\\System32\\drivers\\etc", + "default_ip_gateway": [ + "default_gateway" + ], + "description": "Ethernet Adapter", + "dhcp_enabled": false, + "dns_domain_suffix_search_order": [ + + ], + "dns_enabled_for_wins_resolution": false, + "dns_host_name": "Fauxhai", + "domain_dns_registration_enabled": false, + "full_dns_registration_enabled": true, + "gateway_cost_metric": [ + 0 + ], + "index": 12, + "interface_index": 14, + "ip_address": [ + "10.0.0.2" + ], + "ip_connection_metric": 5, + "ip_enabled": true, + "ip_filter_security_enabled": false, + "ip_sec_permit_ip_protocols": [ + + ], + "ip_sec_permit_tcp_ports": [ + + ], + "ip_sec_permit_udp_ports": [ + + ], + "ip_subnet": [ + "255.255.255.0", + "64" + ], + "mac_address": "11:11:11:11:11:11", + "service_name": "netkvm", + "setting_id": "{00000000-0000-0000-0000-000000000000}", + "tcpip_netbios_options": 0, + "tcp_window_size": 64240, + "wins_enable_lm_hosts_lookup": true, + "wins_scope_id": "" + }, + "instance": { + "adapter_type": "Ethernet 802.3", + "adapter_type_id": 0, + "availability": 3, + "caption": "[00000012] Ethernet Adapter", + "config_manager_error_code": 0, + "config_manager_user_config": false, + "creation_class_name": "Win32_NetworkAdapter", + "description": "Ethernet Adapter", + "device_id": "12", + "guid": "{00000000-0000-0000-0000-000000000000}", + "index": 12, + "installed": true, + "interface_index": 14, + "mac_address": "11:11:11:11:11:11", + "manufacturer": "", + "max_number_controlled": 0, + "name": "Ethernet Adapter", + "net_connection_id": "Ethernet", + "net_connection_status": 2, + "net_enabled": true, + "physical_adapter": true, + "pnp_device_id": "PCI\\VEN_0000&DEV_0000&SUBSYS_000000000&REV_00\\0&0000000000&00", + "power_management_supported": false, + "product_name": "Ethernet Adapter", + "service_name": "netkvm", + "speed": "10000000000", + "system_creation_class_name": "Win32_ComputerSystem", + "system_name": "Fauxhai", + "time_of_last_reset": "20000101000001.000000+000" + }, + "counters": { + }, + "addresses": { + "10.0.0.2": { + "prefixlen": "24", + "netmask": "255.255.255.0", + "broadcast": "10.0.0.255", + "family": "inet" + }, + "11:11:11:11:11:11": { + "family": "lladdr" + } + }, + "type": "Ethernet 802.3", + "arp": { + "10.0.0.1": "fe:ff:ff:ff:ff:ff" + }, + "encapsulation": "Ethernet" + } + }, + "default_gateway": "10.0.0.1", + "default_interface": "0xe" + }, + "ohai_time": 1699985137.0182061, + "os": "windows", + "os_version": "10.0.20348", + "packages": { + "Amazon SSM Agent": { + "version": "3.2.1630.0", + "publisher": "Amazon Web Services" + }, + "New Relic Infrastructure Agent": { + "version": "1.40.0", + "publisher": "New Relic, Inc.", + "installdate": "20231108" + }, + "Chef Infra Client v17.10.3": { + "version": "17.10.3.1", + "publisher": "Chef Software, Inc.", + "installdate": "20231108" + }, + "Microsoft Visual C++ 2019 X64 Additional Runtime - 14.29.30139": { + "version": "14.29.30139", + "publisher": "Microsoft Corporation", + "installdate": "20220713" + }, + "AWS Command Line Interface v2": { + "version": "2.13.33.0", + "publisher": "Amazon Web Services", + "installdate": "20231108" + }, + "Microsoft Visual C++ 2019 X64 Minimum Runtime - 14.29.30139": { + "version": "14.29.30139", + "publisher": "Microsoft Corporation", + "installdate": "20220713" + }, + "aws-cfn-bootstrap": { + "version": "2.0.28", + "publisher": "Amazon Web Services" + }, + "Amazon EC2Launch": { + "version": "2.0.1643.0", + "publisher": "Amazon Web Services", + "installdate": "20231011" + }, + "AWS PV Drivers": { + "version": "8.4.3", + "publisher": "Amazon Web Services", + "installdate": "20230215" + }, + "Microsoft Edge Update": { + "version": "1.3.181.5" + }, + "Tanium Client 7.4.8.1042": { + "version": "7.4.8.1042", + "publisher": "Tanium Inc." + }, + "Microsoft Edge": { + "version": "119.0.2151.58", + "publisher": "Microsoft Corporation", + "installdate": "20231011" + }, + "Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.29.30139": { + "version": "14.29.30139.0", + "publisher": "Microsoft Corporation" + }, + "CrowdStrike Windows Sensor": { + "version": "7.01.17312.0", + "publisher": "CrowdStrike, Inc.", + "installdate": "20231108" + } + }, + "platform": "windows", + "platform_family": "windows", + "platform_version": "10.0.20348", + "root_group": "Administrators", + "shard_seed": 25827336, + "time": { + "timezone": "GMT" + }, + "uptime": "30 days 15 hours 07 minutes 30 seconds", + "uptime_seconds": 2646450, + "virtualization": { + "systems": { + } + } +} diff --git a/platforms.json b/platforms.json index 3e25f14f..8ebaca6b 100644 --- a/platforms.json +++ b/platforms.json @@ -300,6 +300,10 @@ "deprecated": false, "path": "lib/fauxhai/platforms/windows/2019.json" }, + "2022": { + "deprecated": false, + "path": "lib/fauxhai/platforms/windows/2022.json" + }, "8.1": { "deprecated": false, "path": "lib/fauxhai/platforms/windows/8.1.json" diff --git a/spec/mocker_spec.rb b/spec/mocker_spec.rb index 35f64401..87bb0732 100644 --- a/spec/mocker_spec.rb +++ b/spec/mocker_spec.rb @@ -47,7 +47,7 @@ context "with a Windows platform and no version" do let(:options) { { platform: "windows" } } - it { is_expected.to eq "2019" } + it { is_expected.to eq "2022" } end context "with a Windows platform and an exact partial version" do