facterdb 1.6.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release.yml +32 -0
  3. data/.github/workflows/test.yml +28 -0
  4. data/CHANGELOG.md +174 -121
  5. data/Gemfile +2 -2
  6. data/README.md +115 -99
  7. data/Rakefile +15 -4
  8. data/facterdb.gemspec +6 -7
  9. data/facts/1.6/debian-11-x86_64.facts +57 -0
  10. data/facts/1.6/freebsd-13-x86_64.facts +51 -0
  11. data/facts/1.6/oraclelinux-8-x86_64.facts +59 -0
  12. data/facts/1.7/centos-9-x86_64.facts +82 -0
  13. data/facts/1.7/debian-11-x86_64.facts +74 -0
  14. data/facts/1.7/freebsd-13-x86_64.facts +69 -0
  15. data/facts/1.7/oraclelinux-8-x86_64.facts +82 -0
  16. data/facts/2.0/centos-9-x86_64.facts +82 -0
  17. data/facts/2.0/debian-11-x86_64.facts +76 -0
  18. data/facts/2.0/freebsd-13-x86_64.facts +70 -0
  19. data/facts/2.0/oraclelinux-8-x86_64.facts +82 -0
  20. data/facts/2.1/centos-9-x86_64.facts +112 -0
  21. data/facts/2.1/debian-11-x86_64.facts +84 -0
  22. data/facts/2.1/freebsd-13-x86_64.facts +70 -0
  23. data/facts/2.1/oraclelinux-8-x86_64.facts +92 -0
  24. data/facts/2.2/centos-9-x86_64.facts +137 -0
  25. data/facts/2.2/debian-11-x86_64.facts +115 -0
  26. data/facts/2.2/freebsd-13-x86_64.facts +91 -0
  27. data/facts/2.2/oraclelinux-8-x86_64.facts +115 -0
  28. data/facts/2.3/centos-9-x86_64.facts +138 -0
  29. data/facts/2.3/debian-11-x86_64.facts +116 -0
  30. data/facts/2.3/freebsd-13-x86_64.facts +92 -0
  31. data/facts/2.3/oraclelinux-8-x86_64.facts +143 -0
  32. data/facts/2.4/centos-9-x86_64.facts +139 -0
  33. data/facts/2.4/debian-11-x86_64.facts +118 -0
  34. data/facts/2.4/freebsd-13-x86_64.facts +92 -0
  35. data/facts/2.4/oraclelinux-8-x86_64.facts +160 -0
  36. data/facts/2.5/debian-11-x86_64.facts +118 -0
  37. data/facts/2.5/freebsd-13-x86_64.facts +92 -0
  38. data/facts/2.5/oraclelinux-8-x86_64.facts +160 -0
  39. data/facts/3.11/oraclelinux-8-x86_64.facts +494 -0
  40. data/facts/3.11/redhat-8-x86_64.facts +128 -127
  41. data/facts/3.11/solaris-10-i86pc.facts +1 -4
  42. data/facts/3.11/solaris-11-i86pc.facts +1 -4
  43. data/facts/3.11/solaris-11-sun4v.facts +1 -4
  44. data/facts/3.11/ubuntu-18.04-x86_64.facts +216 -101
  45. data/facts/3.12/oraclelinux-8-x86_64.facts +400 -0
  46. data/facts/3.12/redhat-8-x86_64.facts +109 -105
  47. data/facts/3.13/oraclelinux-8-x86_64.facts +406 -0
  48. data/facts/3.13/redhat-8-x86_64.facts +111 -113
  49. data/facts/3.13/ubuntu-18.04-x86_64.facts +216 -101
  50. data/facts/3.14/almalinux-8-x86_64.facts +522 -0
  51. data/facts/3.14/darwin-19-x86_64.facts +412 -0
  52. data/facts/3.14/darwin-20-x86_64.facts +516 -0
  53. data/facts/3.14/debian-11-x86_64.facts +508 -0
  54. data/facts/3.14/freebsd-11-x86_64.facts +479 -0
  55. data/facts/3.14/freebsd-12-x86_64.facts +479 -0
  56. data/facts/3.14/freebsd-13-x86_64.facts +475 -0
  57. data/facts/3.14/oraclelinux-8-x86_64.facts +406 -0
  58. data/facts/3.14/redhat-8-x86_64.facts +111 -113
  59. data/facts/3.14/rocky-8-x86_64.facts +625 -0
  60. data/facts/3.14/solaris-11-i86pc.facts +1 -4
  61. data/facts/3.14/solaris-11-sun4v.facts +1 -4
  62. data/facts/3.14/ubuntu-18.04-x86_64.facts +91 -91
  63. data/facts/3.14/ubuntu-20.04-x86_64.facts +138 -184
  64. data/facts/3.9/solaris-10-i86pc.facts +0 -3
  65. data/facts/4.0/almalinux-8-x86_64.facts +307 -0
  66. data/facts/4.0/centos-7-x86_64.facts +706 -0
  67. data/facts/4.0/debian-10-x86_64.facts +1091 -0
  68. data/facts/4.0/debian-11-x86_64.facts +236 -0
  69. data/facts/4.0/freebsd-11-x86_64.facts +208 -0
  70. data/facts/4.0/freebsd-12-x86_64.facts +208 -0
  71. data/facts/4.0/freebsd-13-x86_64.facts +207 -0
  72. data/facts/4.0/redhat-8-x86_64.facts +230 -0
  73. data/facts/4.0/solaris-11-sun4v.facts +585 -0
  74. data/facts/4.0/ubuntu-18.04-x86_64.facts +241 -0
  75. data/facts/4.0/ubuntu-20.04-x86_64.facts +259 -0
  76. data/facts/4.1/debian-11-x86_64.facts +238 -0
  77. data/facts/4.1/freebsd-11-x86_64.facts +208 -0
  78. data/facts/4.1/freebsd-12-x86_64.facts +208 -0
  79. data/facts/4.1/freebsd-13-x86_64.facts +207 -0
  80. data/facts/4.1/redhat-8-x86_64.facts +232 -0
  81. data/facts/4.1/ubuntu-18.04-x86_64.facts +243 -0
  82. data/facts/4.1/ubuntu-20.04-x86_64.facts +261 -0
  83. data/facts/4.2/centos-7-x86_64.facts +593 -0
  84. data/facts/4.2/centos-8-x86_64.facts +591 -0
  85. data/facts/4.2/centos-9-x86_64.facts +291 -0
  86. data/facts/4.2/darwin-20-x86_64.facts +524 -0
  87. data/facts/4.2/debian-10-x86_64.facts +574 -0
  88. data/facts/4.2/debian-11-x86_64.facts +244 -0
  89. data/facts/4.2/debian-9-x86_64.facts +597 -0
  90. data/facts/4.2/freebsd-11-x86_64.facts +261 -0
  91. data/facts/4.2/freebsd-12-x86_64.facts +261 -0
  92. data/facts/4.2/freebsd-13-x86_64.facts +260 -0
  93. data/facts/4.2/oraclelinux-8-x86_64.facts +591 -0
  94. data/facts/4.2/redhat-8-x86_64.facts +232 -0
  95. data/facts/4.2/ubuntu-18.04-x86_64.facts +249 -0
  96. data/facts/4.2/ubuntu-20.04-x86_64.facts +267 -0
  97. data/facts/Gemfile +1 -0
  98. data/facts/Vagrantfile +33 -9
  99. data/facts/get_facts.sh +45 -13
  100. data/lib/facterdb/version.rb +1 -1
  101. data/lib/facterdb.rb +17 -2
  102. data/spec/facts_spec.rb +9 -2
  103. metadata +82 -27
  104. data/.travis.yml +0 -36
