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": "VB3f5cf2a5-7451f958",
9
+ "serial_number": "VB8a1b6f83-9dfd9bed",
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": "90c5b4fb-9f84-0540-9aa2-4cece5166b3a"
24
+ "uuid": "e5fd407e-387d-0c42-bbe7-8dffde8abccb"
21
25
  }
22
26
  },
27
+ "domain": "example.com",
23
28
  "facterversion": "4.0.52",
29
+ "fqdn": "foo.example.com",
24
30
  "gem_version": "~> 4.0.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": "12",
35
47
  "kernelrelease": "12.2-RELEASE-p6",
36
48
  "kernelversion": "12.2",
37
49
  "load_averages": {
38
- "15m": 0.12744140625,
39
- "1m": 0.56201171875,
40
- "5m": 0.30029296875
50
+ "15m": 0.048828125,
51
+ "1m": 0.51513671875,
52
+ "5m": 0.13720703125
41
53
  },
54
+ "macaddress": "08:00:27:cc:5d:60",
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": "589.03 MiB",
55
- "available_bytes": 617644032,
56
- "capacity": "40.05%",
68
+ "available": "551.57 MiB",
69
+ "available_bytes": 578359296,
70
+ "capacity": "43.86%",
57
71
  "total": "982.54 MiB",
58
72
  "total_bytes": 1030270976,
59
- "used": "393.51 MiB",
60
- "used_bytes": 412626944
73
+ "used": "430.98 MiB",
74
+ "used_bytes": 451911680
61
75
  }
62
76
  },
