facterdb 1.1.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +19 -11
  4. data/CHANGELOG.md +63 -5
  5. data/README.md +10 -5
  6. data/Rakefile +16 -4
  7. data/facterdb.gemspec +1 -2
  8. data/facts/1.6/amazon-2-x86_64.facts +53 -0
  9. data/facts/1.6/amazon-2016-x86_64.facts +62 -0
  10. data/facts/1.7/amazon-2-x86_64.facts +76 -0
  11. data/facts/1.7/amazon-2016-x86_64.facts +78 -0
  12. data/facts/2.0/amazon-2-x86_64.facts +77 -0
  13. data/facts/2.0/amazon-2016-x86_64.facts +79 -0
  14. data/facts/2.1/amazon-2-x86_64.facts +90 -0
  15. data/facts/2.1/amazon-2016-x86_64.facts +90 -0
  16. data/facts/2.2/amazon-2-x86_64.facts +106 -0
  17. data/facts/2.2/amazon-2016-x86_64.facts +113 -0
  18. data/facts/2.3/amazon-2-x86_64.facts +107 -0
  19. data/facts/2.3/amazon-2016-x86_64.facts +114 -0
  20. data/facts/2.4/amazon-2-x86_64.facts +110 -0
  21. data/facts/2.4/amazon-2016-x86_64.facts +117 -0
  22. data/facts/2.4/raspbian-9-armv6l.facts +116 -0
  23. data/facts/2.4/raspbian-9-armv7l.facts +116 -0
  24. data/facts/2.5/amazon-2-x86_64.facts +116 -0
  25. data/facts/2.5/amazon-2016-x86_64.facts +117 -0
  26. data/facts/3.0/amazon-4-x86_64.facts +123 -173
  27. data/facts/3.1/amazon-4-x86_64.facts +127 -177
  28. data/facts/3.10/amazon-2-x86_64.facts +382 -0
  29. data/facts/3.10/amazon-2016-x86_64.facts +324 -0
  30. data/facts/3.11/amazon-2-x86_64.facts +488 -0
  31. data/facts/3.11/amazon-2016-x86_64.facts +379 -0
  32. data/facts/3.11/archlinux-x86_64.facts +11 -1
  33. data/facts/3.11/raspbian-10-armv6l.facts +392 -0
  34. data/facts/3.11/raspbian-10-armv7l.facts +392 -0
  35. data/facts/3.11/solaris-11-i86pc.facts +647 -0
  36. data/facts/3.11/solaris-11-sun4v.facts +618 -0
  37. data/facts/3.12/amazon-2-x86_64.facts +385 -0
  38. data/facts/3.12/amazon-2016-x86_64.facts +327 -0
  39. data/facts/3.13/amazon-2-x86_64.facts +385 -0
  40. data/facts/3.13/amazon-2016-x86_64.facts +327 -0
  41. data/facts/3.13/debian-10-x86_64.facts +534 -0
  42. data/facts/3.14/amazon-2-x86_64.facts +385 -0
  43. data/facts/3.14/amazon-2016-x86_64.facts +327 -0
  44. data/facts/3.14/archlinux-x86_64.facts +15 -4
  45. data/facts/3.14/debian-10-x86_64.facts +534 -0
  46. data/facts/3.14/solaris-11-i86pc.facts +647 -0
  47. data/facts/3.14/solaris-11-sun4v.facts +618 -0
  48. data/facts/3.14/ubuntu-20.04-x86_64.facts +680 -0
  49. data/facts/3.3/amazon-4-x86_64.facts +127 -177
  50. data/facts/3.6/amazon-2-x86_64.facts +375 -0
  51. data/facts/3.6/amazon-2016-x86_64.facts +317 -0
  52. data/facts/3.7/amazon-2-x86_64.facts +375 -0
  53. data/facts/3.7/amazon-2016-x86_64.facts +317 -0
  54. data/facts/3.8/amazon-2-x86_64.facts +375 -0
  55. data/facts/3.8/amazon-2016-x86_64.facts +317 -0
  56. data/facts/3.9/amazon-2-x86_64.facts +381 -0
  57. data/facts/3.9/amazon-2016-x86_64.facts +323 -0
  58. data/facts/Vagrantfile +14 -0
  59. data/facts/get_facts.sh +8 -0
  60. data/lib/facterdb.rb +31 -10
  61. data/lib/facterdb/version.rb +1 -1
  62. data/spec/facterdb_spec.rb +36 -0
  63. metadata +52 -8
@@ -0,0 +1,113 @@
1
+ {
2
+ "gem_version": "~> 2.2.0",
3
+ "uptime_days": 0,
4
+ "ps": "ps -ef",
5
+ "hostname": "foo",
6
+ "operatingsystemrelease": "2016.09",
7
+ "physicalprocessorcount": "1",
8
+ "kernelversion": "4.4.44",
9
+ "gid": "root",
10
+ "osfamily": "RedHat",
11
+ "hardwaremodel": "x86_64",
12
+ "processors": {
13
+ "models": [
14
+ "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz"
15
+ ],
16
+ "count": 1,
17
+ "physicalcount": 1
18
+ },
19
+ "uptime_seconds": 333,
20
+ "kernel": "Linux",
21
+ "blockdevice_sda_size": 8589934592,
22
+ "blockdevice_sda_vendor": "ATA",
23
+ "blockdevice_sda_model": "VBOX HARDDISK",
24
+ "blockdevices": "sda",
25
+ "operatingsystemmajrelease": "2016",
26
+ "macaddress": "08:00:27:24:46:86",
27
+ "uniqueid": "007f0100",
28
+ "filesystems": "ext3,ext4",
29
+ "partitions": {
30
+ "sda1": {
31
+ "uuid": "84ecb40c-7e79-497a-9181-82a14c108b3b",
32
+ "size": "16773087",
33
+ "mount": "/",
34
+ "filesystem": "ext4"
35
+ },
36
+ "sda128": {
37
+ "size": "2048"
38
+ }
39
+ },
40
+ "ipaddress": "10.0.2.15",
41
+ "uptime": "0:05 hours",
42
+ "uptime_hours": 0,
43
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDZ1lqGL2XwHIZ9fAJbcht6kKAthGOPsz5aC5sM1QP+mY3ouLB5jrwSpQcV51KvIl30IHu3Rp/Jrl06TpN9nw2kZnSMV0dY1k24ujEwF0CpL4STuv9AHkjD0tUFOa1BqmUukLYFKz2cZroUkFO9GZ4l/Z1EZGquQt37x+q0rq45IKlcoWyttLYFmX6zQhK7ICwnrjfTNXs8ID8g0NEFSne1AoDrHa3QjY/Epa5QVQpEOvJ/hrS5yJ2wYp7Rlg3uR4J+sA/Dpn6UCYC/xlj/aXcl90HPORlIy50gLpzLj55fcH6rTIMcLp5hl5gVyr5lygk+Ep5FiuYBMUPzCeCQ6o0v",
44
+ "sshfp_rsa": "SSHFP 1 1 62609e9683ca74c4076fbc583047df10f3d889ea\nSSHFP 1 2 aeb4e2c9242e3a2bbc81cc5718b38f3ca97fda038f7fe436278389d40536e066",
45
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIl9DhX/TT6XkAxp7ROAIP8/67ycpIo7t0+NSP4f0FJy9W2Ifj8m+l0i6zxMATRSOmgDNI+PL/TtLLWRZQ/VbQk=",
46
+ "sshfp_ecdsa": "SSHFP 3 1 f7209576950731ce607d529e7fad5798f39e3c79\nSSHFP 3 2 dc50a6f0c262a3e650301b904db34834e9c6733b78c44da6d971c7a64051a7f4",
47
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIBOrX7JImKM57m5n0t3ll23Lb9Dmh4UiPE9ANkViu0y4",
48
+ "sshfp_ed25519": "SSHFP 4 1 6be19cdb6a3bb6cf184b2eab1f538b4da090d8e6\nSSHFP 4 2 20421f8d892a4b5aca7f917af3caae21e57c98bacb5746a974705e0dfe9e58fc",
49
+ "id": "root",
50
+ "timezone": "UTC",
51
+ "kernelmajversion": "4.4",
52
+ "architecture": "x86_64",
53
+ "operatingsystem": "Amazon",
54
+ "os": {
55
+ "name": "Amazon",
56
+ "family": "RedHat",
57
+ "release": {
58
+ "major": "2016",
59
+ "minor": "09",
60
+ "full": "2016.09"
61
+ }
62
+ },
63
+ "processor0": "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz",
64
+ "processorcount": "1",
65
+ "memorysize": "996.94 MB",
66
+ "memoryfree": "880.13 MB",
67
+ "swapsize": "0.00 MB",
68
+ "swapfree": "0.00 MB",
69
+ "swapsize_mb": "0.00",
70
+ "swapfree_mb": "0.00",
71
+ "memorysize_mb": "996.94",
72
+ "memoryfree_mb": "880.13",
73
+ "virtual": "kvm",
74
+ "is_virtual": "true",
75
+ "network_eth0": "10.0.2.0",
76
+ "network_lo": "127.0.0.0",
77
+ "kernelrelease": "4.4.44-39.55.amzn1.x86_64",
78
+ "path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin:/root/bin",
79
+ "fqdn": "foo.example.com",
80
+ "boardmanufacturer": "Oracle Corporation",
81
+ "boardproductname": "VirtualBox",
82
+ "boardserialnumber": "0",
83
+ "bios_vendor": "innotek GmbH",
84
+ "bios_version": "VirtualBox",
85
+ "bios_release_date": "12/01/2006",
86
+ "manufacturer": "innotek GmbH",
87
+ "productname": "VirtualBox",
88
+ "serialnumber": "0",
89
+ "uuid": "170E71AA-95F8-4004-B5C2-79D0352D7D23",
90
+ "type": "Other",
91
+ "augeasversion": "1.12.0",
92
+ "interfaces": "eth0,lo",
93
+ "ipaddress_eth0": "10.0.2.15",
94
+ "macaddress_eth0": "08:00:27:24:46:86",
95
+ "netmask_eth0": "255.255.255.0",
96
+ "mtu_eth0": "1500",
97
+ "ipaddress_lo": "127.0.0.1",
98
+ "netmask_lo": "255.0.0.0",
99
+ "mtu_lo": "65536",
100
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
101
+ "selinux": "false",
102
+ "netmask": "255.255.255.0",
103
+ "system_uptime": {
104
+ "seconds": 333,
105
+ "hours": 0,
106
+ "days": 0,
107
+ "uptime": "0:05 hours"
108
+ },
109
+ "hardwareisa": "x86_64",
110
+ "domain": "example.com",
111
+ "facterversion": "2.2.0",
112
+ "rubyversion": "2.5.3"
113
+ }
@@ -0,0 +1,107 @@
1
+ {
2
+ "gem_version": "~> 2.3.0",
3
+ "architecture": "x86_64",
4
+ "augeasversion": "1.12.0",
5
+ "kernel": "Linux",
6
+ "blockdevice_sda_size": 26843545600,
7
+ "blockdevice_sda_vendor": "ATA",
8
+ "blockdevice_sda_model": "VBOX HARDDISK",
9
+ "blockdevices": "sda",
10
+ "domain": "example.com",
11
+ "virtual": "kvm",
12
+ "is_virtual": true,
13
+ "hardwaremodel": "x86_64",
14
+ "operatingsystem": "Amazon",
15
+ "os": {
16
+ "name": "Amazon",
17
+ "family": "RedHat"
18
+ },
19
+ "facterversion": "2.3.0",
20
+ "filesystems": "xfs",
21
+ "fqdn": "foo.example.com",
22
+ "gid": "root",
23
+ "hardwareisa": "x86_64",
24
+ "hostname": "foo",
25
+ "id": "root",
26
+ "interfaces": "eth0,lo",
27
+ "ipaddress_eth0": "10.0.2.15",
28
+ "macaddress_eth0": "08:00:27:d5:a3:c3",
29
+ "netmask_eth0": "255.255.255.0",
30
+ "mtu_eth0": 1500,
31
+ "ipaddress_lo": "127.0.0.1",
32
+ "netmask_lo": "255.0.0.0",
33
+ "mtu_lo": 65536,
34
+ "ipaddress": "10.0.2.15",
35
+ "kernelmajversion": "4.14",
36
+ "kernelrelease": "4.14.154-128.181.amzn2.x86_64",
37
+ "kernelversion": "4.14.154",
38
+ "macaddress": "08:00:27:d5:a3:c3",
39
+ "boardmanufacturer": "Oracle Corporation",
40
+ "boardproductname": "VirtualBox",
41
+ "boardserialnumber": "0",
42
+ "bios_vendor": "innotek GmbH",
43
+ "bios_version": "VirtualBox",
44
+ "bios_release_date": "12/01/2006",
45
+ "manufacturer": "innotek GmbH",
46
+ "productname": "VirtualBox",
47
+ "serialnumber": "0",
48
+ "uuid": "2775E86A-EC06-4791-B2F2-C923CEB7A5C2",
49
+ "type": "Other",
50
+ "memorysize": "985.54 MB",
51
+ "memoryfree": "812.92 MB",
52
+ "swapsize": "0.00 MB",
53
+ "swapfree": "0.00 MB",
54
+ "swapsize_mb": "0.00",
55
+ "swapfree_mb": "0.00",
56
+ "memorysize_mb": "985.54",
57
+ "memoryfree_mb": "812.92",
58
+ "netmask": "255.255.255.0",
59
+ "network_eth0": "10.0.2.0",
60
+ "network_lo": "127.0.0.0",
61
+ "osfamily": "RedHat",
62
+ "partitions": {
63
+ "sda128": {
64
+ "size": "2048"
65
+ },
66
+ "sda1": {
67
+ "uuid": "ea6df027-1cd4-4037-9a1b-534f3ede9d72",
68
+ "size": "52424671",
69
+ "mount": "/",
70
+ "filesystem": "xfs"
71
+ }
72
+ },
73
+ "path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
74
+ "physicalprocessorcount": 1,
75
+ "processors": {
76
+ "models": [
77
+ "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz"
78
+ ],
79
+ "count": 1,
80
+ "physicalcount": 1
81
+ },
82
+ "processor0": "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz",
83
+ "processorcount": 1,
84
+ "ps": "ps -ef",
85
+ "rubyplatform": "x86_64-linux",
86
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
87
+ "rubyversion": "2.5.3",
88
+ "selinux": false,
89
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCzt7VD+RI3cTlhjLrmXiEovOBn0PXzt5ezZmd/E5n3FCO6enAuc3gJZvE6Xhi44lGspTxYQ3bZDnASLF0/oEklrhof173tWAD/gm0JHz9FCXx/msL5VRt+m4kFZ5MRPCwXMYw8hjsuqj8DHtaBleoWyslZWZwBOjLKm7RKR668wrS5cuFtaqK0TrvVMUd6LKL37S/Hs7BPCbKLmgCZgyXuorDmvHvDf161MS/jsS32YfGyuKviDZlfMwK9EqtUlFCf5VNHbrl4CBE2ccLIhqqADZWGTYHqqP3XnJ/WylCPA4uewCg+4XZfqRcel77ny3dfsOQnZxerihHB81TTqv7b",
90
+ "sshfp_rsa": "SSHFP 1 1 ef92c5aad85bb02166cd22c177c9bda5f700bc51\nSSHFP 1 2 ee352de2e36afbc76bb1f19311d30f681ff6153a8a53d9766ddf81f35afdcfca",
91
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBP7HYO0Z/t7NKY8iwAyq4Hg5I9fPSTSmZ27fz3u51rZwjoZYUkPMw6PxVUus8pJE4Lq09ifB+Z7UNnJYmp8r+7g=",
92
+ "sshfp_ecdsa": "SSHFP 3 1 f85c1e7a914aa7b76694dc854e7311d01223a84b\nSSHFP 3 2 6fe18ab8c51fcfafb4497eeaf7e2da45e5e8d345d29678ce1acafbeb51647980",
93
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIFcZRjX0s2qeMtkwUMh+28gOAS9hykSl7jHBafv7sx/v",
94
+ "sshfp_ed25519": "SSHFP 4 1 ea5e3e5078d0a6b37f6ed3c63d80998c96e8ef2d\nSSHFP 4 2 02ec148f1fe59a293f6bffef72ef51e5217127a0172e6d34243b9f0ddc694626",
95
+ "system_uptime": {
96
+ "seconds": 386,
97
+ "hours": 0,
98
+ "days": 0,
99
+ "uptime": "0:06 hours"
100
+ },
101
+ "timezone": "UTC",
102
+ "uniqueid": "007f0100",
103
+ "uptime": "0:06 hours",
104
+ "uptime_days": 0,
105
+ "uptime_hours": 0,
106
+ "uptime_seconds": 386
107
+ }
@@ -0,0 +1,114 @@
1
+ {
2
+ "gem_version": "~> 2.3.0",
3
+ "uptime_days": 0,
4
+ "ps": "ps -ef",
5
+ "hostname": "foo",
6
+ "operatingsystemrelease": "2016.09",
7
+ "physicalprocessorcount": 1,
8
+ "kernelversion": "4.4.44",
9
+ "gid": "root",
10
+ "osfamily": "RedHat",
11
+ "hardwaremodel": "x86_64",
12
+ "processors": {
13
+ "models": [
14
+ "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz"
15
+ ],
16
+ "count": 1,
17
+ "physicalcount": 1
18
+ },
19
+ "uptime_seconds": 337,
20
+ "kernel": "Linux",
21
+ "blockdevice_sda_size": 8589934592,
22
+ "blockdevice_sda_vendor": "ATA",
23
+ "blockdevice_sda_model": "VBOX HARDDISK",
24
+ "blockdevices": "sda",
25
+ "operatingsystemmajrelease": "2016",
26
+ "macaddress": "08:00:27:24:46:86",
27
+ "uniqueid": "007f0100",
28
+ "filesystems": "ext3,ext4",
29
+ "partitions": {
30
+ "sda1": {
31
+ "uuid": "84ecb40c-7e79-497a-9181-82a14c108b3b",
32
+ "size": "16773087",
33
+ "mount": "/",
34
+ "filesystem": "ext4"
35
+ },
36
+ "sda128": {
37
+ "size": "2048"
38
+ }
39
+ },
40
+ "ipaddress": "10.0.2.15",
41
+ "uptime": "0:05 hours",
42
+ "uptime_hours": 0,
43
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDZ1lqGL2XwHIZ9fAJbcht6kKAthGOPsz5aC5sM1QP+mY3ouLB5jrwSpQcV51KvIl30IHu3Rp/Jrl06TpN9nw2kZnSMV0dY1k24ujEwF0CpL4STuv9AHkjD0tUFOa1BqmUukLYFKz2cZroUkFO9GZ4l/Z1EZGquQt37x+q0rq45IKlcoWyttLYFmX6zQhK7ICwnrjfTNXs8ID8g0NEFSne1AoDrHa3QjY/Epa5QVQpEOvJ/hrS5yJ2wYp7Rlg3uR4J+sA/Dpn6UCYC/xlj/aXcl90HPORlIy50gLpzLj55fcH6rTIMcLp5hl5gVyr5lygk+Ep5FiuYBMUPzCeCQ6o0v",
44
+ "sshfp_rsa": "SSHFP 1 1 62609e9683ca74c4076fbc583047df10f3d889ea\nSSHFP 1 2 aeb4e2c9242e3a2bbc81cc5718b38f3ca97fda038f7fe436278389d40536e066",
45
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIl9DhX/TT6XkAxp7ROAIP8/67ycpIo7t0+NSP4f0FJy9W2Ifj8m+l0i6zxMATRSOmgDNI+PL/TtLLWRZQ/VbQk=",
46
+ "sshfp_ecdsa": "SSHFP 3 1 f7209576950731ce607d529e7fad5798f39e3c79\nSSHFP 3 2 dc50a6f0c262a3e650301b904db34834e9c6733b78c44da6d971c7a64051a7f4",
47
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIBOrX7JImKM57m5n0t3ll23Lb9Dmh4UiPE9ANkViu0y4",
48
+ "sshfp_ed25519": "SSHFP 4 1 6be19cdb6a3bb6cf184b2eab1f538b4da090d8e6\nSSHFP 4 2 20421f8d892a4b5aca7f917af3caae21e57c98bacb5746a974705e0dfe9e58fc",
49
+ "id": "root",
50
+ "timezone": "UTC",
51
+ "kernelmajversion": "4.4",
52
+ "architecture": "x86_64",
53
+ "operatingsystem": "Amazon",
54
+ "os": {
55
+ "name": "Amazon",
56
+ "family": "RedHat",
57
+ "release": {
58
+ "major": "2016",
59
+ "minor": "09",
60
+ "full": "2016.09"
61
+ }
62
+ },
63
+ "processor0": "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz",
64
+ "processorcount": 1,
65
+ "memorysize": "996.94 MB",
66
+ "memoryfree": "877.95 MB",
67
+ "swapsize": "0.00 MB",
68
+ "swapfree": "0.00 MB",
69
+ "swapsize_mb": "0.00",
70
+ "swapfree_mb": "0.00",
71
+ "memorysize_mb": "996.94",
72
+ "memoryfree_mb": "877.95",
73
+ "rubyplatform": "x86_64-linux",
74
+ "virtual": "kvm",
75
+ "is_virtual": true,
76
+ "network_eth0": "10.0.2.0",
77
+ "network_lo": "127.0.0.0",
78
+ "kernelrelease": "4.4.44-39.55.amzn1.x86_64",
79
+ "path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin:/root/bin",
80
+ "fqdn": "foo.example.com",
81
+ "boardmanufacturer": "Oracle Corporation",
82
+ "boardproductname": "VirtualBox",
83
+ "boardserialnumber": "0",
84
+ "bios_vendor": "innotek GmbH",
85
+ "bios_version": "VirtualBox",
86
+ "bios_release_date": "12/01/2006",
87
+ "manufacturer": "innotek GmbH",
88
+ "productname": "VirtualBox",
89
+ "serialnumber": "0",
90
+ "uuid": "170E71AA-95F8-4004-B5C2-79D0352D7D23",
91
+ "type": "Other",
92
+ "augeasversion": "1.12.0",
93
+ "interfaces": "eth0,lo",
94
+ "ipaddress_eth0": "10.0.2.15",
95
+ "macaddress_eth0": "08:00:27:24:46:86",
96
+ "netmask_eth0": "255.255.255.0",
97
+ "mtu_eth0": 1500,
98
+ "ipaddress_lo": "127.0.0.1",
99
+ "netmask_lo": "255.0.0.0",
100
+ "mtu_lo": 65536,
101
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
102
+ "selinux": false,
103
+ "netmask": "255.255.255.0",
104
+ "system_uptime": {
105
+ "seconds": 337,
106
+ "hours": 0,
107
+ "days": 0,
108
+ "uptime": "0:05 hours"
109
+ },
110
+ "hardwareisa": "x86_64",
111
+ "domain": "example.com",
112
+ "facterversion": "2.3.0",
113
+ "rubyversion": "2.5.3"
114
+ }
@@ -0,0 +1,110 @@
1
+ {
2
+ "gem_version": "~> 2.4.0",
3
+ "kernel": "Linux",
4
+ "system_uptime": {
5
+ "seconds": 390,
6
+ "hours": 0,
7
+ "days": 0,
8
+ "uptime": "0:06 hours"
9
+ },
10
+ "gid": "root",
11
+ "hardwaremodel": "x86_64",
12
+ "kernelrelease": "4.14.154-128.181.amzn2.x86_64",
13
+ "puppetversion": "6.6.0",
14
+ "rubyplatform": "x86_64-linux",
15
+ "blockdevice_sda_size": 26843545600,
16
+ "blockdevice_sda_vendor": "ATA",
17
+ "blockdevice_sda_model": "VBOX HARDDISK",
18
+ "blockdevices": "sda",
19
+ "path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin",
20
+ "partitions": {
21
+ "sda128": {
22
+ "size": "2048",
23
+ "label": "BIOS Boot Partition"
24
+ },
25
+ "sda1": {
26
+ "uuid": "ea6df027-1cd4-4037-9a1b-534f3ede9d72",
27
+ "size": "52424671",
28
+ "mount": "/",
29
+ "label": "/",
30
+ "filesystem": "xfs"
31
+ }
32
+ },
33
+ "augeasversion": "1.12.0",
34
+ "macaddress": "08:00:27:d5:a3:c3",
35
+ "rubyversion": "2.5.3",
36
+ "hostname": "foo",
37
+ "operatingsystem": "Amazon",
38
+ "timezone": "UTC",
39
+ "facterversion": "2.4.6",
40
+ "processors": {
41
+ "models": [
42
+ "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz"
43
+ ],
44
+ "count": 1,
45
+ "physicalcount": 1
46
+ },
47
+ "uptime_seconds": 390,
48
+ "uptime": "0:06 hours",
49
+ "ps": "ps -ef",
50
+ "kernelversion": "4.14.154",
51
+ "virtual": "kvm",
52
+ "is_virtual": true,
53
+ "fqdn": "foo.example.com",
54
+ "selinux": false,
55
+ "netmask": "255.255.255.0",
56
+ "interfaces": "eth0,lo",
57
+ "ipaddress_eth0": "10.0.2.15",
58
+ "macaddress_eth0": "08:00:27:d5:a3:c3",
59
+ "netmask_eth0": "255.255.255.0",
60
+ "mtu_eth0": 1500,
61
+ "ipaddress_lo": "127.0.0.1",
62
+ "netmask_lo": "255.0.0.0",
63
+ "mtu_lo": 65536,
64
+ "id": "root",
65
+ "os": {
66
+ "name": "Amazon",
67
+ "family": "RedHat"
68
+ },
69
+ "architecture": "x86_64",
70
+ "osfamily": "RedHat",
71
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
72
+ "network_eth0": "10.0.2.0",
73
+ "network_lo": "127.0.0.0",
74
+ "uptime_days": 0,
75
+ "ipaddress": "10.0.2.15",
76
+ "memorysize": "985.54 MB",
77
+ "memoryfree": "809.35 MB",
78
+ "swapsize": "0.00 MB",
79
+ "swapfree": "0.00 MB",
80
+ "swapsize_mb": "0.00",
81
+ "swapfree_mb": "0.00",
82
+ "memorysize_mb": "985.54",
83
+ "memoryfree_mb": "809.35",
84
+ "filesystems": "xfs",
85
+ "hardwareisa": "x86_64",
86
+ "uniqueid": "007f0100",
87
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCzt7VD+RI3cTlhjLrmXiEovOBn0PXzt5ezZmd/E5n3FCO6enAuc3gJZvE6Xhi44lGspTxYQ3bZDnASLF0/oEklrhof173tWAD/gm0JHz9FCXx/msL5VRt+m4kFZ5MRPCwXMYw8hjsuqj8DHtaBleoWyslZWZwBOjLKm7RKR668wrS5cuFtaqK0TrvVMUd6LKL37S/Hs7BPCbKLmgCZgyXuorDmvHvDf161MS/jsS32YfGyuKviDZlfMwK9EqtUlFCf5VNHbrl4CBE2ccLIhqqADZWGTYHqqP3XnJ/WylCPA4uewCg+4XZfqRcel77ny3dfsOQnZxerihHB81TTqv7b",
88
+ "sshfp_rsa": "SSHFP 1 1 ef92c5aad85bb02166cd22c177c9bda5f700bc51\nSSHFP 1 2 ee352de2e36afbc76bb1f19311d30f681ff6153a8a53d9766ddf81f35afdcfca",
89
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBP7HYO0Z/t7NKY8iwAyq4Hg5I9fPSTSmZ27fz3u51rZwjoZYUkPMw6PxVUus8pJE4Lq09ifB+Z7UNnJYmp8r+7g=",
90
+ "sshfp_ecdsa": "SSHFP 3 1 f85c1e7a914aa7b76694dc854e7311d01223a84b\nSSHFP 3 2 6fe18ab8c51fcfafb4497eeaf7e2da45e5e8d345d29678ce1acafbeb51647980",
91
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIFcZRjX0s2qeMtkwUMh+28gOAS9hykSl7jHBafv7sx/v",
92
+ "sshfp_ed25519": "SSHFP 4 1 ea5e3e5078d0a6b37f6ed3c63d80998c96e8ef2d\nSSHFP 4 2 02ec148f1fe59a293f6bffef72ef51e5217127a0172e6d34243b9f0ddc694626",
93
+ "uptime_hours": 0,
94
+ "physicalprocessorcount": 1,
95
+ "boardmanufacturer": "Oracle Corporation",
96
+ "boardproductname": "VirtualBox",
97
+ "boardserialnumber": "0",
98
+ "bios_vendor": "innotek GmbH",
99
+ "bios_version": "VirtualBox",
100
+ "bios_release_date": "12/01/2006",
101
+ "manufacturer": "innotek GmbH",
102
+ "productname": "VirtualBox",
103
+ "serialnumber": "0",
104
+ "uuid": "2775E86A-EC06-4791-B2F2-C923CEB7A5C2",
105
+ "type": "Other",
106
+ "processor0": "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz",
107
+ "processorcount": 1,
108
+ "kernelmajversion": "4.14",
109
+ "domain": "example.com"
110
+ }
@@ -0,0 +1,117 @@
1
+ {
2
+ "gem_version": "~> 2.4.0",
3
+ "uptime_days": 0,
4
+ "ps": "ps -ef",
5
+ "hostname": "foo",
6
+ "operatingsystemrelease": "2016.09",
7
+ "physicalprocessorcount": 1,
8
+ "kernelversion": "4.4.44",
9
+ "gid": "root",
10
+ "osfamily": "RedHat",
11
+ "hardwaremodel": "x86_64",
12
+ "processors": {
13
+ "models": [
14
+ "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz"
15
+ ],
16
+ "count": 1,
17
+ "physicalcount": 1
18
+ },
19
+ "uptime_seconds": 342,
20
+ "kernel": "Linux",
21
+ "blockdevice_sda_size": 8589934592,
22
+ "blockdevice_sda_vendor": "ATA",
23
+ "blockdevice_sda_model": "VBOX HARDDISK",
24
+ "blockdevices": "sda",
25
+ "operatingsystemmajrelease": "2016",
26
+ "macaddress": "08:00:27:24:46:86",
27
+ "uniqueid": "007f0100",
28
+ "filesystems": "ext3,ext4",
29
+ "partitions": {
30
+ "sda1": {
31
+ "uuid": "84ecb40c-7e79-497a-9181-82a14c108b3b",
32
+ "size": "16773087",
33
+ "mount": "/",
34
+ "label": "/",
35
+ "filesystem": "ext4"
36
+ },
37
+ "sda128": {
38
+ "size": "2048",
39
+ "label": "BIOS Boot Partition"
40
+ }
41
+ },
42
+ "ipaddress": "10.0.2.15",
43
+ "uptime": "0:05 hours",
44
+ "uptime_hours": 0,
45
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDZ1lqGL2XwHIZ9fAJbcht6kKAthGOPsz5aC5sM1QP+mY3ouLB5jrwSpQcV51KvIl30IHu3Rp/Jrl06TpN9nw2kZnSMV0dY1k24ujEwF0CpL4STuv9AHkjD0tUFOa1BqmUukLYFKz2cZroUkFO9GZ4l/Z1EZGquQt37x+q0rq45IKlcoWyttLYFmX6zQhK7ICwnrjfTNXs8ID8g0NEFSne1AoDrHa3QjY/Epa5QVQpEOvJ/hrS5yJ2wYp7Rlg3uR4J+sA/Dpn6UCYC/xlj/aXcl90HPORlIy50gLpzLj55fcH6rTIMcLp5hl5gVyr5lygk+Ep5FiuYBMUPzCeCQ6o0v",
46
+ "sshfp_rsa": "SSHFP 1 1 62609e9683ca74c4076fbc583047df10f3d889ea\nSSHFP 1 2 aeb4e2c9242e3a2bbc81cc5718b38f3ca97fda038f7fe436278389d40536e066",
47
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIl9DhX/TT6XkAxp7ROAIP8/67ycpIo7t0+NSP4f0FJy9W2Ifj8m+l0i6zxMATRSOmgDNI+PL/TtLLWRZQ/VbQk=",
48
+ "sshfp_ecdsa": "SSHFP 3 1 f7209576950731ce607d529e7fad5798f39e3c79\nSSHFP 3 2 dc50a6f0c262a3e650301b904db34834e9c6733b78c44da6d971c7a64051a7f4",
49
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIBOrX7JImKM57m5n0t3ll23Lb9Dmh4UiPE9ANkViu0y4",
50
+ "sshfp_ed25519": "SSHFP 4 1 6be19cdb6a3bb6cf184b2eab1f538b4da090d8e6\nSSHFP 4 2 20421f8d892a4b5aca7f917af3caae21e57c98bacb5746a974705e0dfe9e58fc",
51
+ "id": "root",
52
+ "timezone": "UTC",
53
+ "kernelmajversion": "4.4",
54
+ "architecture": "x86_64",
55
+ "operatingsystem": "Amazon",
56
+ "os": {
57
+ "name": "Amazon",
58
+ "family": "RedHat",
59
+ "release": {
60
+ "major": "2016",
61
+ "minor": "09",
62
+ "full": "2016.09"
63
+ }
64
+ },
65
+ "processor0": "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz",
66
+ "processorcount": 1,
67
+ "memorysize": "996.94 MB",
68
+ "memoryfree": "877.52 MB",
69
+ "swapsize": "0.00 MB",
70
+ "swapfree": "0.00 MB",
71
+ "swapsize_mb": "0.00",
72
+ "swapfree_mb": "0.00",
73
+ "memorysize_mb": "996.94",
74
+ "memoryfree_mb": "877.52",
75
+ "rubyplatform": "x86_64-linux",
76
+ "virtual": "kvm",
77
+ "is_virtual": true,
78
+ "network_eth0": "10.0.2.0",
79
+ "network_lo": "127.0.0.0",
80
+ "kernelrelease": "4.4.44-39.55.amzn1.x86_64",
81
+ "path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin:/root/bin",
82
+ "fqdn": "foo.example.com",
83
+ "boardmanufacturer": "Oracle Corporation",
84
+ "boardproductname": "VirtualBox",
85
+ "boardserialnumber": "0",
86
+ "bios_vendor": "innotek GmbH",
87
+ "bios_version": "VirtualBox",
88
+ "bios_release_date": "12/01/2006",
89
+ "manufacturer": "innotek GmbH",
90
+ "productname": "VirtualBox",
91
+ "serialnumber": "0",
92
+ "uuid": "170E71AA-95F8-4004-B5C2-79D0352D7D23",
93
+ "type": "Other",
94
+ "augeasversion": "1.12.0",
95
+ "interfaces": "eth0,lo",
96
+ "ipaddress_eth0": "10.0.2.15",
97
+ "macaddress_eth0": "08:00:27:24:46:86",
98
+ "netmask_eth0": "255.255.255.0",
99
+ "mtu_eth0": 1500,
100
+ "ipaddress_lo": "127.0.0.1",
101
+ "netmask_lo": "255.0.0.0",
102
+ "mtu_lo": 65536,
103
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
104
+ "selinux": false,
105
+ "puppetversion": "6.6.0",
106
+ "netmask": "255.255.255.0",
107
+ "system_uptime": {
108
+ "seconds": 342,
109
+ "hours": 0,
110
+ "days": 0,
111
+ "uptime": "0:05 hours"
112
+ },
113
+ "hardwareisa": "x86_64",
114
+ "domain": "example.com",
115
+ "facterversion": "2.4.6",
116
+ "rubyversion": "2.5.3"
117
+ }