facterdb 1.12.1 → 1.12.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/README.md +1 -0
- data/facts/1.6/amazon-2017-x86_64.facts +3 -3
- data/facts/1.6/archlinux-x86_64.facts +1 -0
- data/facts/1.6/fedora-19-i386.facts +1 -0
- data/facts/1.6/fedora-19-x86_64.facts +1 -0
- data/facts/1.6/ubuntu-18.04-aarch64.facts +1 -1
- data/facts/1.7/amazon-2017-x86_64.facts +3 -3
- data/facts/1.7/archlinux-x86_64.facts +1 -0
- data/facts/1.7/centos-9-x86_64.facts +3 -3
- data/facts/1.7/ubuntu-18.04-aarch64.facts +1 -1
- data/facts/2.0/amazon-2017-x86_64.facts +3 -3
- data/facts/2.0/archlinux-x86_64.facts +1 -0
- data/facts/2.0/centos-9-x86_64.facts +3 -3
- data/facts/2.0/ubuntu-18.04-aarch64.facts +3 -1
- data/facts/2.1/amazon-2017-x86_64.facts +9 -9
- data/facts/2.1/archlinux-x86_64.facts +1 -0
- data/facts/2.1/centos-9-x86_64.facts +3 -3
- data/facts/2.1/ubuntu-18.04-aarch64.facts +3 -2
- data/facts/2.2/amazon-2017-x86_64.facts +9 -9
- data/facts/2.2/archlinux-x86_64.facts +1 -0
- data/facts/2.2/centos-9-x86_64.facts +3 -3
- data/facts/2.2/ubuntu-18.04-aarch64.facts +3 -2
- data/facts/2.3/amazon-2017-x86_64.facts +9 -9
- data/facts/2.3/archlinux-x86_64.facts +1 -0
- data/facts/2.3/centos-9-x86_64.facts +3 -3
- data/facts/2.3/ubuntu-18.04-aarch64.facts +3 -2
- data/facts/2.4/amazon-2017-x86_64.facts +9 -9
- data/facts/2.4/archlinux-x86_64.facts +1 -0
- data/facts/2.4/centos-9-x86_64.facts +3 -3
- data/facts/2.4/ubuntu-18.04-aarch64.facts +3 -2
- data/facts/2.4/windows-2012 r2-x64.facts +1 -0
- data/facts/2.4/windows-7-x64.facts +1 -0
- data/facts/2.5/archlinux-x86_64.facts +1 -0
- data/facts/2.5/solaris-10-i86pc.facts +4 -4
- data/facts/2.5/ubuntu-18.04-aarch64.facts +3 -2
- data/facts/3.0/ubuntu-15.10-i386.facts +4 -0
- data/facts/3.0/ubuntu-15.10-x86_64.facts +4 -0
- data/facts/3.10/archlinux-x86_64.facts +2 -1
- data/facts/3.10/ubuntu-18.04-aarch64.facts +7 -2
- data/facts/3.11/archlinux-x86_64.facts +3 -2
- data/facts/3.11/solaris-10-i86pc.facts +4 -4
- data/facts/3.12/archlinux-x86_64.facts +3 -2
- data/facts/3.14/VirtuozzoLinux-7-x86_64.facts +4 -4
- data/facts/3.14/archlinux-x86_64.facts +2 -1
- data/facts/3.14/rocky-8-x86_64.facts +6 -6
- data/facts/3.14/ubuntu-21.04-x86_64.facts +6 -6
- data/facts/3.2/aix-53-powerpc.facts +6 -2
- data/facts/3.2/aix-61-powerpc.facts +6 -2
- data/facts/3.2/aix-71-powerpc.facts +6 -2
- data/facts/3.6/amazon-2017-x86_64.facts +9 -9
- data/facts/3.6/pcs-6-x86_64.facts +6 -2
- data/facts/3.9/aix-7.1-power.facts +4 -4
- data/facts/3.9/archlinux-x86_64.facts +2 -1
- data/facts/3.9/solaris-10-i86pc.facts +4 -4
- data/facts/4.0/centos-7-x86_64.facts +1 -0
- data/facts/4.0/debian-10-x86_64.facts +1 -0
- data/facts/4.0/fedora-35-x86_64.facts +504 -0
- data/facts/4.0/oraclelinux-7-x86_64.facts +1 -0
- data/facts/4.0/redhat-7-x86_64.facts +1 -0
- data/facts/4.0/scientific-7-x86_64.facts +1 -0
- data/facts/4.0/solaris-11-sun4v.facts +1 -0
- data/facts/4.1/fedora-35-x86_64.facts +506 -0
- data/facts/4.2/centos-9-x86_64.facts +14 -3
- data/facts/4.2/fedora-35-x86_64.facts +506 -0
- data/facts/4.2/oraclelinux-9-x86_64.facts +14 -3
- data/facts/4.2/redhat-9-x86_64.facts +14 -3
- data/facts/Vagrantfile +10 -0
- data/facts/get_facts.sh +1 -1
- data/lib/facterdb/version.rb +1 -1
- data/spec/facts_spec.rb +12 -42
- metadata +5 -2
@@ -0,0 +1,506 @@
|
|
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": 137438953472,
|
8
|
+
"blockdevice_sda_vendor": "ATA",
|
9
|
+
"blockdevices": "sda",
|
10
|
+
"boardmanufacturer": "Oracle Corporation",
|
11
|
+
"boardproductname": "VirtualBox",
|
12
|
+
"boardserialnumber": "0",
|
13
|
+
"chassistype": "Other",
|
14
|
+
"dhcp_servers": {
|
15
|
+
"system": null
|
16
|
+
},
|
17
|
+
"disks": {
|
18
|
+
"sda": {
|
19
|
+
"model": "VBOX HARDDISK",
|
20
|
+
"size": "128.00 GiB",
|
21
|
+
"size_bytes": 137438953472,
|
22
|
+
"type": "hdd",
|
23
|
+
"vendor": "ATA"
|
24
|
+
}
|
25
|
+
},
|
26
|
+
"dmi": {
|
27
|
+
"bios": {
|
28
|
+
"release_date": "12/01/2006",
|
29
|
+
"vendor": "innotek GmbH",
|
30
|
+
"version": "VirtualBox"
|
31
|
+
},
|
32
|
+
"board": {
|
33
|
+
"manufacturer": "Oracle Corporation",
|
34
|
+
"product": "VirtualBox",
|
35
|
+
"serial_number": "0"
|
36
|
+
},
|
37
|
+
"chassis": {
|
38
|
+
"type": "Other"
|
39
|
+
},
|
40
|
+
"manufacturer": "innotek GmbH",
|
41
|
+
"product": {
|
42
|
+
"name": "VirtualBox",
|
43
|
+
"serial_number": "0",
|
44
|
+
"uuid": "81745b9a-5979-4429-a5bc-bfa5bb245c5e"
|
45
|
+
}
|
46
|
+
},
|
47
|
+
"domain": "example.com",
|
48
|
+
"facterversion": "4.2.5",
|
49
|
+
"filesystems": "btrfs,ext2,ext3,ext4,xfs",
|
50
|
+
"fips_enabled": false,
|
51
|
+
"fqdn": "foo.example.com",
|
52
|
+
"gem_version": "~> 4.2.0",
|
53
|
+
"gid": "root",
|
54
|
+
"hardwareisa": "x86_64",
|
55
|
+
"hardwaremodel": "x86_64",
|
56
|
+
"hostname": "foo",
|
57
|
+
"hypervisors": {
|
58
|
+
"virtualbox": {
|
59
|
+
"revision": "148432",
|
60
|
+
"version": "6.1.30"
|
61
|
+
}
|
62
|
+
},
|
63
|
+
"id": "root",
|
64
|
+
"identity": {
|
65
|
+
"gid": 0,
|
66
|
+
"group": "root",
|
67
|
+
"privileged": true,
|
68
|
+
"uid": 0,
|
69
|
+
"user": "root"
|
70
|
+
},
|
71
|
+
"interfaces": "eth0,lo",
|
72
|
+
"ipaddress": "10.0.2.15",
|
73
|
+
"ipaddress_eth0": "10.0.2.15",
|
74
|
+
"ipaddress_lo": "127.0.0.1",
|
75
|
+
"is_virtual": true,
|
76
|
+
"kernel": "Linux",
|
77
|
+
"kernelmajversion": "5.15",
|
78
|
+
"kernelrelease": "5.15.5-200.fc35.x86_64",
|
79
|
+
"kernelversion": "5.15.5",
|
80
|
+
"load_averages": {
|
81
|
+
"15m": 0.02,
|
82
|
+
"1m": 0.22,
|
83
|
+
"5m": 0.05
|
84
|
+
},
|
85
|
+
"lsbdistrelease": "35",
|
86
|
+
"lsbmajdistrelease": "35",
|
87
|
+
"macaddress": "08:00:27:3a:8c:f1",
|
88
|
+
"macaddress_eth0": "08:00:27:3a:8c:f1",
|
89
|
+
"manufacturer": "innotek GmbH",
|
90
|
+
"memory": {
|
91
|
+
"swap": {
|
92
|
+
"available": "3.92 GiB",
|
93
|
+
"available_bytes": 4207927296,
|
94
|
+
"capacity": "0.00%",
|
95
|
+
"total": "3.92 GiB",
|
96
|
+
"total_bytes": 4207927296,
|
97
|
+
"used": "0 bytes",
|
98
|
+
"used_bytes": 0
|
99
|
+
},
|
100
|
+
"system": {
|
101
|
+
"available": "1.55 GiB",
|
102
|
+
"available_bytes": 1668747264,
|
103
|
+
"capacity": "19.04%",
|
104
|
+
"total": "1.92 GiB",
|
105
|
+
"total_bytes": 2061217792,
|
106
|
+
"used": "374.29 MiB",
|
107
|
+
"used_bytes": 392470528
|
108
|
+
}
|
109
|
+
},
|
110
|
+
"memoryfree": "1.55 GiB",
|
111
|
+
"memoryfree_mb": 1591.44140625,
|
112
|
+
"memorysize": "1.92 GiB",
|
113
|
+
"memorysize_mb": 1965.73046875,
|
114
|
+
"mountpoints": {
|
115
|
+
"/": {
|
116
|
+
"available": "122.21 GiB",
|
117
|
+
"available_bytes": 131221647360,
|
118
|
+
"capacity": "2.18%",
|
119
|
+
"device": "/dev/mapper/fedora-root",
|
120
|
+
"filesystem": "xfs",
|
121
|
+
"options": [
|
122
|
+
"rw",
|
123
|
+
"seclabel",
|
124
|
+
"relatime",
|
125
|
+
"attr2",
|
126
|
+
"inode64",
|
127
|
+
"logbufs=8",
|
128
|
+
"logbsize=32k",
|
129
|
+
"noquota"
|
130
|
+
],
|
131
|
+
"size": "124.94 GiB",
|
132
|
+
"size_bytes": 134148001792,
|
133
|
+
"used": "2.73 GiB",
|
134
|
+
"used_bytes": 2926354432
|
135
|
+
},
|
136
|
+
"/boot": {
|
137
|
+
"available": "882.05 MiB",
|
138
|
+
"available_bytes": 924901376,
|
139
|
+
"capacity": "13.01%",
|
140
|
+
"device": "/dev/sda1",
|
141
|
+
"filesystem": "xfs",
|
142
|
+
"options": [
|
143
|
+
"rw",
|
144
|
+
"seclabel",
|
145
|
+
"relatime",
|
146
|
+
"attr2",
|
147
|
+
"inode64",
|
148
|
+
"logbufs=8",
|
149
|
+
"logbsize=32k",
|
150
|
+
"noquota"
|
151
|
+
],
|
152
|
+
"size": "1014.00 MiB",
|
153
|
+
"size_bytes": 1063256064,
|
154
|
+
"used": "131.95 MiB",
|
155
|
+
"used_bytes": 138354688
|
156
|
+
},
|
157
|
+
"/dev": {
|
158
|
+
"available": "968.97 MiB",
|
159
|
+
"available_bytes": 1016041472,
|
160
|
+
"capacity": "0%",
|
161
|
+
"device": "devtmpfs",
|
162
|
+
"filesystem": "devtmpfs",
|
163
|
+
"options": [
|
164
|
+
"rw",
|
165
|
+
"seclabel",
|
166
|
+
"nosuid",
|
167
|
+
"size=992228k",
|
168
|
+
"nr_inodes=248057",
|
169
|
+
"mode=755",
|
170
|
+
"inode64"
|
171
|
+
],
|
172
|
+
"size": "968.97 MiB",
|
173
|
+
"size_bytes": 1016041472,
|
174
|
+
"used": "0 bytes",
|
175
|
+
"used_bytes": 0
|
176
|
+
},
|
177
|
+
"/dev/hugepages": {
|
178
|
+
"available": "0 bytes",
|
179
|
+
"available_bytes": 0,
|
180
|
+
"capacity": "100%",
|
181
|
+
"device": "hugetlbfs",
|
182
|
+
"filesystem": "hugetlbfs",
|
183
|
+
"options": [
|
184
|
+
"rw",
|
185
|
+
"seclabel",
|
186
|
+
"relatime",
|
187
|
+
"pagesize=2M"
|
188
|
+
],
|
189
|
+
"size": "0 bytes",
|
190
|
+
"size_bytes": 0,
|
191
|
+
"used": "0 bytes",
|
192
|
+
"used_bytes": 0
|
193
|
+
},
|
194
|
+
"/dev/mqueue": {
|
195
|
+
"available": "0 bytes",
|
196
|
+
"available_bytes": 0,
|
197
|
+
"capacity": "100%",
|
198
|
+
"device": "mqueue",
|
199
|
+
"filesystem": "mqueue",
|
200
|
+
"options": [
|
201
|
+
"rw",
|
202
|
+
"seclabel",
|
203
|
+
"nosuid",
|
204
|
+
"nodev",
|
205
|
+
"noexec",
|
206
|
+
"relatime"
|
207
|
+
],
|
208
|
+
"size": "0 bytes",
|
209
|
+
"size_bytes": 0,
|
210
|
+
"used": "0 bytes",
|
211
|
+
"used_bytes": 0
|
212
|
+
},
|
213
|
+
"/dev/pts": {
|
214
|
+
"available": "0 bytes",
|
215
|
+
"available_bytes": 0,
|
216
|
+
"capacity": "100%",
|
217
|
+
"device": "devpts",
|
218
|
+
"filesystem": "devpts",
|
219
|
+
"options": [
|
220
|
+
"rw",
|
221
|
+
"seclabel",
|
222
|
+
"nosuid",
|
223
|
+
"noexec",
|
224
|
+
"relatime",
|
225
|
+
"gid=5",
|
226
|
+
"mode=620",
|
227
|
+
"ptmxmode=000"
|
228
|
+
],
|
229
|
+
"size": "0 bytes",
|
230
|
+
"size_bytes": 0,
|
231
|
+
"used": "0 bytes",
|
232
|
+
"used_bytes": 0
|
233
|
+
},
|
234
|
+
"/dev/shm": {
|
235
|
+
"available": "982.86 MiB",
|
236
|
+
"available_bytes": 1030606848,
|
237
|
+
"capacity": "0%",
|
238
|
+
"device": "tmpfs",
|
239
|
+
"filesystem": "tmpfs",
|
240
|
+
"options": [
|
241
|
+
"rw",
|
242
|
+
"seclabel",
|
243
|
+
"nosuid",
|
244
|
+
"nodev",
|
245
|
+
"inode64"
|
246
|
+
],
|
247
|
+
"size": "982.86 MiB",
|
248
|
+
"size_bytes": 1030606848,
|
249
|
+
"used": "0 bytes",
|
250
|
+
"used_bytes": 0
|
251
|
+
},
|
252
|
+
"/run": {
|
253
|
+
"available": "387.66 MiB",
|
254
|
+
"available_bytes": 406495232,
|
255
|
+
"capacity": "1.39%",
|
256
|
+
"device": "tmpfs",
|
257
|
+
"filesystem": "tmpfs",
|
258
|
+
"options": [
|
259
|
+
"rw",
|
260
|
+
"seclabel",
|
261
|
+
"nosuid",
|
262
|
+
"nodev",
|
263
|
+
"size=402584k",
|
264
|
+
"nr_inodes=819200",
|
265
|
+
"mode=755",
|
266
|
+
"inode64"
|
267
|
+
],
|
268
|
+
"size": "393.15 MiB",
|
269
|
+
"size_bytes": 412246016,
|
270
|
+
"used": "5.48 MiB",
|
271
|
+
"used_bytes": 5750784
|
272
|
+
},
|
273
|
+
"/run/user/1000": {
|
274
|
+
"available": "196.57 MiB",
|
275
|
+
"available_bytes": 206114816,
|
276
|
+
"capacity": "0.00%",
|
277
|
+
"device": "tmpfs",
|
278
|
+
"filesystem": "tmpfs",
|
279
|
+
"options": [
|
280
|
+
"rw",
|
281
|
+
"seclabel",
|
282
|
+
"nosuid",
|
283
|
+
"nodev",
|
284
|
+
"relatime",
|
285
|
+
"size=201288k",
|
286
|
+
"nr_inodes=50322",
|
287
|
+
"mode=700",
|
288
|
+
"uid=1000",
|
289
|
+
"gid=1000",
|
290
|
+
"inode64"
|
291
|
+
],
|
292
|
+
"size": "196.57 MiB",
|
293
|
+
"size_bytes": 206118912,
|
294
|
+
"used": "4.00 KiB",
|
295
|
+
"used_bytes": 4096
|
296
|
+
},
|
297
|
+
"/vagrant": {
|
298
|
+
"available": "834.30 GiB",
|
299
|
+
"available_bytes": 895824732160,
|
300
|
+
"capacity": "8.91%",
|
301
|
+
"device": "vagrant",
|
302
|
+
"filesystem": "vboxsf",
|
303
|
+
"options": [
|
304
|
+
"rw",
|
305
|
+
"relatime"
|
306
|
+
],
|
307
|
+
"size": "915.89 GiB",
|
308
|
+
"size_bytes": 983424843776,
|
309
|
+
"used": "81.58 GiB",
|
310
|
+
"used_bytes": 87600111616
|
311
|
+
}
|
312
|
+
},
|
313
|
+
"mtu_eth0": 1500,
|
314
|
+
"mtu_lo": 65536,
|
315
|
+
"netmask": "255.255.255.0",
|
316
|
+
"netmask_eth0": "255.255.255.0",
|
317
|
+
"netmask_lo": "255.0.0.0",
|
318
|
+
"network": "10.0.2.0",
|
319
|
+
"network_eth0": "10.0.2.0",
|
320
|
+
"network_lo": "127.0.0.0",
|
321
|
+
"networking": {
|
322
|
+
"domain": "example.com",
|
323
|
+
"fqdn": "foo.example.com",
|
324
|
+
"hostname": "foo",
|
325
|
+
"interfaces": {
|
326
|
+
"eth0": {
|
327
|
+
"bindings": [
|
328
|
+
{
|
329
|
+
"address": "10.0.2.15",
|
330
|
+
"netmask": "255.255.255.0",
|
331
|
+
"network": "10.0.2.0"
|
332
|
+
}
|
333
|
+
],
|
334
|
+
"ip": "10.0.2.15",
|
335
|
+
"mac": "08:00:27:3a:8c:f1",
|
336
|
+
"mtu": 1500,
|
337
|
+
"netmask": "255.255.255.0",
|
338
|
+
"network": "10.0.2.0"
|
339
|
+
},
|
340
|
+
"lo": {
|
341
|
+
"bindings": [
|
342
|
+
{
|
343
|
+
"address": "127.0.0.1",
|
344
|
+
"netmask": "255.0.0.0",
|
345
|
+
"network": "127.0.0.0"
|
346
|
+
}
|
347
|
+
],
|
348
|
+
"ip": "127.0.0.1",
|
349
|
+
"mtu": 65536,
|
350
|
+
"netmask": "255.0.0.0",
|
351
|
+
"network": "127.0.0.0"
|
352
|
+
}
|
353
|
+
},
|
354
|
+
"ip": "10.0.2.15",
|
355
|
+
"mac": "08:00:27:3a:8c:f1",
|
356
|
+
"mtu": 1500,
|
357
|
+
"netmask": "255.255.255.0",
|
358
|
+
"network": "10.0.2.0",
|
359
|
+
"primary": "eth0"
|
360
|
+
},
|
361
|
+
"operatingsystem": "Fedora",
|
362
|
+
"operatingsystemmajrelease": "35",
|
363
|
+
"operatingsystemrelease": "35",
|
364
|
+
"os": {
|
365
|
+
"architecture": "x86_64",
|
366
|
+
"distro": {
|
367
|
+
"codename": "Thirty Five",
|
368
|
+
"description": "Fedora release 35 (Thirty Five)",
|
369
|
+
"id": "Fedora",
|
370
|
+
"release": {
|
371
|
+
"full": "35",
|
372
|
+
"major": "35"
|
373
|
+
}
|
374
|
+
},
|
375
|
+
"family": "RedHat",
|
376
|
+
"hardware": "x86_64",
|
377
|
+
"name": "Fedora",
|
378
|
+
"release": {
|
379
|
+
"full": "35",
|
380
|
+
"major": "35"
|
381
|
+
},
|
382
|
+
"selinux": {
|
383
|
+
"config_mode": "enforcing",
|
384
|
+
"config_policy": "targeted",
|
385
|
+
"current_mode": "enforcing",
|
386
|
+
"enabled": true,
|
387
|
+
"enforced": true,
|
388
|
+
"policy_version": "33"
|
389
|
+
}
|
390
|
+
},
|
391
|
+
"osfamily": "RedHat",
|
392
|
+
"partitions": {
|
393
|
+
"/dev/mapper/fedora-root": {
|
394
|
+
"filesystem": "xfs",
|
395
|
+
"label": "root",
|
396
|
+
"mount": "/",
|
397
|
+
"size": "125.00 GiB",
|
398
|
+
"size_bytes": 134213533696,
|
399
|
+
"uuid": "2d1c8727-c065-442d-ae06-91b06ec24d69"
|
400
|
+
},
|
401
|
+
"/dev/mapper/fedora-swap": {
|
402
|
+
"filesystem": "swap",
|
403
|
+
"size": "2.00 GiB",
|
404
|
+
"size_bytes": 2147483648,
|
405
|
+
"uuid": "d2ac50d7-6d87-45ed-80b8-3f0a79d99dbd"
|
406
|
+
},
|
407
|
+
"/dev/sda1": {
|
408
|
+
"filesystem": "xfs",
|
409
|
+
"label": "boot",
|
410
|
+
"mount": "/boot",
|
411
|
+
"partuuid": "65033c8a-01",
|
412
|
+
"size": "1.00 GiB",
|
413
|
+
"size_bytes": 1073741824,
|
414
|
+
"uuid": "805c2b1b-1e65-4605-b2d1-1e66cd165c00"
|
415
|
+
},
|
416
|
+
"/dev/sda2": {
|
417
|
+
"filesystem": "LVM2_member",
|
418
|
+
"partuuid": "65033c8a-02",
|
419
|
+
"size": "127.00 GiB",
|
420
|
+
"size_bytes": 136364163072,
|
421
|
+
"uuid": "evNaao-KbWY-5IMt-wM4c-UPoC-L053-uzvv9w"
|
422
|
+
}
|
423
|
+
},
|
424
|
+
"path": "/home/vagrant/vendor/bundler/ruby/2.7.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/snapd/snap/bin",
|
425
|
+
"physicalprocessorcount": 1,
|
426
|
+
"processor0": "Intel(R) Core(TM) i7-9800X CPU @ 3.80GHz",
|
427
|
+
"processor1": "Intel(R) Core(TM) i7-9800X CPU @ 3.80GHz",
|
428
|
+
"processorcount": 2,
|
429
|
+
"processors": {
|
430
|
+
"cores": 2,
|
431
|
+
"count": 2,
|
432
|
+
"isa": "x86_64",
|
433
|
+
"models": [
|
434
|
+
"Intel(R) Core(TM) i7-9800X CPU @ 3.80GHz",
|
435
|
+
"Intel(R) Core(TM) i7-9800X CPU @ 3.80GHz"
|
436
|
+
],
|
437
|
+
"physicalcount": 1,
|
438
|
+
"speed": "3.79 GHz",
|
439
|
+
"threads": 1
|
440
|
+
},
|
441
|
+
"productname": "VirtualBox",
|
442
|
+
"ruby": {
|
443
|
+
"platform": "x86_64-linux",
|
444
|
+
"sitedir": "/usr/local/share/ruby/site_ruby",
|
445
|
+
"version": "2.7.4"
|
446
|
+
},
|
447
|
+
"rubyplatform": "x86_64-linux",
|
448
|
+
"rubysitedir": "/usr/local/share/ruby/site_ruby",
|
449
|
+
"rubyversion": "2.7.4",
|
450
|
+
"selinux": true,
|
451
|
+
"selinux_config_mode": "enforcing",
|
452
|
+
"selinux_config_policy": "targeted",
|
453
|
+
"selinux_current_mode": "enforcing",
|
454
|
+
"selinux_enforced": true,
|
455
|
+
"selinux_policyversion": "33",
|
456
|
+
"serialnumber": "0",
|
457
|
+
"ssh": {
|
458
|
+
"ecdsa": {
|
459
|
+
"fingerprints": {
|
460
|
+
"sha1": "SSHFP 3 1 11eb826fbd7f32c85fabd3255b87e6d14086031a",
|
461
|
+
"sha256": "SSHFP 3 2 7b7bfc9df0052c5d031a6a751fa069bc059eee67955a8b1a8af124d9f60fa477"
|
462
|
+
},
|
463
|
+
"key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBK+uz4WYNoM0q8sviFFZKR6Mi3GKL1/7+6S/Gr59tyESmM6U5CFko+U18cKCOF5G8gxBGD8grJGiVoZqLB4K6qI=",
|
464
|
+
"type": "ecdsa-sha2-nistp256"
|
465
|
+
},
|
466
|
+
"ed25519": {
|
467
|
+
"fingerprints": {
|
468
|
+
"sha1": "SSHFP 4 1 847346692c20afd3f23238a7ab4d78a047f28941",
|
469
|
+
"sha256": "SSHFP 4 2 2e10ce0d8f5beabfca5e1d9c4deabb4125b73bc59bcc39f57096deeaa855454b"
|
470
|
+
},
|
471
|
+
"key": "AAAAC3NzaC1lZDI1NTE5AAAAIOlQF2qrDTkYH0dmHezWA9AeF7jlkvD/l22bX4RgLx7R",
|
472
|
+
"type": "ssh-ed25519"
|
473
|
+
},
|
474
|
+
"rsa": {
|
475
|
+
"fingerprints": {
|
476
|
+
"sha1": "SSHFP 1 1 4f3ae3d432ee522a62b0e83f449950697ed3f391",
|
477
|
+
"sha256": "SSHFP 1 2 aeb5ac3a0263759f8a16f2cd037f052daa1a7d073ef1c08b13c3b587f739fbbd"
|
478
|
+
},
|
479
|
+
"key": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCi16KT9+BxFuYkKHTor6kXhV6y8kCFOsXCBrxuTxBWSQMfBJdKinK9mXJisLNSeQwelcQZMT26n5BooNvrDUjEpgCFWeRHuulJX0xxGF/Scx9PDL8RB4g5bAPzlMjCtLPUQKigwv7biNIWf2obKZHNc0zKN7vc77ur3Prm+D/85ijnxnj8nCPoO/1b+1canDPwZTKyxZEJgt1xL5N+96jyp+pk5Tes/kH3yjhicSGjI1+QRSzk0sE/KJ/t96AVJgXHvNFAxFKcMU8VDYG4ZqCxMc9Bj2rtGiOXcxxWZkFpfb5ddH4RARUiL8B5TjwQ5wPHAAFR9tGbJ2dzYPjs/bZih07S2ozAO/OURTSimUEdn1BT3mFuGasoCIh2r5z7unv6K9xdggxKff2hIpaSq65uUF/PmafvO0QpkvIM5bfd2xc5N2KUl+g2BEm32rnZDQlzPk66sP2sGVYeq4nmATjh9q9/WJs3zH2Ra7CNscYTAA1z8XQ+LViEse4fq293yf0=",
|
480
|
+
"type": "ssh-rsa"
|
481
|
+
}
|
482
|
+
},
|
483
|
+
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBK+uz4WYNoM0q8sviFFZKR6Mi3GKL1/7+6S/Gr59tyESmM6U5CFko+U18cKCOF5G8gxBGD8grJGiVoZqLB4K6qI=",
|
484
|
+
"sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIOlQF2qrDTkYH0dmHezWA9AeF7jlkvD/l22bX4RgLx7R",
|
485
|
+
"sshfp_ecdsa": "SSHFP 3 1 11eb826fbd7f32c85fabd3255b87e6d14086031a\nSSHFP 3 2 7b7bfc9df0052c5d031a6a751fa069bc059eee67955a8b1a8af124d9f60fa477",
|
486
|
+
"sshfp_ed25519": "SSHFP 4 1 847346692c20afd3f23238a7ab4d78a047f28941\nSSHFP 4 2 2e10ce0d8f5beabfca5e1d9c4deabb4125b73bc59bcc39f57096deeaa855454b",
|
487
|
+
"sshfp_rsa": "SSHFP 1 1 4f3ae3d432ee522a62b0e83f449950697ed3f391\nSSHFP 1 2 aeb5ac3a0263759f8a16f2cd037f052daa1a7d073ef1c08b13c3b587f739fbbd",
|
488
|
+
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABgQCi16KT9+BxFuYkKHTor6kXhV6y8kCFOsXCBrxuTxBWSQMfBJdKinK9mXJisLNSeQwelcQZMT26n5BooNvrDUjEpgCFWeRHuulJX0xxGF/Scx9PDL8RB4g5bAPzlMjCtLPUQKigwv7biNIWf2obKZHNc0zKN7vc77ur3Prm+D/85ijnxnj8nCPoO/1b+1canDPwZTKyxZEJgt1xL5N+96jyp+pk5Tes/kH3yjhicSGjI1+QRSzk0sE/KJ/t96AVJgXHvNFAxFKcMU8VDYG4ZqCxMc9Bj2rtGiOXcxxWZkFpfb5ddH4RARUiL8B5TjwQ5wPHAAFR9tGbJ2dzYPjs/bZih07S2ozAO/OURTSimUEdn1BT3mFuGasoCIh2r5z7unv6K9xdggxKff2hIpaSq65uUF/PmafvO0QpkvIM5bfd2xc5N2KUl+g2BEm32rnZDQlzPk66sP2sGVYeq4nmATjh9q9/WJs3zH2Ra7CNscYTAA1z8XQ+LViEse4fq293yf0=",
|
489
|
+
"swapfree": "3.92 GiB",
|
490
|
+
"swapfree_mb": 4012.9921875,
|
491
|
+
"swapsize": "3.92 GiB",
|
492
|
+
"swapsize_mb": 4012.9921875,
|
493
|
+
"system_uptime": {
|
494
|
+
"days": 0,
|
495
|
+
"hours": 0,
|
496
|
+
"seconds": 29,
|
497
|
+
"uptime": "0:00 hours"
|
498
|
+
},
|
499
|
+
"timezone": "UTC",
|
500
|
+
"uptime": "0:00 hours",
|
501
|
+
"uptime_days": 0,
|
502
|
+
"uptime_hours": 0,
|
503
|
+
"uptime_seconds": 29,
|
504
|
+
"uuid": "81745b9a-5979-4429-a5bc-bfa5bb245c5e",
|
505
|
+
"virtual": "virtualbox"
|
506
|
+
}
|
@@ -1,4 +1,8 @@
|
|
1
1
|
{
|
2
|
+
"domain": "example.com",
|
3
|
+
"fqdn": "foo.example.com",
|
4
|
+
"hostname": "foo",
|
5
|
+
"architecture": "x86_64",
|
2
6
|
"augeas": {
|
3
7
|
"version": "1.12.0"
|
4
8
|
},
|
@@ -41,6 +45,8 @@
|
|
41
45
|
"filesystems": "iso9660,xfs",
|
42
46
|
"fips_enabled": false,
|
43
47
|
"gem_version": "~> 4.2.0",
|
48
|
+
"hardwaremodel": "x86_64",
|
49
|
+
"hostname": "foo",
|
44
50
|
"identity": {
|
45
51
|
"gid": 1000,
|
46
52
|
"group": "stack",
|
@@ -48,6 +54,7 @@
|
|
48
54
|
"uid": 1000,
|
49
55
|
"user": "stack"
|
50
56
|
},
|
57
|
+
"ipaddress": "10.109.1.2",
|
51
58
|
"is_virtual": false,
|
52
59
|
"kernel": "Linux",
|
53
60
|
"kernelmajversion": "5.13",
|
@@ -79,9 +86,9 @@
|
|
79
86
|
}
|
80
87
|
},
|
81
88
|
"networking": {
|
82
|
-
"domain": "
|
83
|
-
"fqdn": "
|
84
|
-
"hostname": "
|
89
|
+
"domain": "example.com",
|
90
|
+
"fqdn": "foo.example.com",
|
91
|
+
"hostname": "foo",
|
85
92
|
"interfaces": {
|
86
93
|
"ens3": {
|
87
94
|
"bindings": [
|
@@ -181,6 +188,9 @@
|
|
181
188
|
"primary": "ens3",
|
182
189
|
"scope6": "link"
|
183
190
|
},
|
191
|
+
"operatingsystem": "OracleLinux",
|
192
|
+
"operatingsystemmajrelease": "9",
|
193
|
+
"operatingsystemrelease": "9",
|
184
194
|
"os": {
|
185
195
|
"architecture": "x86_64",
|
186
196
|
"distro": {
|
@@ -207,6 +217,7 @@
|
|
207
217
|
"policy_version": "33"
|
208
218
|
}
|
209
219
|
},
|
220
|
+
"osfamily": "RedHat",
|
210
221
|
"partitions": {
|
211
222
|
"/dev/vda1": {
|
212
223
|
"size": "1.00 MiB",
|
@@ -1,4 +1,8 @@
|
|
1
1
|
{
|
2
|
+
"domain": "example.com",
|
3
|
+
"fqdn": "foo.example.com",
|
4
|
+
"hostname": "foo",
|
5
|
+
"architecture": "x86_64",
|
2
6
|
"augeas": {
|
3
7
|
"version": "1.12.0"
|
4
8
|
},
|
@@ -41,6 +45,8 @@
|
|
41
45
|
"filesystems": "iso9660,xfs",
|
42
46
|
"fips_enabled": false,
|
43
47
|
"gem_version": "~> 4.2.0",
|
48
|
+
"hardwaremodel": "x86_64",
|
49
|
+
"hostname": "foo",
|
44
50
|
"identity": {
|
45
51
|
"gid": 1000,
|
46
52
|
"group": "stack",
|
@@ -48,6 +54,7 @@
|
|
48
54
|
"uid": 1000,
|
49
55
|
"user": "stack"
|
50
56
|
},
|
57
|
+
"ipaddress": "10.109.1.2",
|
51
58
|
"is_virtual": false,
|
52
59
|
"kernel": "Linux",
|
53
60
|
"kernelmajversion": "5.13",
|
@@ -79,9 +86,9 @@
|
|
79
86
|
}
|
80
87
|
},
|
81
88
|
"networking": {
|
82
|
-
"domain": "
|
83
|
-
"fqdn": "
|
84
|
-
"hostname": "
|
89
|
+
"domain": "example.com",
|
90
|
+
"fqdn": "foo.example.com",
|
91
|
+
"hostname": "foo",
|
85
92
|
"interfaces": {
|
86
93
|
"ens3": {
|
87
94
|
"bindings": [
|
@@ -181,6 +188,9 @@
|
|
181
188
|
"primary": "ens3",
|
182
189
|
"scope6": "link"
|
183
190
|
},
|
191
|
+
"operatingsystem": "RedHat",
|
192
|
+
"operatingsystemmajrelease": "9",
|
193
|
+
"operatingsystemrelease": "9",
|
184
194
|
"os": {
|
185
195
|
"architecture": "x86_64",
|
186
196
|
"distro": {
|
@@ -207,6 +217,7 @@
|
|
207
217
|
"policy_version": "33"
|
208
218
|
}
|
209
219
|
},
|
220
|
+
"osfamily": "RedHat",
|
210
221
|
"partitions": {
|
211
222
|
"/dev/vda1": {
|
212
223
|
"size": "1.00 MiB",
|
data/facts/Vagrantfile
CHANGED
@@ -323,4 +323,14 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
323
323
|
host.vm.provision "shell", path: "get_facts.sh"
|
324
324
|
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
325
325
|
end
|
326
|
+
config.vm.define "fedora-35-x86_64" do |host|
|
327
|
+
host.vm.box = "generic/fedora35"
|
328
|
+
host.vm.synced_folder ".", "/vagrant"
|
329
|
+
# there's no official support for fedora 35, so we need ruby 2.7 and facter from Fedora
|
330
|
+
host.vm.provision "shell", inline: "dnf -y module install ruby:2.7/default"
|
331
|
+
host.vm.provision "shell", inline: "dnf -y install wget make gcc net-tools facter ruby-devel"
|
332
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
333
|
+
host.vm.provision "shell", path: "get_facts.sh"
|
334
|
+
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
335
|
+
end
|
326
336
|
end
|
data/facts/get_facts.sh
CHANGED
data/lib/facterdb/version.rb
CHANGED