facterdb 1.9.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +2 -0
  3. data/CHANGELOG.md +60 -0
  4. data/README.md +15 -7
  5. data/facts/2.5/solaris-10-i86pc.facts +0 -11
  6. data/facts/3.11/redhat-8-x86_64.facts +128 -127
  7. data/facts/3.11/solaris-10-i86pc.facts +0 -6
  8. data/facts/3.11/ubuntu-18.04-x86_64.facts +216 -101
  9. data/facts/3.12/redhat-8-x86_64.facts +109 -105
  10. data/facts/3.13/redhat-8-x86_64.facts +111 -113
  11. data/facts/3.13/ubuntu-18.04-x86_64.facts +216 -101
  12. data/facts/3.14/fedora-32-x86_64.facts +490 -0
  13. data/facts/3.14/fedora-33-x86_64.facts +482 -0
  14. data/facts/3.14/fedora-34-x86_64.facts +493 -0
  15. data/facts/3.14/redhat-8-x86_64.facts +111 -113
  16. data/facts/3.14/ubuntu-18.04-x86_64.facts +91 -91
  17. data/facts/3.14/ubuntu-20.04-x86_64.facts +138 -184
  18. data/facts/3.14/ubuntu-21.04-x86_64.facts +510 -0
  19. data/facts/3.14/ubuntu-21.10-x86_64.facts +609 -0
  20. data/facts/3.9/solaris-10-i86pc.facts +0 -6
  21. data/facts/4.0/almalinux-8-x86_64.facts +302 -67
  22. data/facts/4.0/centos-7-x86_64.facts +0 -16
  23. data/facts/4.0/debian-10-x86_64.facts +0 -17
  24. data/facts/4.0/debian-11-x86_64.facts +319 -43
  25. data/facts/4.0/fedora-32-x86_64.facts +506 -0
  26. data/facts/4.0/fedora-33-x86_64.facts +505 -0
  27. data/facts/4.0/fedora-34-x86_64.facts +509 -0
  28. data/facts/4.0/freebsd-11-x86_64.facts +284 -15
  29. data/facts/4.0/freebsd-12-x86_64.facts +285 -16
  30. data/facts/4.0/freebsd-13-x86_64.facts +288 -21
  31. data/facts/4.0/oraclelinux-7-x86_64.facts +690 -0
  32. data/facts/4.0/redhat-7-x86_64.facts +690 -0
  33. data/facts/4.0/redhat-8-x86_64.facts +523 -0
  34. data/facts/4.0/rocky-8-x86_64.facts +523 -0
  35. data/facts/4.0/scientific-7-x86_64.facts +690 -0
  36. data/facts/4.0/solaris-11-sun4v.facts +0 -6
  37. data/facts/4.0/ubuntu-18.04-x86_64.facts +549 -0
  38. data/facts/4.0/ubuntu-20.04-x86_64.facts +639 -0
  39. data/facts/4.0/ubuntu-21.04-x86_64.facts +646 -0
  40. data/facts/4.0/ubuntu-21.10-x86_64.facts +624 -0
  41. data/facts/4.1/almalinux-8-x86_64.facts +544 -0
  42. data/facts/4.1/debian-11-x86_64.facts +320 -44
  43. data/facts/4.1/fedora-32-x86_64.facts +508 -0
  44. data/facts/4.1/fedora-33-x86_64.facts +507 -0
  45. data/facts/4.1/fedora-34-x86_64.facts +511 -0
  46. data/facts/4.1/freebsd-11-x86_64.facts +284 -15
  47. data/facts/4.1/freebsd-12-x86_64.facts +285 -16
  48. data/facts/4.1/freebsd-13-x86_64.facts +288 -21
  49. data/facts/4.1/redhat-8-x86_64.facts +525 -0
  50. data/facts/4.1/rocky-8-x86_64.facts +525 -0
  51. data/facts/4.1/ubuntu-18.04-x86_64.facts +551 -0
  52. data/facts/4.1/ubuntu-20.04-x86_64.facts +641 -0
  53. data/facts/4.1/ubuntu-21.04-x86_64.facts +648 -0
  54. data/facts/4.1/ubuntu-21.10-x86_64.facts +626 -0
  55. data/facts/4.2/almalinux-8-x86_64.facts +550 -0
  56. data/facts/4.2/debian-11-x86_64.facts +321 -45
  57. data/facts/4.2/fedora-32-x86_64.facts +508 -0
  58. data/facts/4.2/fedora-33-x86_64.facts +507 -0
  59. data/facts/4.2/fedora-34-x86_64.facts +511 -0
  60. data/facts/4.2/freebsd-11-x86_64.facts +22 -22
  61. data/facts/4.2/freebsd-12-x86_64.facts +25 -25
  62. data/facts/4.2/freebsd-13-x86_64.facts +246 -32
  63. data/facts/4.2/oraclelinux-7-x86_64.facts +593 -0
  64. data/facts/4.2/oraclelinux-9-x86_64.facts +291 -0
  65. data/facts/4.2/redhat-7-x86_64.facts +593 -0
  66. data/facts/4.2/redhat-8-x86_64.facts +525 -0
  67. data/facts/4.2/redhat-9-x86_64.facts +291 -0
  68. data/facts/4.2/rocky-8-x86_64.facts +525 -0
  69. data/facts/4.2/scientific-7-x86_64.facts +593 -0
  70. data/facts/4.2/ubuntu-18.04-x86_64.facts +557 -0
  71. data/facts/4.2/ubuntu-20.04-x86_64.facts +647 -0
  72. data/facts/4.2/ubuntu-21.04-x86_64.facts +654 -0
  73. data/facts/4.2/ubuntu-21.10-x86_64.facts +632 -0
  74. data/facts/Gemfile +3 -0
  75. data/facts/Vagrantfile +31 -156
  76. data/facts/get_facts.sh +49 -8
  77. data/lib/facterdb/version.rb +1 -1
  78. data/spec/facts_spec.rb +14 -1
  79. metadata +44 -2