@@ -0,0 +1,307 @@
1
+ {
2
+ "architecture": "x86_64",
3
+ "bios_release_date": "12/01/2006",
4
+ "bios_vendor": "innotek GmbH",
5
+ "bios_version": "VirtualBox",
6
+ "blockdevice_sda_model": "VBOX HARDDISK",
7
+ "blockdevice_sda_size": 20971520000,
8
+ "blockdevice_sda_vendor": "ATA",
9
+ "blockdevices": "sda",
10
+ "boardmanufacturer": "Oracle Corporation",
11
+ "boardproductname": "VirtualBox",
12
+ "chassistype": "Other",
13
+ "dhcp_servers": {
14
+ "system": null
15
+ },
16
+ "disks": {
17
+ "sda": {
18
+ "model": "VBOX HARDDISK",
19
+ "size": "19.53 GiB",
20
+ "size_bytes": 20971520000,
21
+ "type": "hdd",
22
+ "vendor": "ATA"
23
+ }
24
+ },
25
+ "dmi": {
26
+ "bios": {
27
+ "release_date": "12/01/2006",
28
+ "vendor": "innotek GmbH",
29
+ "version": "VirtualBox"
30
+ },
31
+ "board": {
32
+ "manufacturer": "Oracle Corporation",
33
+ "product": "VirtualBox"
34
+ },
35
+ "chassis": {
36
+ "type": "Other"
37
+ },
38
+ "manufacturer": "innotek GmbH",
39
+ "product": {
40
+ "name": "VirtualBox"
41
+ }
42
+ },
43
+ "domain": "example.com",
44
+ "facterversion": "4.0.51",
45
+ "filesystems": "xfs",
46
+ "fips_enabled": false,
47
+ "fqdn": "foo.example.com",
48
+ "gid": "vagrant",
49
+ "hardwareisa": "x86_64",
50
+ "hardwaremodel": "x86_64",
51
+ "hostname": "foo",
52
+ "hypervisors": {
53
+ "virtualbox": {
54
+ }
55
+ },
56
+ "id": "vagrant",
57
+ "identity": {
58
+ "gid": 1000,
59
+ "group": "vagrant",
60
+ "privileged": false,
61
+ "uid": 1000,
62
+ "user": "vagrant"
63
+ },
64
+ "interfaces": "enp0s3,lo",
65
+ "ipaddress": "10.0.2.15",
66
+ "ipaddress6": "fe80::50d3:582e:3dc:c90",
67
+ "ipaddress6_enp0s3": "fe80::50d3:582e:3dc:c90",
68
+ "ipaddress6_lo": "::1",
69
+ "ipaddress_enp0s3": "10.0.2.15",
70
+ "ipaddress_lo": "127.0.0.1",
71
+ "is_virtual": true,
72
+ "kernel": "Linux",
73
+ "kernelmajversion": "4.18",
74
+ "kernelrelease": "4.18.0-305.el8.x86_64",
75
+ "kernelversion": "4.18.0",
76
+ "load_averages": {
77
+ "15m": 0.13,
78
+ "1m": 0.33,
79
+ "5m": 0.26
80
+ },
81
+ "macaddress": "08:00:27:c3:d5:8a",
82
+ "macaddress_enp0s3": "08:00:27:c3:d5:8a",
83
+ "manufacturer": "innotek GmbH",
84
+ "memory": {
85
+ "swap": {
86
+ "available": "1.95 GiB",
87
+ "available_bytes": 2096611328,
88
+ "capacity": "0.03%",
89
+ "total": "1.95 GiB",
90
+ "total_bytes": 2097147904,
91
+ "used": "524.00 KiB",
92
+ "used_bytes": 536576
93
+ },
94
+ "system": {
95
+ "available": "602.12 MiB",
96
+ "available_bytes": 631365632,
97
+ "capacity": "37.96%",
98
+ "total": "970.52 MiB",
99
+ "total_bytes": 1017663488,
100
+ "used": "368.40 MiB",
101
+ "used_bytes": 386297856
102
+ }
103
+ },
104
+ "memoryfree": "602.12 MiB",
105
+ "memoryfree_mb": 602.12,
106
+ "memorysize": "970.52 MiB",
107
+ "memorysize_mb": 970.52,
108
+ "mtu_enp0s3": 1500,
109
+ "mtu_lo": 65536,
110
+ "netmask": "255.255.255.0",
111
+ "netmask6": "ffff:ffff:ffff:ffff::",
112
+ "netmask6_enp0s3": "ffff:ffff:ffff:ffff::",
113
+ "netmask6_lo": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
114
+ "netmask_enp0s3": "255.255.255.0",
115
+ "netmask_lo": "255.0.0.0",
116
+ "network": "10.0.2.0",
117
+ "network6": "fe80::",
118
+ "network6_enp0s3": "fe80::",
119
+ "network6_lo": "::1",
120
+ "network_enp0s3": "10.0.2.0",
121
+ "network_lo": "127.0.0.0",
122
+ "networking": {
123
+ "domain": "example.com",
124
+ "fqdn": "foo.example.com",
125
+ "hostname": "foo",
126
+ "interfaces": {
127
+ "enp0s3": {
128
+ "bindings": [
129
+ {
130
+ "address": "10.0.2.15",
131
+ "netmask": "255.255.255.0",
132
+ "network": "10.0.2.0"
133
+ }
134
+ ],
135
+ "bindings6": [
136
+ {
137
+ "address": "fe80::50d3:582e:3dc:c90",
138
+ "netmask": "ffff:ffff:ffff:ffff::",
139
+ "network": "fe80::",
140
+ "scope6": "link"
141
+ }
142
+ ],
143
+ "ip": "10.0.2.15",
144
+ "ip6": "fe80::50d3:582e:3dc:c90",
145
+ "mac": "08:00:27:c3:d5:8a",
146
+ "mtu": 1500,
147
+ "netmask": "255.255.255.0",
148
+ "netmask6": "ffff:ffff:ffff:ffff::",
149
+ "network": "10.0.2.0",
150
+ "network6": "fe80::",
151
+ "scope6": "link"
152
+ },
153
+ "lo": {
154
+ "bindings": [
155
+ {
156
+ "address": "127.0.0.1",
157
+ "netmask": "255.0.0.0",
158
+ "network": "127.0.0.0"
159
+ }
160
+ ],
161
+ "bindings6": [
162
+ {
163
+ "address": "::1",
164
+ "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
165
+ "network": "::1",
166
+ "scope6": "host"
167
+ }
168
+ ],
169
+ "ip": "127.0.0.1",
170
+ "ip6": "::1",
171
+ "mtu": 65536,
172
+ "netmask": "255.0.0.0",
173
+ "netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
174
+ "network": "127.0.0.0",
175
+ "network6": "::1",
176
+ "scope6": "host"
177
+ }
178
+ },
179
+ "ip": "10.0.2.15",
180
+ "ip6": "fe80::50d3:582e:3dc:c90",
181
+ "mac": "08:00:27:c3:d5:8a",
182
+ "mtu": 1500,
183
+ "netmask": "255.255.255.0",
184
+ "netmask6": "ffff:ffff:ffff:ffff::",
185
+ "network": "10.0.2.0",
186
+ "network6": "fe80::",
187
+ "primary": "enp0s3",
188
+ "scope6": "link"
189
+ },
190
+ "operatingsystem": "AlmaLinux",
191
+ "operatingsystemmajrelease": "8",
192
+ "operatingsystemrelease": "8.4",
193
+ "os": {
194
+ "architecture": "x86_64",
195
+ "family": "RedHat",
196
+ "hardware": "x86_64",
197
+ "name": "AlmaLinux",
198
+ "release": {
199
+ "full": "8.4",
200
+ "major": "8",
201
+ "minor": "4"
202
+ },
203
+ "selinux": {
204
+ "config_mode": "enforcing",
205
+ "config_policy": "targeted",
206
+ "current_mode": "enforcing",
207
+ "enabled": true,
208
+ "enforced": true,
209
+ "policy_version": "33"
210
+ }
211
+ },
212
+ "osfamily": "RedHat",
213
+ "partitions": {
214
+ "/dev/sda1": {
215
+ "filesystem": "swap",
216
+ "size": "1.95 GiB",
217
+ "size_bytes": 2097152000,
218
+ "uuid": "789c9475-2f0c-4b9e-83de-e80c05fe59ce"
219
+ },
220
+ "/dev/sda2": {
221
+ "filesystem": "xfs",
222
+ "size": "17.58 GiB",
223
+ "size_bytes": 18873319424,
224
+ "uuid": "7ead1cde-b587-4a38-bbb0-b6e92797a269"
225
+ }
226
+ },
227
+ "path": "/home/vagrant/.local/bin:/home/vagrant/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin",
228
+ "physicalprocessorcount": 1,
229
+ "processor0": "Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz",
230
+ "processorcount": 1,
231
+ "processors": {
232
+ "count": 1,
233
+ "isa": "x86_64",
234
+ "models": [
235
+ "Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz"
236
+ ],
237
+ "physicalcount": 1,
238
+ "speed": "2.30 GHz"
239
+ },
240
+ "productname": "VirtualBox",
241
+ "puppetversion": "7.8.0",
242
+ "ruby": {
243
+ "platform": "x86_64-linux",
244
+ "sitedir": "/usr/local/share/ruby/site_ruby",
245
+ "version": "2.5.9"
246
+ },
247
+ "rubyplatform": "x86_64-linux",
248
+ "rubysitedir": "/usr/local/share/ruby/site_ruby",
249
+ "rubyversion": "2.5.9",
250
+ "scope6": "link",
251
+ "scope6_enp0s3": "link",
252
+ "scope6_lo": "host",
253
+ "selinux": true,
254
+ "selinux_config_mode": "enforcing",
255
+ "selinux_config_policy": "targeted",
256
+ "selinux_current_mode": "enforcing",
257
+ "selinux_enforced": true,
258
+ "selinux_policyversion": "33",
259
+ "ssh": {
260
+ "ecdsa": {
261
+ "fingerprints": {
262
+ "sha1": "SSHFP 3 1 325321becc2b4ff896108d81052e04178b13c143",
263
+ "sha256": "SSHFP 3 2 c02fde237414fdcc6de2ffaa1cd3d2798c7d2bd713d88b806f1c6d715724a94c"
264
+ },
265
+ "key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC7EAV6VEtc/OhGlA2ASWvshnTmEF023qHGpXRiXQ3ok3hDgRMbdZs5h5f2JOQ5EzeeswEBg4dfN08RTm5kHkPk=",
266
+ "type": "ecdsa-sha2-nistp256"
267
+ },
268
+ "ed25519": {
269
+ "fingerprints": {
270
+ "sha1": "SSHFP 4 1 9f589a3c7a8696f44957d4d5f09cde113d6f5377",
271
+ "sha256": "SSHFP 4 2 18a6e9f0b4569c92b4346fe680abf6606d6e20c5c24c0d9478e81dab21064515"
272
+ },
273
+ "key": "AAAAC3NzaC1lZDI1NTE5AAAAIFji05MXvePUjhIbxkJ2vy/Kv3bMvXq8dOboFE/Wna5R",
274
+ "type": "ssh-ed25519"
275
+ },
276
+ "rsa": {
277
+ "fingerprints": {
278
+ "sha1": "SSHFP 1 1 5c6673578d0b3bec75150321538f5eca92245850",
279
+ "sha256": "SSHFP 1 2 f8ac947101881eba2eae549820d8af064cbd3e78e4875612fbe8540ac30e8d1e"
280
+ },
281
+ "key": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDKlDxQZQRFZlAP5xjCCcvt6wz4sxjw1UGkrrYzOQwSkx4pGjNV2ritQkOaWswNl7xugqtl5jNWiQdItMqmZcYStULLCC1Du3nCcGV9qLxrZmp0Jv9WsmAhwD2YbVxmClbHqW90tUG0rrjl889G5xKydyfuZotSMrCsmD+82T/LJvKna3sIGACr+6NUF6O1mPYxsaNIAloepCyJMfq9HWzt/4sckSPr2A1M78uTnWPJL1lTXqjgUDWxg7V/BCPKqHMu+zkx/VtM9yxRZn+xZs+B4VySOc0bmzpt1wEBdZScvOuiOk6DozpRktBRPfD4gzPb8sGzdPXhEd3+adjrUNORZfAQt3osuwzmZxyXlQZNGzb5VTxS5dKOnyoFcLhG886qOnzUN/aJrEar+O6TXYNp3hc7M2YJbFGGpd53YrVo8BN6vXAUP7mbi+Q00g9d40O/NEC0ORPKK4zRhOlmARlZDCewpN9RDB2qGFKWFte+ZgeYY2RiwBDQ8qBDqefigyE=",
282
+ "type": "ssh-rsa"
283
+ }
284
+ },
285
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC7EAV6VEtc/OhGlA2ASWvshnTmEF023qHGpXRiXQ3ok3hDgRMbdZs5h5f2JOQ5EzeeswEBg4dfN08RTm5kHkPk=",
286
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIFji05MXvePUjhIbxkJ2vy/Kv3bMvXq8dOboFE/Wna5R",
287
+ "sshfp_ecdsa": "SSHFP 3 1 325321becc2b4ff896108d81052e04178b13c143\nSSHFP 3 2 c02fde237414fdcc6de2ffaa1cd3d2798c7d2bd713d88b806f1c6d715724a94c",
288
+ "sshfp_ed25519": "SSHFP 4 1 9f589a3c7a8696f44957d4d5f09cde113d6f5377\nSSHFP 4 2 18a6e9f0b4569c92b4346fe680abf6606d6e20c5c24c0d9478e81dab21064515",
289
+ "sshfp_rsa": "SSHFP 1 1 5c6673578d0b3bec75150321538f5eca92245850\nSSHFP 1 2 f8ac947101881eba2eae549820d8af064cbd3e78e4875612fbe8540ac30e8d1e",
290
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDKlDxQZQRFZlAP5xjCCcvt6wz4sxjw1UGkrrYzOQwSkx4pGjNV2ritQkOaWswNl7xugqtl5jNWiQdItMqmZcYStULLCC1Du3nCcGV9qLxrZmp0Jv9WsmAhwD2YbVxmClbHqW90tUG0rrjl889G5xKydyfuZotSMrCsmD+82T/LJvKna3sIGACr+6NUF6O1mPYxsaNIAloepCyJMfq9HWzt/4sckSPr2A1M78uTnWPJL1lTXqjgUDWxg7V/BCPKqHMu+zkx/VtM9yxRZn+xZs+B4VySOc0bmzpt1wEBdZScvOuiOk6DozpRktBRPfD4gzPb8sGzdPXhEd3+adjrUNORZfAQt3osuwzmZxyXlQZNGzb5VTxS5dKOnyoFcLhG886qOnzUN/aJrEar+O6TXYNp3hc7M2YJbFGGpd53YrVo8BN6vXAUP7mbi+Q00g9d40O/NEC0ORPKK4zRhOlmARlZDCewpN9RDB2qGFKWFte+ZgeYY2RiwBDQ8qBDqefigyE=",
291
+ "swapfree": "1.95 GiB",
292
+ "swapfree_mb": 1999.48,
293
+ "swapsize": "1.95 GiB",
294
+ "swapsize_mb": 2000.0,
295
+ "system_uptime": {
296
+ "days": 0,
297
+ "hours": 0,
298
+ "seconds": 831,
299
+ "uptime": "0:13 hours"
300
+ },
301
+ "timezone": "UTC",
302
+ "uptime": "0:13 hours",
303
+ "uptime_days": 0,
304
+ "uptime_hours": 0,
305
+ "uptime_seconds": 831,
306
+ "virtual": "virtualbox"
307
+ }