Skip to content

Commit

Permalink
Update Windows Facter 3.x sets with legacy facts
Browse files Browse the repository at this point in the history
  • Loading branch information
rodjek committed Oct 20, 2017
1 parent 6dbac7e commit 65608d1
Show file tree
Hide file tree
Showing 80 changed files with 5,917 additions and 2,202 deletions.
93 changes: 70 additions & 23 deletions facts/3.0/windows-10-i386.facts
Original file line number Diff line number Diff line change
@@ -1,32 +1,64 @@
{
"architecture": "x86",
"dhcp_servers": {
"Ethernet0": "10.32.22.10",
"system": "10.32.22.10"
},
"dmi": {
"manufacturer": "VMware, Inc.",
"product": {
"name": "VMware7,1",
"serial_number": "VMware-42 22 ca fe f0 e7 64 ba-7e c1 ac 81 ec 79 2a c9"
"serial_number": "VMware-42 22 8b 0c c8 88 d8 af-8e cf 3e 76 dd 8d 8d bc"
}
},
"domain": "example.com",
"env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
"facterversion": "3.0.2",
"fqdn": "foo.example.com",
"hardwareisa": "x64",
"hardwaremodel": "i686",
"hostname": "foo",
"id": "CAYR11ES3BMJ6UG\\Administrator",
"identity": {
"user": "CD9O9NMEXAPI3GF\\Administrator"
"user": "CAYR11ES3BMJ6UG\\Administrator"
},
"interfaces": "Ethernet0",
"ipaddress": "10.32.121.213",
"ipaddress6": "fe80::4dab:3df1:6f45:ee04%3",
"ipaddress6_Ethernet0": "fe80::4dab:3df1:6f45:ee04%3",
"ipaddress_Ethernet0": "10.32.121.213",
"is_virtual": true,
"kernel": "windows",
"kernelmajversion": "10.0",
"kernelrelease": "10.0.14393",
"kernelversion": "10.0.14393",
"macaddress": "00:50:56:A2:72:55",
"macaddress_Ethernet0": "00:50:56:A2:72:55",
"manufacturer": "VMware, Inc.",
"memory": {
"system": {
"available": "2.00 GiB",
"available_bytes": 2146865152,
"capacity": "33.33%",
"available": "1.95 GiB",
"available_bytes": 2097065984,
"capacity": "34.88%",
"total": "3.00 GiB",
"total_bytes": 3220324352,
"used": "1023.73 MiB",
"used_bytes": 1073459200
"used": "1.05 GiB",
"used_bytes": 1123258368
}
},
"memoryfree": "1.95 GiB",
"memoryfree_mb": 1999.92,
"memorysize": "3.00 GiB",
"memorysize_mb": 3071.14,
"mtu_Ethernet0": 1500,
"netmask": "255.255.240.0",
"netmask6": "ffff:ffff:ffff:ffff::",
"netmask6_Ethernet0": "ffff:ffff:ffff:ffff::",
"netmask_Ethernet0": "255.255.240.0",
"network": "10.32.112.0",
"network6": "fe80::%3",
"network6_Ethernet0": "fe80::%3",
"network_Ethernet0": "10.32.112.0",
"networking": {
"dhcp": "10.32.22.10",
"domain": "example.com",
Expand All @@ -35,25 +67,28 @@
"interfaces": {
"Ethernet0": {
"dhcp": "10.32.22.10",
"ip": "10.32.120.121",
"ip6": "fe80::45d7:5af5:8f53:8392%5",
"mac": "00:50:56:A2:D4:F1",
"ip": "10.32.121.213",
"ip6": "fe80::4dab:3df1:6f45:ee04%3",
"mac": "00:50:56:A2:72:55",
"mtu": 1500,
"netmask": "255.255.240.0",
"netmask6": "ffff:ffff:ffff:ffff::",
"network": "10.32.112.0",
"network6": "fe80::%5"
"network6": "fe80::%3"
}
},
"ip": "10.32.120.121",
"ip6": "fe80::45d7:5af5:8f53:8392%5",
"mac": "00:50:56:A2:D4:F1",
"ip": "10.32.121.213",
"ip6": "fe80::4dab:3df1:6f45:ee04%3",
"mac": "00:50:56:A2:72:55",
"mtu": 1500,
"netmask": "255.255.240.0",
"netmask6": "ffff:ffff:ffff:ffff::",
"network": "10.32.112.0",
"network6": "fe80::%5"
"network6": "fe80::%3"
},
"operatingsystem": "windows",
"operatingsystemmajrelease": "10.0.14393",
"operatingsystemrelease": "10.0.14393",
"os": {
"architecture": "x86",
"family": "windows",
Expand All @@ -67,7 +102,12 @@
"system32": "C:\\Windows\\system32"
}
},
"path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\facter\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\hiera\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\mcollective\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\ruby\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\tools\\bin;C:\\cygwin\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\Git\\cmd;C:\\Packer\\SysInternals;C:\\Users\\Administrator\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\Administrator\\AppData\\Roaming\\Boxstarter",
"osfamily": "windows",
"path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\facter\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\hiera\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\mcollective\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\ruby\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\tools\\bin;C:\\cygwin\\bin;C:\\ProgramData\\Boxstarter;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\Git\\cmd;C:\\Packer\\SysInternals;C:\\Users\\Administrator\\AppData\\Local\\Microsoft\\WindowsApps",
"physicalprocessorcount": 2,
"processor0": "Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz",
"processor1": "Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz",
"processorcount": 2,
"processors": {
"count": 2,
"isa": "x64",
Expand All @@ -77,20 +117,27 @@
],
"physicalcount": 2
},
"productname": "VMware7,1",
"ruby": {
"platform": "i386-mingw32",
"sitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.1.0",
"version": "2.1.6"
},
"rubyplatform": "i386-mingw32",
"rubysitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.1.0",
"rubyversion": "2.1.6",
"serialnumber": "VMware-42 22 8b 0c c8 88 d8 af-8e cf 3e 76 dd 8d 8d bc",
"system32": "C:\\Windows\\system32",
"system_uptime": {
"days": 0,
"hours": 0,
"seconds": 1134,
"uptime": "0:18 hours"
"hours": 6,
"seconds": 23438,
"uptime": "6:30 hours"
},
"timezone": "Coordinated Universal Time",
"virtual": "vmware",
"domain": "example.com",
"hostname": "foo",
"fqdn": "foo.example.com"
"uptime": "6:30 hours",
"uptime_days": 0,
"uptime_hours": 6,
"uptime_seconds": 23438,
"virtual": "vmware"
}
97 changes: 72 additions & 25 deletions facts/3.0/windows-10-x86_64.facts
Original file line number Diff line number Diff line change
@@ -1,32 +1,64 @@
{
"architecture": "x64",
"dhcp_servers": {
"Ethernet0": "10.32.22.10",
"system": "10.32.22.10"
},
"dmi": {
"manufacturer": "VMware, Inc.",
"product": {
"name": "VMware7,1",
"serial_number": "VMware-42 22 b9 12 ec 3b 6e ab-61 61 29 cf f4 72 99 c3"
"serial_number": "VMware-42 22 81 a5 92 87 74 16-44 f1 22 ae f4 e7 d3 e1"
}
},
"domain": "example.com",
"env_windows_installdir": "C:\\Program Files\\Puppet Labs\\Puppet",
"facterversion": "3.0.2",
"fqdn": "foo.example.com",
"hardwareisa": "x64",
"hardwaremodel": "x86_64",
"hostname": "foo",
"id": "V46YN43Q8ZY3NYG\\Administrator",
"identity": {
"user": "PQX8SDC5TGXO8LI\\Administrator"
"user": "V46YN43Q8ZY3NYG\\Administrator"
},
"interfaces": "Ethernet0",
"ipaddress": "10.32.112.130",
"ipaddress6": "fe80::e110:a74a:480:4409%4",
"ipaddress6_Ethernet0": "fe80::e110:a74a:480:4409%4",
"ipaddress_Ethernet0": "10.32.112.130",
"is_virtual": true,
"kernel": "windows",
"kernelmajversion": "10.0",
"kernelrelease": "10.0.14393",
"kernelversion": "10.0.14393",
"macaddress": "00:50:56:A2:BB:13",
"macaddress_Ethernet0": "00:50:56:A2:BB:13",
"manufacturer": "VMware, Inc.",
"memory": {
"system": {
"available": "2.84 GiB",
"available_bytes": 3047428096,
"capacity": "29.03%",
"available": "2.72 GiB",
"available_bytes": 2918952960,
"capacity": "32.02%",
"total": "4.00 GiB",
"total_bytes": 4294057984,
"used": "1.16 GiB",
"used_bytes": 1246629888
"used": "1.28 GiB",
"used_bytes": 1375105024
}
},
"memoryfree": "2.72 GiB",
"memoryfree_mb": 2783.73,
"memorysize": "4.00 GiB",
"memorysize_mb": 4095.13,
"mtu_Ethernet0": 1500,
"netmask": "255.255.240.0",
"netmask6": "ffff:ffff:ffff:ffff::",
"netmask6_Ethernet0": "ffff:ffff:ffff:ffff::",
"netmask_Ethernet0": "255.255.240.0",
"network": "10.32.112.0",
"network6": "fe80::%4",
"network6_Ethernet0": "fe80::%4",
"network_Ethernet0": "10.32.112.0",
"networking": {
"dhcp": "10.32.22.10",
"domain": "example.com",
Expand All @@ -35,25 +67,28 @@
"interfaces": {
"Ethernet0": {
"dhcp": "10.32.22.10",
"ip": "10.32.113.158",
"ip6": "fe80::753c:44f6:3bb1:cb0c%2",
"mac": "00:50:56:A2:B1:5B",
"ip": "10.32.112.130",
"ip6": "fe80::e110:a74a:480:4409%4",
"mac": "00:50:56:A2:BB:13",
"mtu": 1500,
"netmask": "255.255.240.0",
"netmask6": "ffff:ffff:ffff:ffff::",
"network": "10.32.112.0",
"network6": "fe80::%2"
"network6": "fe80::%4"
}
},
"ip": "10.32.113.158",
"ip6": "fe80::753c:44f6:3bb1:cb0c%2",
"mac": "00:50:56:A2:B1:5B",
"ip": "10.32.112.130",
"ip6": "fe80::e110:a74a:480:4409%4",
"mac": "00:50:56:A2:BB:13",
"mtu": 1500,
"netmask": "255.255.240.0",
"netmask6": "ffff:ffff:ffff:ffff::",
"network": "10.32.112.0",
"network6": "fe80::%2"
"network6": "fe80::%4"
},
"operatingsystem": "windows",
"operatingsystemmajrelease": "10.0.14393",
"operatingsystemrelease": "10.0.14393",
"os": {
"architecture": "x64",
"family": "windows",
Expand All @@ -67,30 +102,42 @@
"system32": "C:\\Windows\\system32"
}
},
"path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\facter\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\hiera\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\mcollective\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\ruby\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\tools\\bin;C:\\cygwin64\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\Git\\cmd;C:\\Packer\\SysInternals;C:\\Users\\Administrator\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\Administrator\\AppData\\Roaming\\Boxstarter",
"osfamily": "windows",
"path": "C:\\Program Files\\Puppet Labs\\Puppet\\puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\facter\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\hiera\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\mcollective\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\ruby\\bin;C:\\Program Files\\Puppet Labs\\Puppet\\sys\\tools\\bin;C:\\cygwin64\\bin;C:\\ProgramData\\Boxstarter;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\Git\\cmd;C:\\Packer\\SysInternals;C:\\Users\\Administrator\\AppData\\Local\\Microsoft\\WindowsApps",
"physicalprocessorcount": 2,
"processor0": "Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz",
"processor1": "Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz",
"processorcount": 2,
"processors": {
"count": 2,
"isa": "x64",
"models": [
"Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz",
"Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz"
"Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz",
"Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz"
],
"physicalcount": 2
},
"productname": "VMware7,1",
"ruby": {
"platform": "x64-mingw32",
"sitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.1.0",
"version": "2.1.6"
},
"rubyplatform": "x64-mingw32",
"rubysitedir": "C:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/site_ruby/2.1.0",
"rubyversion": "2.1.6",
"serialnumber": "VMware-42 22 81 a5 92 87 74 16-44 f1 22 ae f4 e7 d3 e1",
"system32": "C:\\Windows\\system32",
"system_uptime": {
"days": 0,
"hours": 16,
"seconds": 57809,
"uptime": "16:03 hours"
"hours": 6,
"seconds": 23255,
"uptime": "6:27 hours"
},
"timezone": "Coordinated Universal Time",
"virtual": "vmware",
"domain": "example.com",
"hostname": "foo",
"fqdn": "foo.example.com"
"uptime": "6:27 hours",
"uptime_days": 0,
"uptime_hours": 6,
"uptime_seconds": 23255,
"virtual": "vmware"
}
Loading

0 comments on commit 65608d1

Please sign in to comment.