@@ -1,8 +1,12 @@
1
1
  {
2
+ "architecture": "amd64",
3
+ "bios_release_date": "12/01/2006",
4
+ "bios_vendor": "innotek GmbH",
5
+ "bios_version": "VirtualBox",
2
6
  "disks": {
3
7
  "ada0": {
4
8
  "model": "VBOX HARDDISK",
5
- "serial_number": "VB2b040423-bbd04c9e",
9
+ "serial_number": "VB33b478bf-fb575c68",
6
10
  "size": "64.00 GiB",
7
11
  "size_bytes": 68719476736
8
12
  }
@@ -17,11 +21,18 @@
17
21
  "product": {
18
22
  "name": "VirtualBox",
19
23
  "serial_number": "0",
20
- "uuid": "7081fdcf-bb0d-804d-95a5-12d6509385cd"
24
+ "uuid": "86720522-a1c2-9241-8bf9-db6de84a9d1a"
21
25
  }
22
26
  },
27
+ "domain": "example.com",
23
28
  "facterversion": "4.1.1",
29
+ "fqdn": "foo.example.com",
24
30
  "gem_version": "~> 4.1.0",
31
+ "gid": "wheel",
32
+ "hardwareisa": "amd64",
33
+ "hardwaremodel": "amd64",
34
+ "hostname": "foo",
35
+ "id": "root",
25
36
  "identity": {
26
37
  "gid": 0,
27
38
  "group": "wheel",
@@ -29,16 +40,19 @@
29
40
  "uid": 0,
30
41
  "user": "root"
31
42
  },
43
+ "ipaddress": "10.0.2.15",
32
44
  "is_virtual": true,
33
45
  "kernel": "FreeBSD",
34
46
  "kernelmajversion": "11",
35
47
  "kernelrelease": "11.4-RELEASE-p9",
36
48
  "kernelversion": "11.4",
37
49
  "load_averages": {
38
- "15m": 0.1220703125,
39
- "1m": 0.60693359375,
40
- "5m": 0.291015625
50
+ "15m": 0.06005859375,
51
+ "1m": 0.638671875,
52
+ "5m": 0.16796875
41
53
  },
54
+ "macaddress": "08:00:27:a3:ff:85",
55
+ "manufacturer": "innotek GmbH",
42
56
  "memory": {
43
57
  "swap": {
44
58
  "available": "2.00 GiB",
@@ -51,15 +65,242 @@
51
65
  "used_bytes": 0
52
66
  },
53
67
  "system": {
54
- "available": "485.53 MiB",
55
- "available_bytes": 509116416,
56
- "capacity": "50.73%",
68
+ "available": "471.50 MiB",
69
+ "available_bytes": 494399488,
70
+ "capacity": "52.16%",
57
71
  "total": "985.54 MiB",
58
72
  "total_bytes": 1033416704,
59
- "used": "500.01 MiB",
60
- "used_bytes": 524300288
73
+ "used": "514.05 MiB",
74
+ "used_bytes": 539017216
61
75
  }
62
76
  },
77
+ "memoryfree": "471.50 MiB",
78
+ "memoryfree_mb": 471.49609375,
79
+ "memorysize": "985.54 MiB",
80
+ "memorysize_mb": 985.54296875,
81
+ "mountpoints": {
82
+ "/": {
83
+ "available": "58.77 GiB",
84
+ "available_bytes": 63100694528,
85
+ "capacity": "1.32%",
86
+ "device": "zroot/ROOT/default",
87
+ "filesystem": "zfs",
88
+ "options": [
89
+ "nodev",
90
+ "local",
91
+ "rootfs",
92
+ "noatime"
93
+ ],
94
+ "size": "59.55 GiB",
95
+ "size_bytes": 63941914624,
96
+ "used": "802.25 MiB",
97
+ "used_bytes": 841220096
98
+ },
99
+ "/dev": {
100
+ "available": "0 bytes",
101
+ "available_bytes": 0,
102
+ "capacity": "100%",
103
+ "device": "devfs",
104
+ "filesystem": "devfs",
105
+ "options": [
106
+ "local"
107
+ ],
108
+ "size": "1.00 KiB",
109
+ "size_bytes": 1024,
110
+ "used": "1.00 KiB",
111
+ "used_bytes": 1024
112
+ },
113
+ "/tmp": {
114
+ "available": "58.77 GiB",
115
+ "available_bytes": 63100694528,
116
+ "capacity": "0.01%",
117
+ "device": "zroot/tmp",
118
+ "filesystem": "zfs",
119
+ "options": [
120
+ "nosuid",
121
+ "nodev",
122
+ "local",
123
+ "noatime"
124
+ ],
125
+ "size": "58.77 GiB",
126
+ "size_bytes": 63106588672,
127
+ "used": "5.62 MiB",
128
+ "used_bytes": 5894144
129
+ },
130
+ "/usr/home": {
131
+ "available": "58.77 GiB",
132
+ "available_bytes": 63100694528,
133
+ "capacity": "0.03%",
134
+ "device": "zroot/usr/home",
135
+ "filesystem": "zfs",
136
+ "options": [
137
+ "nodev",
138
+ "local",
139
+ "noatime"
140
+ ],
141
+ "size": "58.78 GiB",
142
+ "size_bytes": 63116873728,
143
+ "used": "15.43 MiB",
144
+ "used_bytes": 16179200
145
+ },
146
+ "/usr/ports": {
147
+ "available": "58.77 GiB",
148
+ "available_bytes": 63100694528,
149
+ "capacity": "0.00%",
150
+ "device": "zroot/usr/ports",
151
+ "filesystem": "zfs",
152
+ "options": [
153
+ "nosuid",
154
+ "nodev",
155
+ "local",
156
+ "noatime"
157
+ ],
158
+ "size": "58.77 GiB",
159
+ "size_bytes": 63100784640,
160
+ "used": "88.00 KiB",
161
+ "used_bytes": 90112
162
+ },
163
+ "/usr/src": {
164
+ "available": "58.77 GiB",
165
+ "available_bytes": 63100694528,
166
+ "capacity": "0.00%",
167
+ "device": "zroot/usr/src",
168
+ "filesystem": "zfs",
169
+ "options": [
170
+ "nodev",
171
+ "local",
172
+ "noatime"
173
+ ],
174
+ "size": "58.77 GiB",
175
+ "size_bytes": 63100784640,
176
+ "used": "88.00 KiB",
177
+ "used_bytes": 90112
178
+ },
179
+ "/vagrant": {
180
+ "available": "835.68 GiB",
181
+ "available_bytes": 897299333120,
182
+ "capacity": "8.76%",
183
+ "device": "Vagrant",
184
+ "filesystem": "vboxvfs",
185
+ "options": [
186
+ "local"
187
+ ],
188
+ "size": "915.89 GiB",
189
+ "size_bytes": 983424843776,
190
+ "used": "80.21 GiB",
191
+ "used_bytes": 86125510656
192
+ },
193
+ "/var/audit": {
194
+ "available": "58.77 GiB",
195
+ "available_bytes": 63100694528,
196
+ "capacity": "0.00%",
197
+ "device": "zroot/var/audit",
198
+ "filesystem": "zfs",
199
+ "options": [
200
+ "noexec",
201
+ "nosuid",
202
+ "nodev",
203
+ "local",
204
+ "noatime"
205
+ ],
206
+ "size": "58.77 GiB",
207
+ "size_bytes": 63100784640,
208
+ "used": "88.00 KiB",
209
+ "used_bytes": 90112
210
+ },
211
+ "/var/crash": {
212
+ "available": "58.77 GiB",
213
+ "available_bytes": 63100694528,
214
+ "capacity": "0.00%",
215
+ "device": "zroot/var/crash",
216
+ "filesystem": "zfs",
217
+ "options": [
218
+ "noexec",
219
+ "nosuid",
220
+ "nodev",
221
+ "local",
222
+ "noatime"
223
+ ],
224
+ "size": "58.77 GiB",
225
+ "size_bytes": 63100784640,
226
+ "used": "88.00 KiB",
227
+ "used_bytes": 90112
228
+ },
229
+ "/var/log": {
230
+ "available": "58.77 GiB",
231
+ "available_bytes": 63100694528,
232
+ "capacity": "0.00%",
233
+ "device": "zroot/var/log",
234
+ "filesystem": "zfs",
235
+ "options": [
236
+ "noexec",
237
+ "nosuid",
238
+ "nodev",
239
+ "local",
240
+ "noatime"
241
+ ],
242
+ "size": "58.77 GiB",
243
+ "size_bytes": 63100817408,
244
+ "used": "120.00 KiB",
245
+ "used_bytes": 122880
246
+ },
247
+ "/var/mail": {
248
+ "available": "58.77 GiB",
249
+ "available_bytes": 63100694528,
250
+ "capacity": "0.00%",
251
+ "device": "zroot/var/mail",
252
+ "filesystem": "zfs",
253
+ "options": [
254
+ "nodev",
255
+ "local"
256
+ ],
257
+ "size": "58.77 GiB",
258
+ "size_bytes": 63100784640,
259
+ "used": "88.00 KiB",
260
+ "used_bytes": 90112
261
+ },
262
+ "/var/tmp": {
263
+ "available": "58.77 GiB",
264
+ "available_bytes": 63100694528,
265
+ "capacity": "0.00%",
266
+ "device": "zroot/var/tmp",
267
+ "filesystem": "zfs",
268
+ "options": [
269
+ "nosuid",
270
+ "nodev",
271
+ "local",
272
+ "noatime"
273
+ ],
274
+ "size": "58.77 GiB",
275
+ "size_bytes": 63100784640,
276
+ "used": "88.00 KiB",
277
+ "used_bytes": 90112
278
+ },
279
+ "/zroot": {
280
+ "available": "58.77 GiB",
281
+ "available_bytes": 63100694528,
282
+ "capacity": "0.00%",
283
+ "device": "zroot",
284
+ "filesystem": "zfs",
285
+ "options": [
286
+ "nodev",
287
+ "local",
288
+ "noatime"
289
+ ],
290
+ "size": "58.77 GiB",
291
+ "size_bytes": 63100784640,
292
+ "used": "88.00 KiB",
293
+ "used_bytes": 90112
294
+ }
295
+ },
296
+ "netmask": "255.255.255.0",
297
+ "netmask6_lo0": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
298
+ "netmask_em0": "255.255.255.0",
299
+ "netmask_lo0": "255.0.0.0",
300
+ "network": "10.0.2.0",
301
+ "network6_lo0": "::1",
302
+ "network_em0": "10.0.2.0",
303
+ "network_lo0": "127.0.0.0",
63
304
  "networking": {
64
305
  "domain": "example.com",
65
306
  "fqdn": "foo.example.com",
@@ -118,6 +359,9 @@
118
359
  "network": "10.0.2.0",
119
360
  "primary": "em0"
120
361
  },
362
+ "operatingsystem": "FreeBSD",
363
+ "operatingsystemmajrelease": "11",
364
+ "operatingsystemrelease": "11.4-RELEASE-p9",
121
365
  "os": {
122
366
  "architecture": "amd64",
123
367
  "family": "FreeBSD",
@@ -131,6 +375,7 @@
131
375
  "patchlevel": "9"
132
376
  }
133
377
  },
