Skip to content

Instantly share code, notes, and snippets.

@tas50
Created June 12, 2017 20:44
Show Gist options
  • Save tas50/ad81cc363123f261fa6a95130783e3a5 to your computer and use it in GitHub Desktop.
Save tas50/ad81cc363123f261fa6a95130783e3a5 to your computer and use it in GitHub Desktop.
8.1
{  "chef_packages": {    "chef": {      "version": "13.1.31",      "chef_root": "C:/opscode/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.1.31-universal-mingw32/lib"    },    "ohai": {      "version": "13.1.0",      "ohai_root": "C:/opscode/chef/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.1.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": {  },  "domain": "local",  "etc": {    "passwd": {      "fauxhai": {        "dir": "/home/fauxhai",        "gid": 0,        "uid": 0,        "shell": "/bin/bash",        "gecos": "Fauxhai"      }    },    "group": {      "fauxhai": {        "gid": 0,        "members": [          "fauxhai"        ]      }    }  },  "filesystem": {    "C:": {      "kb_size": 42947571,      "kb_available": 32021876,      "kb_used": 10925695,      "percent_used": 25,      "mount": "C:",      "fs_type": "ntfs",      "volume_name": ""    }  },  "fips": {    "kernel": {      "enabled": false    }  },  "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": "9600",      "build_type": "Multiprocessor Free",      "caption": "Microsoft Windows 8.1 Pro",      "code_set": "1252",      "country_code": "1",      "creation_class_name": "Win32_OperatingSystem",      "cs_creation_class_name": "Win32_ComputerSystem",      "csd_version": null,      "cs_name": "WINDOWS-PQGGKCD",      "current_time_zone": -420,      "data_execution_prevention_32_bit_applications": true,      "data_execution_prevention_available": true,      "data_execution_prevention_drivers": true,      "data_execution_prevention_support_policy": 2,      "debug": false,      "description": "",      "distributed": false,      "encryption_level": 256,      "foreground_application_boost": 2,      "free_physical_memory": "2984072",      "free_space_in_paging_files": "1372928",      "free_virtual_memory": "4378276",      "install_date": "20141018094632.000000-420",      "large_system_cache": null,      "last_boot_up_time": "20170612132756.337007-420",      "local_date_time": "20170612133915.319000-420",      "locale": "0409",      "manufacturer": "Microsoft Corporation",      "max_number_of_processes": -1,      "max_process_memory_size": "137438953344",      "mui_languages": [        "en-US"      ],      "name": "Microsoft Windows 8.1 Pro|C:\\Windows|\\Device\\Harddisk0\\Partition1",      "number_of_licensed_users": 0,      "number_of_processes": 40,      "number_of_users": 2,      "operating_system_sku": 48,      "organization": "",      "os_architecture": "64-bit",      "os_language": 1033,      "os_product_suite": 256,      "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": 1,      "registered_user": "Windows User",      "serial_number": "00261-50000-00000-AA989",      "service_pack_major_version": 0,      "service_pack_minor_version": 0,      "size_stored_in_paging_files": "1441792",      "status": "OK",      "suite_mask": 272,      "system_device": "\\Device\\HarddiskVolume1",      "system_directory": "C:\\Windows\\system32",      "system_drive": "C:",      "total_swap_space_size": null,      "total_virtual_memory_size": "5635640",      "total_visible_memory_size": "4193848",      "version": "6.3.9600",      "windows_directory": "C:\\Windows"    },    "name": "Microsoft Windows 8.1 Pro",    "release": "6.3.9600",    "version": "6.3.9600  Build 9600",    "os": "WINNT",    "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,      "bootup_state": "Normal boot",      "caption": "WINDOWS-PQGGKCD",      "chassis_bootup_state": 3,      "creation_class_name": "Win32_ComputerSystem",      "current_time_zone": -420,      "daylight_in_effect": true,      "description": "AT/AT COMPATIBLE",      "dns_host_name": "WINDOWS-PQGGKCD",      "domain": "WORKGROUP",      "domain_role": 0,      "enable_daylight_savings_time": true,      "front_panel_reset_status": 3,      "hypervisor_present": false,      "infrared_supported": false,      "initial_load_info": null,      "install_date": null,      "keyboard_password_status": 3,      "last_load_info": null,      "manufacturer": "innotek GmbH",      "model": "VirtualBox",      "name": "WINDOWS-PQGGKCD",      "name_format": null,      "network_server_mode_enabled": true,      "number_of_logical_processors": 2,      "number_of_processors": 1,      "oem_string_array": [        "vboxVer_5.1.22",        "vboxRev_115126"      ],      "part_of_domain": false,      "pause_after_reset": "-1",      "pc_system_type": 2,      "pc_system_type_ex": 2,      "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": "Windows User",      "reset_capability": 1,      "reset_count": -1,      "reset_limit": -1,      "roles": [        "LM_Workstation",        "LM_Server",        "NT"      ],      "status": "OK",      "support_contact_description": null,      "system_startup_delay": null,      "system_startup_options": null,      "system_startup_setting": null,      "system_type": "x64-based PC",      "thermal_state": 3,      "total_physical_memory": "4294500352",      "user_name": "WINDOWS-PQGGKCD\\vagrant",      "wake_up_type": 6,      "workgroup": "WORKGROUP"    },    "machine": "x86_64"  },  "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": {      "bin_dir": "/usr/local/bin",      "gem_bin": "/usr/local/bin/gem",      "gems_dir": "/usr/local/gems",      "ruby_bin": "/usr/local/bin/ruby"    },    "powershell": {      "version": "4.0",      "ws_man_stack_version": "3.0",      "serialization_version": "1.1.0.1",      "clr_version": "4.0.30319.34014",      "build_version": "6.3.9600.16394",      "compatible_versions": [        "1.0",        "2.0",        "3.0",        "4.0"      ],      "remoting_protocol_version": "2.2"    }  },  "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": 1497299963.866279,  "os": "windows",  "os_version": "6.3.9600",  "packages": {    "OpenSSH for Windows (remove only)": {      "publisher": "Mark Saeger/Original Author: Michael Johnson"    },    "Oracle VM VirtualBox Guest Additions 4.3.12": {      "version": "4.3.12.0",      "publisher": "Oracle Corporation"    },    "Chef Client v13.1.31": {      "version": "13.1.31.1",      "publisher": "Chef Software, Inc.",      "installdate": "20170612"    },    "7-Zip 9.22 (x64 edition)": {      "version": "9.22.00.0",      "publisher": "Igor Pavlov",      "installdate": "20141018"    }  },  "platform": "windows",  "platform_family": "windows",  "platform_version": "6.3.9600",  "root_group": "Administrators",  "time": {    "timezone": "GMT"  },  "uptime": "30 days 15 hours 07 minutes 30 seconds",  "uptime_seconds": 2646450,  "virtualization": {    "systems": {    }  }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment