facterdb 1.0.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +19 -11
  4. data/CHANGELOG.md +76 -6
  5. data/README.md +13 -7
  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.6/centos-8-x86_64.facts +59 -0
  11. data/facts/1.7/amazon-2-x86_64.facts +76 -0
  12. data/facts/1.7/amazon-2016-x86_64.facts +78 -0
  13. data/facts/1.7/centos-8-x86_64.facts +82 -0
  14. data/facts/2.0/amazon-2-x86_64.facts +77 -0
  15. data/facts/2.0/amazon-2016-x86_64.facts +79 -0
  16. data/facts/2.0/centos-8-x86_64.facts +82 -0
  17. data/facts/2.1/amazon-2-x86_64.facts +90 -0
  18. data/facts/2.1/amazon-2016-x86_64.facts +90 -0
  19. data/facts/2.1/centos-8-x86_64.facts +92 -0
  20. data/facts/2.2/amazon-2-x86_64.facts +106 -0
  21. data/facts/2.2/amazon-2016-x86_64.facts +113 -0
  22. data/facts/2.2/centos-8-x86_64.facts +115 -0
  23. data/facts/2.3/amazon-2-x86_64.facts +107 -0
  24. data/facts/2.3/amazon-2016-x86_64.facts +114 -0
  25. data/facts/2.3/centos-8-x86_64.facts +143 -0
  26. data/facts/2.4/amazon-2-x86_64.facts +110 -0
  27. data/facts/2.4/amazon-2016-x86_64.facts +117 -0
  28. data/facts/2.4/centos-8-x86_64.facts +160 -0
  29. data/facts/2.4/raspbian-9-armv6l.facts +116 -0
  30. data/facts/2.4/raspbian-9-armv7l.facts +116 -0
  31. data/facts/2.5/amazon-2-x86_64.facts +116 -0
  32. data/facts/2.5/amazon-2016-x86_64.facts +117 -0
  33. data/facts/2.5/centos-8-x86_64.facts +160 -0
  34. data/facts/3.0/amazon-4-x86_64.facts +123 -173
  35. data/facts/3.1/amazon-4-x86_64.facts +127 -177
  36. data/facts/3.10/amazon-2-x86_64.facts +382 -0
  37. data/facts/3.10/amazon-2016-x86_64.facts +324 -0
  38. data/facts/3.10/archlinux-x86_64.facts +4 -3
  39. data/facts/3.11/amazon-2-x86_64.facts +488 -0
  40. data/facts/3.11/amazon-2016-x86_64.facts +379 -0
  41. data/facts/3.11/archlinux-x86_64.facts +4 -3
  42. data/facts/3.11/centos-8-x86_64.facts +494 -0
  43. data/facts/3.11/fedora-30-x86_64.facts +530 -0
  44. data/facts/3.11/gentoo-x86_64.facts +463 -0
  45. data/facts/3.11/raspbian-10-armv6l.facts +392 -0
  46. data/facts/3.11/raspbian-10-armv7l.facts +392 -0
  47. data/facts/3.11/solaris-11-i86pc.facts +647 -0
  48. data/facts/3.11/solaris-11-sun4v.facts +618 -0
  49. data/facts/3.12/amazon-2-x86_64.facts +385 -0
  50. data/facts/3.12/amazon-2016-x86_64.facts +327 -0
  51. data/facts/3.12/archlinux-x86_64.facts +3 -2
  52. data/facts/3.12/centos-8-x86_64.facts +400 -0
  53. data/facts/3.13/amazon-2-x86_64.facts +385 -0
  54. data/facts/3.13/amazon-2016-x86_64.facts +327 -0
  55. data/facts/3.13/centos-8-x86_64.facts +406 -0
  56. data/facts/3.13/debian-10-x86_64.facts +534 -0
  57. data/facts/3.14/amazon-2-x86_64.facts +385 -0
  58. data/facts/3.14/amazon-2016-x86_64.facts +327 -0
  59. data/facts/3.14/archlinux-x86_64.facts +4 -3
  60. data/facts/3.14/centos-8-x86_64.facts +406 -0
  61. data/facts/3.14/debian-10-x86_64.facts +534 -0
  62. data/facts/3.14/gentoo-x86_64.facts +463 -0
  63. data/facts/3.14/solaris-11-i86pc.facts +647 -0
  64. data/facts/3.14/solaris-11-sun4v.facts +618 -0
  65. data/facts/3.14/ubuntu-20.04-x86_64.facts +680 -0
  66. data/facts/3.3/amazon-4-x86_64.facts +127 -177
  67. data/facts/3.6/amazon-2-x86_64.facts +375 -0
  68. data/facts/3.6/amazon-2016-x86_64.facts +317 -0
  69. data/facts/3.7/amazon-2-x86_64.facts +375 -0
  70. data/facts/3.7/amazon-2016-x86_64.facts +317 -0
  71. data/facts/3.8/amazon-2-x86_64.facts +375 -0
  72. data/facts/3.8/amazon-2016-x86_64.facts +317 -0
  73. data/facts/3.9/amazon-2-x86_64.facts +381 -0
  74. data/facts/3.9/amazon-2016-x86_64.facts +323 -0
  75. data/facts/3.9/archlinux-x86_64.facts +4 -3
  76. data/facts/Vagrantfile +23 -0
  77. data/facts/get_facts.sh +24 -6
  78. data/lib/facterdb.rb +31 -10
  79. data/lib/facterdb/version.rb +1 -1
  80. data/spec/facterdb_spec.rb +36 -0
  81. metadata +67 -8
@@ -0,0 +1,116 @@
1
+ {
2
+ "processors": {
3
+ "models": [
4
+ null,
5
+ null,
6
+ null
7
+ ],
8
+ "count": 3,
9
+ "physicalcount": 1
10
+ },
11
+ "uptime_seconds": 49649,
12
+ "lsbdistid": "Raspbian",
13
+ "kernel": "Linux",
14
+ "macaddress": "b8:27:eb:e4:4d:13",
15
+ "rubysitedir": "/usr/local/lib/site_ruby/2.3.0",
16
+ "operatingsystem": "Debian",
17
+ "interfaces": "eth0,lo",
18
+ "ipaddress_eth0": "10.70.17.63",
19
+ "macaddress_eth0": "b8:27:eb:e4:4d:13",
20
+ "netmask_eth0": "255.255.248.0",
21
+ "mtu_eth0": 1500,
22
+ "ipaddress_lo": "127.0.0.1",
23
+ "netmask_lo": "255.0.0.0",
24
+ "mtu_lo": 65536,
25
+ "ipaddress": "10.70.17.63",
26
+ "system_uptime": {
27
+ "seconds": 49649,
28
+ "hours": 13,
29
+ "days": 0,
30
+ "uptime": "13:47 hours"
31
+ },
32
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC85mjXrwUnq07PSJJ8jbnKX/wG1s6aSoMUQGxF2XIKJlWfGlCZrg+sc0IHE5Pnzfnn9Wc7807Zwk5lxRhl60Cp3rjoJdYL/8roqK43Pq4dLDEIV/y+D74ukZQSF61dGDoC387JPF5AQD13NAjP3KSnQDyzhuNi8kkZ3gTXBFCjzwDNL1XpG9jnrpCGBy3NGhvWNBWaKfW9x2KYiYiwPINjB/ZjjY9rlA7GgBeWJTdWcpWwYM4/P5Bhb9eGtgBFKNtLI8oCBBKz+XQitDrs2z2w4TXttgbg0gtEGBkLTV2eVrDfIygPtuaP0jszMI/OWII3MQraHR9dW2XrBexMj295",
33
+ "sshfp_rsa": "SSHFP 1 1 627819d96570af375aea8caba2bbe4f10d0bce3a\nSSHFP 1 2 9a88f25fdfd87b7fa913ff2980e316ada895f583fd48d48dffcd15c5f605f3a3",
34
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNm0xS9H469s/Uur7W8yYPC4MnTmsTKJo4EiQ5uIBQwXje9z+WZEmfuSdaEkbDRK1C+B2vJWRbpQj20jvZOBC7c=",
35
+ "sshfp_ecdsa": "SSHFP 3 1 7f9fa7b90d76c0e0208e3d9168864c38e964b745\nSSHFP 3 2 10b4a754a0a4f9577bb6f5b8558f3cdedcc55240595997749c488876add9aef2",
36
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIEQPDo3pt1OcgLpgzPMWnseQpw2RfQ16jxXjVYGGDdSW",
37
+ "sshfp_ed25519": "SSHFP 4 1 4e56686d2ae28551ddd396500a8172bf8b6c157b\nSSHFP 4 2 1ad82b26d0a7b9fb4b78c09628c3ad8d3f0a1b24e5b05241e0c1e4c638f5c1cf",
38
+ "lsbdistdescription": "Raspbian GNU/Linux 9.4 (stretch)",
39
+ "gid": "root",
40
+ "kernelrelease": "4.14.79-v7+",
41
+ "hostname": "foo",
42
+ "operatingsystemrelease": "9.4",
43
+ "kernelmajversion": "4.14",
44
+ "kernelversion": "4.14.79",
45
+ "uptime_days": 0,
46
+ "hardwaremodel": "armv7l",
47
+ "architecture": "armv7l",
48
+ "rubyplatform": "arm-linux-gnueabihf",
49
+ "lsbdistrelease": "9.4",
50
+ "facterversion": "2.4.6",
51
+ "ps": "ps -ef",
52
+ "hardwareisa": "unknown",
53
+ "path": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
54
+ "netmask": "255.255.248.0",
55
+ "uptime": "13:47 hours",
56
+ "selinux": false,
57
+ "lsbdistcodename": "stretch",
58
+ "uniqueid": "007f0101",
59
+ "domain": "example.com",
60
+ "lsbmajdistrelease": "9",
61
+ "osfamily": "Debian",
62
+ "operatingsystemmajrelease": "9",
63
+ "virtual": "physical",
64
+ "is_virtual": false,
65
+ "puppetversion": "4.8.2",
66
+ "network_eth0": "10.70.16.0",
67
+ "network_lo": "127.0.0.0",
68
+ "timezone": "GMT",
69
+ "os": {
70
+ "name": "Debian",
71
+ "family": "Debian",
72
+ "release": {
73
+ "major": "9",
74
+ "minor": "4",
75
+ "full": "9.4"
76
+ },
77
+ "lsb": {
78
+ "distcodename": "stretch",
79
+ "distid": "Raspbian",
80
+ "distdescription": "Raspbian GNU/Linux 9.4 (stretch)",
81
+ "distrelease": "9.4",
82
+ "majdistrelease": "9",
83
+ "minordistrelease": "4"
84
+ }
85
+ },
86
+ "processorcount": 3,
87
+ "id": "root",
88
+ "partitions": {
89
+ "mmcblk0p2": {
90
+ "uuid": "01eafcd6-a925-4d24-9e81-b41b7d3abc88",
91
+ "mount": "/",
92
+ "filesystem": "ext4"
93
+ },
94
+ "mmcblk0p1": {
95
+ "mount": "/boot",
96
+ "filesystem": "msdos"
97
+ }
98
+ },
99
+ "physicalprocessorcount": 1,
100
+ "lsbminordistrelease": "4",
101
+ "memorysize": "927.20 MB",
102
+ "memoryfree": "774.40 MB",
103
+ "swapsize": "0.00 MB",
104
+ "swapfree": "0.00 MB",
105
+ "swapsize_mb": "0.00",
106
+ "swapfree_mb": "0.00",
107
+ "memorysize_mb": "927.20",
108
+ "memoryfree_mb": "774.40",
109
+ "augeasversion": "1.8.0",
110
+ "rubyversion": "2.3.3",
111
+ "filesystems": "ext2,ext3,ext4,f2fs,msdos,vfat",
112
+ "uptime_hours": 13,
113
+ "blockdevice_mmcblk0_size": 31104958464,
114
+ "blockdevices": "mmcblk0",
115
+ "fqdn": "foo.example.com"
116
+ }
@@ -0,0 +1,116 @@
1
+ {
2
+ "gem_version": "~> 2.5.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
+ "release": {
19
+ "major": "2",
20
+ "full": "2"
21
+ }
22
+ },
23
+ "facterversion": "2.5.6",
24
+ "filesystems": "xfs",
25
+ "fqdn": "foo.example.com",
26
+ "gid": "root",
27
+ "hardwareisa": "x86_64",
28
+ "hostname": "foo",
29
+ "id": "root",
30
+ "interfaces": "eth0,lo",
31
+ "ipaddress_eth0": "10.0.2.15",
32
+ "macaddress_eth0": "08:00:27:d5:a3:c3",
33
+ "netmask_eth0": "255.255.255.0",
34
+ "mtu_eth0": 1500,
35
+ "ipaddress_lo": "127.0.0.1",
36
+ "netmask_lo": "255.0.0.0",
37
+ "mtu_lo": 65536,
38
+ "ipaddress": "10.0.2.15",
39
+ "kernelmajversion": "4.14",
40
+ "kernelrelease": "4.14.154-128.181.amzn2.x86_64",
41
+ "kernelversion": "4.14.154",
42
+ "macaddress": "08:00:27:d5:a3:c3",
43
+ "boardmanufacturer": "Oracle Corporation",
44
+ "boardproductname": "VirtualBox",
45
+ "boardserialnumber": "0",
46
+ "bios_vendor": "innotek GmbH",
47
+ "bios_version": "VirtualBox",
48
+ "bios_release_date": "12/01/2006",
49
+ "manufacturer": "innotek GmbH",
50
+ "productname": "VirtualBox",
51
+ "serialnumber": "0",
52
+ "uuid": "2775E86A-EC06-4791-B2F2-C923CEB7A5C2",
53
+ "type": "Other",
54
+ "memorysize": "985.54 MB",
55
+ "memoryfree": "810.61 MB",
56
+ "swapsize": "0.00 MB",
57
+ "swapfree": "0.00 MB",
58
+ "swapsize_mb": "0.00",
59
+ "swapfree_mb": "0.00",
60
+ "memorysize_mb": "985.54",
61
+ "memoryfree_mb": "810.61",
62
+ "netmask": "255.255.255.0",
63
+ "network_eth0": "10.0.2.0",
64
+ "network_lo": "127.0.0.0",
65
+ "operatingsystemmajrelease": "2",
66
+ "operatingsystemrelease": "2",
67
+ "osfamily": "RedHat",
68
+ "partitions": {
69
+ "sda128": {
70
+ "size": "2048",
71
+ "label": "BIOS Boot Partition"
72
+ },
73
+ "sda1": {
74
+ "uuid": "ea6df027-1cd4-4037-9a1b-534f3ede9d72",
75
+ "size": "52424671",
76
+ "mount": "/",
77
+ "label": "/",
78
+ "filesystem": "xfs"
79
+ }
80
+ },
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:/root/bin",
82
+ "physicalprocessorcount": 1,
83
+ "processors": {
84
+ "models": [
85
+ "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz"
86
+ ],
87
+ "count": 1,
88
+ "physicalcount": 1
89
+ },
90
+ "processor0": "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz",
91
+ "processorcount": 1,
92
+ "ps": "ps -ef",
93
+ "puppetversion": "6.6.0",
94
+ "rubyplatform": "x86_64-linux",
95
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
96
+ "rubyversion": "2.5.3",
97
+ "selinux": false,
98
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCzt7VD+RI3cTlhjLrmXiEovOBn0PXzt5ezZmd/E5n3FCO6enAuc3gJZvE6Xhi44lGspTxYQ3bZDnASLF0/oEklrhof173tWAD/gm0JHz9FCXx/msL5VRt+m4kFZ5MRPCwXMYw8hjsuqj8DHtaBleoWyslZWZwBOjLKm7RKR668wrS5cuFtaqK0TrvVMUd6LKL37S/Hs7BPCbKLmgCZgyXuorDmvHvDf161MS/jsS32YfGyuKviDZlfMwK9EqtUlFCf5VNHbrl4CBE2ccLIhqqADZWGTYHqqP3XnJ/WylCPA4uewCg+4XZfqRcel77ny3dfsOQnZxerihHB81TTqv7b",
99
+ "sshfp_rsa": "SSHFP 1 1 ef92c5aad85bb02166cd22c177c9bda5f700bc51\nSSHFP 1 2 ee352de2e36afbc76bb1f19311d30f681ff6153a8a53d9766ddf81f35afdcfca",
100
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBP7HYO0Z/t7NKY8iwAyq4Hg5I9fPSTSmZ27fz3u51rZwjoZYUkPMw6PxVUus8pJE4Lq09ifB+Z7UNnJYmp8r+7g=",
101
+ "sshfp_ecdsa": "SSHFP 3 1 f85c1e7a914aa7b76694dc854e7311d01223a84b\nSSHFP 3 2 6fe18ab8c51fcfafb4497eeaf7e2da45e5e8d345d29678ce1acafbeb51647980",
102
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIFcZRjX0s2qeMtkwUMh+28gOAS9hykSl7jHBafv7sx/v",
103
+ "sshfp_ed25519": "SSHFP 4 1 ea5e3e5078d0a6b37f6ed3c63d80998c96e8ef2d\nSSHFP 4 2 02ec148f1fe59a293f6bffef72ef51e5217127a0172e6d34243b9f0ddc694626",
104
+ "system_uptime": {
105
+ "seconds": 422,
106
+ "hours": 0,
107
+ "days": 0,
108
+ "uptime": "0:07 hours"
109
+ },
110
+ "timezone": "UTC",
111
+ "uniqueid": "007f0100",
112
+ "uptime": "0:07 hours",
113
+ "uptime_days": 0,
114
+ "uptime_hours": 0,
115
+ "uptime_seconds": 422
116
+ }
@@ -0,0 +1,117 @@
1
+ {
2
+ "gem_version": "~> 2.5.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": 344,
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": "876.58 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": "876.58",
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": 344,
109
+ "hours": 0,
110
+ "days": 0,
111
+ "uptime": "0:05 hours"
112
+ },
113
+ "hardwareisa": "x86_64",
114
+ "domain": "example.com",
115
+ "facterversion": "2.5.6",
116
+ "rubyversion": "2.5.3"
117
+ }
@@ -0,0 +1,160 @@
1
+ {
2
+ "gem_version": "~> 2.5.0",
3
+ "architecture": "x86_64",
4
+ "augeasversion": "1.12.0",
5
+ "kernel": "Linux",
6
+ "blockdevice_sda_size": 10737418240,
7
+ "blockdevice_sda_vendor": "ATA",
8
+ "blockdevice_sda_model": "VBOX HARDDISK",
9
+ "blockdevices": "sda",
10
+ "domain": "example.com",
11
+ "ec2_metadata": {
12
+ "ami-id": "ami-00004381",
13
+ "ami-launch-index": "0",
14
+ "ami-manifest-path": "FIXME",
15
+ "block-device-mapping": {
16
+ "ami": "vda",
17
+ "root": "/dev/vda"
18
+ },
19
+ "hostname": "facterdb7.example.ch",
20
+ "instance-action": "none",
21
+ "instance-id": "i-000303b0",
22
+ "instance-type": "m2.medium",
23
+ "local-hostname": "facterdb7.example.ch",
24
+ "local-ipv4": "10.0.0.22",
25
+ "placement": {
26
+ "availability-zone": "cern-geneva-b"
27
+ },
28
+ "public-hostname": "facterdb7.example.ch",
29
+ "public-ipv4": null,
30
+ "public-keys": {
31
+ "0": {
32
+ "openssh-key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyrFhTrsSA2xrCoRLUiSTxxnLFvyk1ehZf4Hot3zYCcM9ZN3Umttxc6BAV7l4Lzj91EnQZMxZzxnfuA3YO5gEU1p8VWVDJ3NtrvJBGJiA57YNeZZeiW1D+SpvsyfyioyEgX0DysRrZ6wZnbOBOGkElOBJuHsqZDBqb7J1vvbBRPGccviTMNvX2cI99v4EaUSzIBqyYP+ScQQXd9o1yqtqh/kpxGfVV4OP1GY/TBqiIkFjE9DqKlk+Wqwp41Fnx8sWuxqjqhjwIpg54eGclXyNa2bGjMdKVjOVp88Fpk8TXwdQ/qYQtMByB+9YmPIJQA4PPRr7B73ksA8ecB3M9TWrZ foobar@aiadm73.example.ch"
33
+ }
34
+ },
35
+ "reservation-id": "r-rahamwwa",
36
+ "security-groups": "default"
37
+ },
38
+ "virtual": "kvm",
39
+ "is_virtual": true,
40
+ "hardwaremodel": "x86_64",
41
+ "operatingsystem": "CentOS",
42
+ "os": {
43
+ "name": "CentOS",
44
+ "family": "RedHat",
45
+ "release": {
46
+ "major": "8",
47
+ "minor": "0",
48
+ "full": "8.0.1905"
49
+ }
50
+ },
51
+ "ec2_ami_id": "ami-00004381",
52
+ "ec2_ami_launch_index": "0",
53
+ "ec2_ami_manifest_path": "FIXME",
54
+ "ec2_block_device_mapping_ami": "vda",
55
+ "ec2_block_device_mapping_root": "/dev/vda",
56
+ "ec2_hostname": "facterdb7.example.ch",
57
+ "ec2_instance_action": "none",
58
+ "ec2_instance_id": "i-000303b0",
59
+ "ec2_instance_type": "m2.medium",
60
+ "ec2_local_hostname": "facterdb7.example.ch",
61
+ "ec2_local_ipv4": "10.0.0.22",
62
+ "ec2_placement_availability_zone": "cern-geneva-b",
63
+ "ec2_public_hostname": "facterdb7.example.ch",
64
+ "ec2_public_keys_0_openssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyrFhTrsSA2xrCoRLUiSTxxnLFvyk1ehZf4Hot3zYCcM9ZN3Umttxc6BAV7l4Lzj91EnQZMxZzxnfuA3YO5gEU1p8VWVDJ3NtrvJBGJiA57YNeZZeiW1D+SpvsyfyioyEgX0DysRrZ6wZnbOBOGkElOBJuHsqZDBqb7J1vvbBRPGccviTMNvX2cI99v4EaUSzIBqyYP+ScQQXd9o1yqtqh/kpxGfVV4OP1GY/TBqiIkFjE9DqKlk+Wqwp41Fnx8sWuxqjqhjwIpg54eGclXyNa2bGjMdKVjOVp88Fpk8TXwdQ/qYQtMByB+9YmPIJQA4PPRr7B73ksA8ecB3M9TWrZ foobar@aiadm73.example.ch",
65
+ "ec2_reservation_id": "r-rahamwwa",
66
+ "ec2_security_groups": "default",
67
+ "facterversion": "2.5.6",
68
+ "filesystems": "xfs",
69
+ "fqdn": "foo.example.com",
70
+ "gid": "root",
71
+ "hardwareisa": "x86_64",
72
+ "hostname": "foo",
73
+ "id": "root",
74
+ "interfaces": "eth0,lo",
75
+ "ipaddress_eth0": "10.0.2.15",
76
+ "macaddress_eth0": "00:0a:95:9d:68:16",
77
+ "netmask_eth0": "255.255.255.0",
78
+ "mtu_eth0": 1500,
79
+ "ipaddress_lo": "127.0.0.1",
80
+ "netmask_lo": "255.0.0.0",
81
+ "mtu_lo": 65536,
82
+ "ipaddress": "10.0.2.15",
83
+ "kernelmajversion": "4.18",
84
+ "kernelrelease": "4.18.0-80.el8.x86_64",
85
+ "kernelversion": "4.18.0",
86
+ "macaddress": "00:0a:95:9d:68:16",
87
+ "boardmanufacturer": "Oracle Corporation",
88
+ "boardproductname": "VirtualBox",
89
+ "boardserialnumber": "0",
90
+ "bios_vendor": "innotek GmbH",
91
+ "bios_version": "VirtualBox",
92
+ "bios_release_date": "12/01/2006",
93
+ "manufacturer": "innotek GmbH",
94
+ "productname": "VirtualBox",
95
+ "serialnumber": "0",
96
+ "uuid": "e378b46a-e8cb-46d3-a46c-ad87b07c8f77",
97
+ "type": "Other",
98
+ "memorysize": "477.41 MB",
99
+ "memoryfree": "306.75 MB",
100
+ "swapsize": "2.00 GB",
101
+ "swapfree": "1.98 GB",
102
+ "swapsize_mb": "2048.00",
103
+ "swapfree_mb": "2032.42",
104
+ "memorysize_mb": "477.41",
105
+ "memoryfree_mb": "306.75",
106
+ "netmask": "255.255.255.0",
107
+ "network_eth0": "10.0.2.0",
108
+ "network_lo": "127.0.0.0",
109
+ "operatingsystemmajrelease": "8",
110
+ "operatingsystemrelease": "8.0.1905",
111
+ "osfamily": "RedHat",
112
+ "partitions": {
113
+ "sda1": {
114
+ "uuid": "d5f5b677-6350-416d-b1d3-47d723d94d88",
115
+ "size": "20969472",
116
+ "mount": "/",
117
+ "filesystem": "xfs"
118
+ }
119
+ },
120
+ "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",
121
+ "physicalprocessorcount": 1,
122
+ "processors": {
123
+ "models": [
124
+ "Intel Core Processor (Broadwell, IBRS)"
125
+ ],
126
+ "count": 1,
127
+ "physicalcount": 1
128
+ },
129
+ "processor0": "Intel Core Processor (Broadwell, IBRS)",
130
+ "processorcount": 1,
131
+ "ps": "ps -ef",
132
+ "puppetversion": "6.6.0",
133
+ "rubyplatform": "x86_64-linux",
134
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
135
+ "rubyversion": "2.5.3",
136
+ "selinux": true,
137
+ "selinux_enforced": true,
138
+ "selinux_policyversion": "31",
139
+ "selinux_current_mode": "enforcing",
140
+ "selinux_config_mode": "enforcing",
141
+ "selinux_config_policy": "targeted",
142
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC/ZfDSV1GAanLrOMXOPgrgRjfeGk/gCRcsdECLwfWDMft306K8t1B/UsK9UM+/m3qzNAGGuF3RP+YQ+Y+/2vJv8nCw72OGDSu/r1lj6VWeLdNE8Pvakb+jmbNpz80UMIliJP/Q68Omy//LcuI/Tc2Gz0bVlw4nLfB8+aNZsf+/2wljYBSjsKbouTfqhkxCy8ro9F0PWUlj65bCIsiYN20OEcptabz2T0ElxKtj23e5Samrf5W8A9WeNTzeyhqAjp0/qLVlsFrcvpi9OXPgTAaFZkExUp8AszcfbDjeUDX4DBMNtrScTc00RYl5keNfon2jZf/wyGNNBOmW/VOAsWaN",
143
+ "sshfp_rsa": "SSHFP 1 1 e420f205efb008be17400cc0e356eb4055c4187d\nSSHFP 1 2 45995e2917e7a7d0e30cb73f0bd6e549208985ae176e60b9d255470501ba68fd",
144
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNgF8jA2VyzG9T3XiXu4Tg+X0omtP2qBh0bTMT2AY0OYfuqEQYb6ER2XBq8VPt1XqvI1ogEBSKezWpwM4ELMH64=",
145
+ "sshfp_ecdsa": "SSHFP 3 1 1d6fb4ad9428c8d6a1a8ed3e9d952061d14d5693\nSSHFP 3 2 fa949d01f48d1f046e54f6dc2e3f88f43dae8b4ac76333e197b008c6d59c98c7",
146
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIHOX9wXZQvhPidTkWlOV3lWjfmjQJPWTbmrzwEfkuPxl",
147
+ "sshfp_ed25519": "SSHFP 4 1 31326c74ce4c096f165364cb51def93e0776a483\nSSHFP 4 2 925f23199aa7b4737534f8c63cfedfec27f2821cb69095733fd8d4b0e6838941",
148
+ "system_uptime": {
149
+ "seconds": 404,
150
+ "hours": 0,
151
+ "days": 0,
152
+ "uptime": "0:06 hours"
153
+ },
154
+ "timezone": "UTC",
155
+ "uniqueid": "007f0100",
156
+ "uptime": "0:06 hours",
157
+ "uptime_days": 0,
158
+ "uptime_hours": 0,
159
+ "uptime_seconds": 404
160
+ }