378
+ "osfamily": "FreeBSD",
134
379
  "partitions": {
135
380
  "ada0p1": {
136
381
  "partlabel": "gptboot0",
@@ -152,20 +397,28 @@
152
397
  }
153
398
  },
154
399
  "path": "/usr/home/vagrant/vendor/bundler/ruby/2.7/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/home/vagrant/bin",
400
+ "processor0": "Intel(R) Core(TM) i7-9800X CPU @ 3.80GHz",
401
+ "processor1": "Intel(R) Core(TM) i7-9800X CPU @ 3.80GHz",
402
+ "processorcount": 2,
155
403
  "processors": {
156
404
  "count": 2,
157
405
  "isa": "amd64",
158
406
  "models": [
159
- "Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz",
160
- "Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz"
407
+ "Intel(R) Core(TM) i7-9800X CPU @ 3.80GHz",
408
+ "Intel(R) Core(TM) i7-9800X CPU @ 3.80GHz"
161
409
  ],
162
- "speed": "1.99 GHz"
410
+ "speed": "3.79 GHz"
163
411
  },
412
+ "productname": "VirtualBox",
164
413
  "ruby": {
165
414
  "platform": "amd64-freebsd11",
166
415
  "sitedir": "/usr/local/lib/ruby/site_ruby/2.7",
167
416
  "version": "2.7.3"
168
417
  },