77
+ "memoryfree": "551.57 MiB",
78
+ "memoryfree_mb": 551.57,
79
+ "memorysize": "982.54 MiB",
80
+ "memorysize_mb": 982.54,
81
+ "mountpoints": {
82
+ "/": {
83
+ "available": "58.50 GiB",
84
+ "available_bytes": 62817124352,
85
+ "capacity": "1.76%",
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": 63945015296,
96
+ "used": "1.05 GiB",
97
+ "used_bytes": 1127890944
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.50 GiB",
115
+ "available_bytes": 62817124352,
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.51 GiB",
126
+ "size_bytes": 62824148992,
127
+ "used": "6.70 MiB",
128
+ "used_bytes": 7024640
129
+ },
130
+ "/usr/home": {
131
+ "available": "58.50 GiB",
132
+ "available_bytes": 62817124352,
133
+ "capacity": "0.02%",
134
+ "device": "zroot/usr/home",
135
+ "filesystem": "zfs",
136
+ "options": [
137
+ "nodev",
138
+ "local",
139
+ "noatime"
140
+ ],
141
+ "size": "58.51 GiB",
142
+ "size_bytes": 62828855296,
143
+ "used": "11.19 MiB",
144
+ "used_bytes": 11730944
145
+ },
146
+ "/usr/ports": {
147
+ "available": "58.50 GiB",
148
+ "available_bytes": 62817124352,
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.50 GiB",
159
+ "size_bytes": 62817222656,
160
+ "used": "96.00 KiB",
161
+ "used_bytes": 98304
162
+ },
163
+ "/usr/src": {
164
+ "available": "58.50 GiB",
165
+ "available_bytes": 62817124352,
166
+ "capacity": "0.00%",
167
+ "device": "zroot/usr/src",
168
+ "filesystem": "zfs",
169
+ "options": [
170
+ "nodev",
171
+ "local",
172
+ "noatime"
173
+ ],
174
+ "size": "58.50 GiB",
175
+ "size_bytes": 62817222656,
176
+ "used": "96.00 KiB",
177
+ "used_bytes": 98304
178
+ },
179
+ "/vagrant": {
180
+ "available": "832.15 GiB",
181
+ "available_bytes": 893511622656,
182
+ "capacity": "9.14%",
183
+ "device": "Vagrant",
184
+ "filesystem": "vboxvfs",
185
+ "options": [
186
+ "local"
187
+ ],
188
+ "size": "915.89 GiB",
189
+ "size_bytes": 983424843776,
190
+ "used": "83.74 GiB",
191
+ "used_bytes": 89913221120
192
+ },
193
+ "/var/audit": {
194
+ "available": "58.50 GiB",
195
+ "available_bytes": 62817124352,
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.50 GiB",
207
+ "size_bytes": 62817222656,
208
+ "used": "96.00 KiB",
209
+ "used_bytes": 98304
210
+ },
211
+ "/var/crash": {
212
+ "available": "58.50 GiB",
213
+ "available_bytes": 62817124352,
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.50 GiB",
225
+ "size_bytes": 62817222656,
226
+ "used": "96.00 KiB",
227
+ "used_bytes": 98304
228
+ },
229
+ "/var/log": {
230
+ "available": "58.50 GiB",
231
+ "available_bytes": 62817124352,
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.50 GiB",
243
+ "size_bytes": 62817247232,
244
+ "used": "120.00 KiB",
245
+ "used_bytes": 122880
246
+ },
247
+ "/var/mail": {
248
+ "available": "58.50 GiB",
249
+ "available_bytes": 62817124352,
250
+ "capacity": "0.00%",
251
+ "device": "zroot/var/mail",
252
+ "filesystem": "zfs",
253
+ "options": [
254
+ "nodev",
255
+ "local"
256
+ ],
257
+ "size": "58.50 GiB",
258
+ "size_bytes": 62817222656,
259
+ "used": "96.00 KiB",
260
+ "used_bytes": 98304
261
+ },
262
+ "/var/tmp": {
263
+ "available": "58.50 GiB",
264
+ "available_bytes": 62817124352,
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.50 GiB",
275
+ "size_bytes": 62817222656,
276
+ "used": "96.00 KiB",
277
+ "used_bytes": 98304
278
+ },
279
+ "/zroot": {
280
+ "available": "58.50 GiB",
281
+ "available_bytes": 62817124352,
282
+ "capacity": "0.00%",
283
+ "device": "zroot",
284
+ "filesystem": "zfs",
285
+ "options": [
286
+ "nodev",
287
+ "local",
288
+ "noatime"
289
+ ],
290
+ "size": "58.50 GiB",
291
+ "size_bytes": 62817222656,
292
+ "used": "96.00 KiB",
293
+ "used_bytes": 98304
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": "12",
364
+ "operatingsystemrelease": "12.2-RELEASE-p6",
121
365
  "os": {
122
366
  "architecture": "amd64",
123
367
  "family": "FreeBSD",
@@ -131,6 +375,7 @@
131
375
  "patchlevel": "6"
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-freebsd12",
166
415
  "sitedir": "/usr/local/lib/ruby/site_ruby/2.7",
167
- "version": "2.7.3"
416
+ "version": "2.7.4"
168
417
  },
418
+ "rubyplatform": "amd64-freebsd12",
419
+ "rubysitedir": "/usr/local/lib/ruby/site_ruby/2.7",
420
+ "rubyversion": "2.7.4",
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": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC+PNYGrIgoO0h4F5KeDj41lkE5nGvYX+pX+wL2faKWeENndKnG+3PjTPIoRRNpAkQonKtTz7nzDs3vHUgpVLyA=",
449
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIJu0i1FJja1J2gmSzrSCWKLS9WUmISbTHf/l54GY/YEg",
450
+ "sshfp_ecdsa": "SSHFP 3 1 b4a5f82592c43f5345d4b17e350d675f86bb6027\nSSHFP 3 2 1593468d6b0200302d16972928a3a681d36299fdd3ed319d2d15246ee5bb05e5",
451
+ "sshfp_ed25519": "SSHFP 4 1 aaedcc84b12a9ee5858d1d57396209b5478e4460\nSSHFP 4 2 dd536bc7ec52cb2b42ba56c7fa0e1ca050a476f35fa600a8a09152c0f08bd92c",
452
+ "sshfp_rsa": "SSHFP 1 1 d25c836cfde179592f943b2f0683ec4cb9ea1df6\nSSHFP 1 2 1a3730ad9a5898dcb501c23f8fae567a1c8f8d703924d631bc357af0f1a79f9f",
453
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQC6BdnKic9BQ4waex+wmaoLHLX2RUXuSVi/ZP9FJz+GrcaZAHsM50dF1zybjgQiKqxMsVBtjntIsYiN1hVXyWHfTNbwpb7mdMlkgZusAIZwTIk1+08oa2U2Btv3D5x/l/sZrliMWHHqH2nFa4W0dwYTmpFugFE/HZDYlnGdU/15BF1jMpr2wMj0xN4KYCmhwQy2J8DKQlbKKNgoKm24ryDYTGyU3X73GkYqMHlucU3sl3d1aQW8unQ7y3F3gOlmyikw6G9inb+LqeZGqlejb6azAm/juyFamE1h3WA3l7O3HIwGdE5QQ82cotkxTlxLMBlxVg8zIwXEqJLTRhy6iWlp",
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": 232,
199
- "uptime": "0:03 hours"
462
+ "seconds": 46,
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": 46,
470
+ "uuid": "e5fd407e-387d-0c42-bbe7-8dffde8abccb",
202
471
  "virtual": "generic",
203
472
  "zfs_featurenumbers": "1,2,3,4,5",
204
473
  "zfs_version": "5",