418
+ "rubyplatform": "amd64-freebsd11",
419
+ "rubysitedir": "/usr/local/lib/ruby/site_ruby/2.7",
420
+ "rubyversion": "2.7.3",
421
+ "serialnumber": "0",
169
422
  "ssh": {
170
423
  "ecdsa": {
171
424
  "fingerprints": {
@@ -192,13 +445,29 @@
192
445
  "type": "ssh-rsa"
193
446
  }
194
447
  },
448
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIDQjzwdLIoGT2ilZYfDbtpjPeGEUNOHYaWX6WxF2JlgCRxvUx0J6Sqz571NyBtKu7gVS2qh5bJyuJjU6rxBVdM=",
449
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIPP8c28h3N4AQV7rgdz2250kyt7irxDG9MpKFBaQak18",
450
+ "sshfp_ecdsa": "SSHFP 3 1 c44552551f9fbb81f4d7e38d406589d4fae7c246\nSSHFP 3 2 c415405515d326e31d1d5928a669490a8b817ebc79f213ef5cf035b5b26b22ef",
451
+ "sshfp_ed25519": "SSHFP 4 1 ab7c9e209f87f4e8321b13c6481482dda6fa34d9\nSSHFP 4 2 d934ba8e9c55d0794218dc3c8728f1c09bdd407eac8e8df3990e086678f0d131",
452
+ "sshfp_rsa": "SSHFP 1 1 90f05081e454c2f9bc5b81a46c2c1214605481b4\nSSHFP 1 2 6ebeb0740f993885cbf7bb1d0beefde048614ae657f10a60aa8abbb4e11b5a70",
453
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCsFz4abAckdE8cmgMTW7/yptOhJaIi7D/LqAZOhUdbv+xS4ZDICwyhG3z68SPDjEZqqWjj2Vbqujhzas/Ld/MlvMhlbiM8yonPDJ/on+tKHzjLQEb4SM52skdiFiCnDzQhKCgtTVgOZFtGZz7tM6PCvPAmJsedEVP14ueXam/G7m33hyGd8L3eZirGJTnVZDWItKvokqHmSRmC0qAJqd3llqdCPHqsWMrmwJAPgrC3gRXMAhkbM6XshayHa4pZC24PP/lfb4kqBDfLyUzl5hoWXGPpFUXZXZevZNgp7Jk99NqgTAixUpmYrNgo4Fw1Nuy8FdD4UoY7PWgTHTZVetTp",
454
+ "swapencrypted": false,
455
+ "swapfree": "2.00 GiB",
456
+ "swapfree_mb": 2048.0,
457
+ "swapsize": "2.00 GiB",
458
+ "swapsize_mb": 2048.0,
195
459
  "system_uptime": {
196
460
  "days": 0,
197
461
  "hours": 0,
198
- "seconds": 243,
199
- "uptime": "0:04 hours"
462
+ "seconds": 48,
463
+ "uptime": "0:00 hours"
200
464
  },
201
465
  "timezone": "UTC",
466
+ "uptime": "0:00 hours",
467
+ "uptime_days": 0,
468
+ "uptime_hours": 0,
469
+ "uptime_seconds": 48,
470
+ "uuid": "86720522-a1c2-9241-8bf9-db6de84a9d1a",
202
471
  "virtual": "generic",
203
472
  "zfs_featurenumbers": "1,2,3,4,5",
204
473
  "zfs_version": "5",