facterdb 1.10.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 +60 -0
- data/README.md +13 -5
- 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 -15
- 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 -10
- 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/fedora-32-x86_64.facts +490 -0
- data/facts/3.14/fedora-33-x86_64.facts +482 -0
- data/facts/3.14/fedora-34-x86_64.facts +493 -0
- data/facts/3.14/rocky-8-x86_64.facts +6 -6
- data/facts/3.14/ubuntu-21.04-x86_64.facts +510 -0
- data/facts/3.14/ubuntu-21.10-x86_64.facts +609 -0
- 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 -10
- data/facts/4.0/almalinux-8-x86_64.facts +302 -67
- data/facts/4.0/centos-7-x86_64.facts +1 -16
- data/facts/4.0/debian-10-x86_64.facts +1 -17
- data/facts/4.0/debian-11-x86_64.facts +256 -68
- data/facts/4.0/fedora-32-x86_64.facts +506 -0
- data/facts/4.0/fedora-33-x86_64.facts +505 -0
- data/facts/4.0/fedora-34-x86_64.facts +509 -0
- data/facts/4.0/fedora-35-x86_64.facts +504 -0
- data/facts/4.0/freebsd-11-x86_64.facts +237 -22
- data/facts/4.0/freebsd-12-x86_64.facts +239 -24
- data/facts/4.0/freebsd-13-x86_64.facts +287 -18
- data/facts/4.0/oraclelinux-7-x86_64.facts +691 -0
- data/facts/4.0/redhat-7-x86_64.facts +691 -0
- data/facts/4.0/redhat-8-x86_64.facts +267 -53
- data/facts/4.0/rocky-8-x86_64.facts +523 -0
- data/facts/4.0/scientific-7-x86_64.facts +691 -0
- data/facts/4.0/solaris-11-sun4v.facts +1 -6
- data/facts/4.0/ubuntu-18.04-x86_64.facts +280 -62
- data/facts/4.0/ubuntu-20.04-x86_64.facts +365 -75
- data/facts/4.0/ubuntu-21.04-x86_64.facts +646 -0
- data/facts/4.0/ubuntu-21.10-x86_64.facts +624 -0
- data/facts/4.1/almalinux-8-x86_64.facts +544 -0
- data/facts/4.1/debian-11-x86_64.facts +256 -68
- data/facts/4.1/fedora-32-x86_64.facts +508 -0
- data/facts/4.1/fedora-33-x86_64.facts +507 -0
- data/facts/4.1/fedora-34-x86_64.facts +511 -0
- data/facts/4.1/fedora-35-x86_64.facts +506 -0
- data/facts/4.1/freebsd-11-x86_64.facts +237 -22
- data/facts/4.1/freebsd-12-x86_64.facts +239 -24
- data/facts/4.1/freebsd-13-x86_64.facts +287 -18
- data/facts/4.1/redhat-8-x86_64.facts +267 -53
- data/facts/4.1/rocky-8-x86_64.facts +525 -0
- data/facts/4.1/ubuntu-18.04-x86_64.facts +280 -62
- data/facts/4.1/ubuntu-20.04-x86_64.facts +365 -75
- data/facts/4.1/ubuntu-21.04-x86_64.facts +648 -0
- data/facts/4.1/ubuntu-21.10-x86_64.facts +626 -0
- data/facts/4.2/almalinux-8-x86_64.facts +550 -0
- data/facts/4.2/centos-9-x86_64.facts +14 -3
- data/facts/4.2/debian-11-x86_64.facts +255 -67
- data/facts/4.2/fedora-32-x86_64.facts +508 -0
- data/facts/4.2/fedora-33-x86_64.facts +507 -0
- data/facts/4.2/fedora-34-x86_64.facts +511 -0
- data/facts/4.2/fedora-35-x86_64.facts +506 -0
- data/facts/4.2/freebsd-11-x86_64.facts +22 -22
- data/facts/4.2/freebsd-12-x86_64.facts +25 -25
- data/facts/4.2/freebsd-13-x86_64.facts +242 -26
- data/facts/4.2/oraclelinux-7-x86_64.facts +593 -0
- data/facts/4.2/oraclelinux-9-x86_64.facts +302 -0
- data/facts/4.2/redhat-7-x86_64.facts +593 -0
- data/facts/4.2/redhat-8-x86_64.facts +267 -53
- data/facts/4.2/redhat-9-x86_64.facts +302 -0
- data/facts/4.2/rocky-8-x86_64.facts +525 -0
- data/facts/4.2/scientific-7-x86_64.facts +593 -0
- data/facts/4.2/ubuntu-18.04-x86_64.facts +280 -62
- data/facts/4.2/ubuntu-20.04-x86_64.facts +365 -75
- data/facts/4.2/ubuntu-21.04-x86_64.facts +654 -0
- data/facts/4.2/ubuntu-21.10-x86_64.facts +632 -0
- data/facts/Gemfile +3 -0
- data/facts/Vagrantfile +54 -1
- data/facts/get_facts.sh +46 -5
- data/lib/facterdb/version.rb +1 -1
- data/spec/facts_spec.rb +27 -27
- metadata +39 -3
@@ -0,0 +1,632 @@
|
|
1
|
+
{
|
2
|
+
"architecture": "amd64",
|
3
|
+
"augeas": {
|
4
|
+
"version": "1.12.0"
|
5
|
+
},
|
6
|
+
"augeasversion": "1.12.0",
|
7
|
+
"bios_release_date": "12/01/2006",
|
8
|
+
"bios_vendor": "innotek GmbH",
|
9
|
+
"bios_version": "VirtualBox",
|
10
|
+
"blockdevice_sda_model": "HARDDISK",
|
11
|
+
"blockdevice_sda_size": 42949672960,
|
12
|
+
"blockdevice_sda_vendor": "VBOX",
|
13
|
+
"blockdevice_sdb_model": "HARDDISK",
|
14
|
+
"blockdevice_sdb_size": 10485760,
|
15
|
+
"blockdevice_sdb_vendor": "VBOX",
|
16
|
+
"blockdevices": "sdb,sda",
|
17
|
+
"boardmanufacturer": "Oracle Corporation",
|
18
|
+
"boardproductname": "VirtualBox",
|
19
|
+
"boardserialnumber": "0",
|
20
|
+
"chassistype": "Other",
|
21
|
+
"dhcp_servers": {
|
22
|
+
"enp0s3": "10.0.2.2",
|
23
|
+
"system": "10.0.2.2"
|
24
|
+
},
|
25
|
+
"disks": {
|
26
|
+
"sda": {
|
27
|
+
"model": "HARDDISK",
|
28
|
+
"size": "40.00 GiB",
|
29
|
+
"size_bytes": 42949672960,
|
30
|
+
"type": "hdd",
|
31
|
+
"vendor": "VBOX"
|
32
|
+
},
|
33
|
+
"sdb": {
|
34
|
+
"model": "HARDDISK",
|
35
|
+
"size": "10.00 MiB",
|
36
|
+
"size_bytes": 10485760,
|
37
|
+
"type": "hdd",
|
38
|
+
"vendor": "VBOX"
|
39
|
+
}
|
40
|
+
},
|
41
|
+
"dmi": {
|
42
|
+
"bios": {
|
43
|
+
"release_date": "12/01/2006",
|
44
|
+
"vendor": "innotek GmbH",
|
45
|
+
"version": "VirtualBox"
|
46
|
+
},
|
47
|
+
"board": {
|
48
|
+
"manufacturer": "Oracle Corporation",
|
49
|
+
"product": "VirtualBox",
|
50
|
+
"serial_number": "0"
|
51
|
+
},
|
52
|
+
"chassis": {
|
53
|
+
"type": "Other"
|
54
|
+
},
|
55
|
+
"manufacturer": "innotek GmbH",
|
56
|
+
"product": {
|
57
|
+
"name": "VirtualBox",
|
58
|
+
"serial_number": "0",
|
59
|
+
"uuid": "62bbce6d-7b70-ec45-bbd1-12da9be38ac0"
|
60
|
+
}
|
61
|
+
},
|
62
|
+
"domain": "example.com",
|
63
|
+
"facterversion": "4.2.5",
|
64
|
+
"filesystems": "btrfs,ext2,ext3,ext4,iso9660,squashfs,vfat",
|
65
|
+
"fips_enabled": false,
|
66
|
+
"fqdn": "foo.example.com",
|
67
|
+
"gem_version": "~> 4.2.0",
|
68
|
+
"gid": "root",
|
69
|
+
"hardwareisa": "x86_64",
|
70
|
+
"hardwaremodel": "x86_64",
|
71
|
+
"hostname": "foo",
|
72
|
+
"hypervisors": {
|
73
|
+
"virtualbox": {
|
74
|
+
"revision": "147628",
|
75
|
+
"version": "6.1.28"
|
76
|
+
}
|
77
|
+
},
|
78
|
+
"id": "root",
|
79
|
+
"identity": {
|
80
|
+
"gid": 0,
|
81
|
+
"group": "root",
|
82
|
+
"privileged": true,
|
83
|
+
"uid": 0,
|
84
|
+
"user": "root"
|
85
|
+
},
|
86
|
+
"interfaces": "enp0s3,lo",
|
87
|
+
"ipaddress": "10.0.2.15",
|
88
|
+
"ipaddress6": "fe80::7c:78ff:fe8b:f335",
|
89
|
+
"ipaddress6_enp0s3": "fe80::7c:78ff:fe8b:f335",
|
90
|
+
"ipaddress6_lo": "::1",
|
91
|
+
"ipaddress_enp0s3": "10.0.2.15",
|
92
|
+
"ipaddress_lo": "127.0.0.1",
|
93
|
+
"is_virtual": true,
|
94
|
+
"kernel": "Linux",
|
95
|
+
"kernelmajversion": "5.13",
|
96
|
+
"kernelrelease": "5.13.0-20-generic",
|
97
|
+
"kernelversion": "5.13.0",
|
98
|
+
"load_averages": {
|
99
|
+
"15m": 0.09,
|
100
|
+
"1m": 0.82,
|
101
|
+
"5m": 0.26
|
102
|
+
},
|
103
|
+
"lsbdistcodename": "impish",
|
104
|
+
"lsbdistdescription": "Ubuntu 21.10",
|
105
|
+
"lsbdistid": "Ubuntu",
|
106
|
+
"lsbdistrelease": "21.10",
|
107
|
+
"lsbmajdistrelease": "21.10",
|
108
|
+
"macaddress": "02:7c:78:8b:f3:35",
|
109
|
+
"macaddress_enp0s3": "02:7c:78:8b:f3:35",
|
110
|
+
"manufacturer": "innotek GmbH",
|
111
|
+
"memory": {
|
112
|
+
"system": {
|
113
|
+
"available": "627.80 MiB",
|
114
|
+
"available_bytes": 658300928,
|
115
|
+
"capacity": "35.36%",
|
116
|
+
"total": "971.26 MiB",
|
117
|
+
"total_bytes": 1018441728,
|
118
|
+
"used": "343.46 MiB",
|
119
|
+
"used_bytes": 360140800
|
120
|
+
}
|
121
|
+
},
|
122
|
+
"memoryfree": "627.80 MiB",
|
123
|
+
"memoryfree_mb": 627.8046875,
|
124
|
+
"memorysize": "971.26 MiB",
|
125
|
+
"memorysize_mb": 971.26171875,
|
126
|
+
"mountpoints": {
|
127
|
+
"/": {
|
128
|
+
"available": "36.62 GiB",
|
129
|
+
"available_bytes": 39323115520,
|
130
|
+
"capacity": "5.36%",
|
131
|
+
"device": "/dev/sda1",
|
132
|
+
"filesystem": "ext4",
|
133
|
+
"options": [
|
134
|
+
"rw",
|
135
|
+
"relatime",
|
136
|
+
"discard",
|
137
|
+
"errors=remount-ro"
|
138
|
+
],
|
139
|
+
"size": "38.71 GiB",
|
140
|
+
"size_bytes": 41567858688,
|
141
|
+
"used": "2.07 GiB",
|
142
|
+
"used_bytes": 2227965952
|
143
|
+
},
|
144
|
+
"/dev": {
|
145
|
+
"available": "471.20 MiB",
|
146
|
+
"available_bytes": 494084096,
|
147
|
+
"capacity": "0%",
|
148
|
+
"device": "udev",
|
149
|
+
"filesystem": "devtmpfs",
|
150
|
+
"options": [
|
151
|
+
"rw",
|
152
|
+
"nosuid",
|
153
|
+
"relatime",
|
154
|
+
"size=482504k",
|
155
|
+
"nr_inodes=120626",
|
156
|
+
"mode=755",
|
157
|
+
"inode64"
|
158
|
+
],
|
159
|
+
"size": "471.20 MiB",
|
160
|
+
"size_bytes": 494084096,
|
161
|
+
"used": "0 bytes",
|
162
|
+
"used_bytes": 0
|
163
|
+
},
|
164
|
+
"/dev/hugepages": {
|
165
|
+
"available": "0 bytes",
|
166
|
+
"available_bytes": 0,
|
167
|
+
"capacity": "100%",
|
168
|
+
"device": "hugetlbfs",
|
169
|
+
"filesystem": "hugetlbfs",
|
170
|
+
"options": [
|
171
|
+
"rw",
|
172
|
+
"relatime",
|
173
|
+
"pagesize=2M"
|
174
|
+
],
|
175
|
+
"size": "0 bytes",
|
176
|
+
"size_bytes": 0,
|
177
|
+
"used": "0 bytes",
|
178
|
+
"used_bytes": 0
|
179
|
+
},
|
180
|
+
"/dev/mqueue": {
|
181
|
+
"available": "0 bytes",
|
182
|
+
"available_bytes": 0,
|
183
|
+
"capacity": "100%",
|
184
|
+
"device": "mqueue",
|
185
|
+
"filesystem": "mqueue",
|
186
|
+
"options": [
|
187
|
+
"rw",
|
188
|
+
"nosuid",
|
189
|
+
"nodev",
|
190
|
+
"noexec",
|
191
|
+
"relatime"
|
192
|
+
],
|
193
|
+
"size": "0 bytes",
|
194
|
+
"size_bytes": 0,
|
195
|
+
"used": "0 bytes",
|
196
|
+
"used_bytes": 0
|
197
|
+
},
|
198
|
+
"/dev/pts": {
|
199
|
+
"available": "0 bytes",
|
200
|
+
"available_bytes": 0,
|
201
|
+
"capacity": "100%",
|
202
|
+
"device": "devpts",
|
203
|
+
"filesystem": "devpts",
|
204
|
+
"options": [
|
205
|
+
"rw",
|
206
|
+
"nosuid",
|
207
|
+
"noexec",
|
208
|
+
"relatime",
|
209
|
+
"gid=5",
|
210
|
+
"mode=620",
|
211
|
+
"ptmxmode=000"
|
212
|
+
],
|
213
|
+
"size": "0 bytes",
|
214
|
+
"size_bytes": 0,
|
215
|
+
"used": "0 bytes",
|
216
|
+
"used_bytes": 0
|
217
|
+
},
|
218
|
+
"/dev/shm": {
|
219
|
+
"available": "485.63 MiB",
|
220
|
+
"available_bytes": 509218816,
|
221
|
+
"capacity": "0%",
|
222
|
+
"device": "tmpfs",
|
223
|
+
"filesystem": "tmpfs",
|
224
|
+
"options": [
|
225
|
+
"rw",
|
226
|
+
"nosuid",
|
227
|
+
"nodev",
|
228
|
+
"inode64"
|
229
|
+
],
|
230
|
+
"size": "485.63 MiB",
|
231
|
+
"size_bytes": 509218816,
|
232
|
+
"used": "0 bytes",
|
233
|
+
"used_bytes": 0
|
234
|
+
},
|
235
|
+
"/run": {
|
236
|
+
"available": "96.20 MiB",
|
237
|
+
"available_bytes": 100876288,
|
238
|
+
"capacity": "0.95%",
|
239
|
+
"device": "tmpfs",
|
240
|
+
"filesystem": "tmpfs",
|
241
|
+
"options": [
|
242
|
+
"rw",
|
243
|
+
"nosuid",
|
244
|
+
"nodev",
|
245
|
+
"noexec",
|
246
|
+
"relatime",
|
247
|
+
"size=99460k",
|
248
|
+
"mode=755",
|
249
|
+
"inode64"
|
250
|
+
],
|
251
|
+
"size": "97.13 MiB",
|
252
|
+
"size_bytes": 101847040,
|
253
|
+
"used": "948.00 KiB",
|
254
|
+
"used_bytes": 970752
|
255
|
+
},
|
256
|
+
"/run/lock": {
|
257
|
+
"available": "5.00 MiB",
|
258
|
+
"available_bytes": 5242880,
|
259
|
+
"capacity": "0%",
|
260
|
+
"device": "tmpfs",
|
261
|
+
"filesystem": "tmpfs",
|
262
|
+
"options": [
|
263
|
+
"rw",
|
264
|
+
"nosuid",
|
265
|
+
"nodev",
|
266
|
+
"noexec",
|
267
|
+
"relatime",
|
268
|
+
"size=5120k",
|
269
|
+
"inode64"
|
270
|
+
],
|
271
|
+
"size": "5.00 MiB",
|
272
|
+
"size_bytes": 5242880,
|
273
|
+
"used": "0 bytes",
|
274
|
+
"used_bytes": 0
|
275
|
+
},
|
276
|
+
"/run/snapd/ns": {
|
277
|
+
"available": "96.20 MiB",
|
278
|
+
"available_bytes": 100876288,
|
279
|
+
"capacity": "0.95%",
|
280
|
+
"device": "tmpfs",
|
281
|
+
"filesystem": "tmpfs",
|
282
|
+
"options": [
|
283
|
+
"rw",
|
284
|
+
"nosuid",
|
285
|
+
"nodev",
|
286
|
+
"noexec",
|
287
|
+
"relatime",
|
288
|
+
"size=99460k",
|
289
|
+
"mode=755",
|
290
|
+
"inode64"
|
291
|
+
],
|
292
|
+
"size": "97.13 MiB",
|
293
|
+
"size_bytes": 101847040,
|
294
|
+
"used": "948.00 KiB",
|
295
|
+
"used_bytes": 970752
|
296
|
+
},
|
297
|
+
"/run/snapd/ns/lxd.mnt": {
|
298
|
+
"available": "0 bytes",
|
299
|
+
"available_bytes": 0,
|
300
|
+
"capacity": "100%",
|
301
|
+
"device": "nsfs",
|
302
|
+
"filesystem": "nsfs",
|
303
|
+
"options": [
|
304
|
+
"rw"
|
305
|
+
],
|
306
|
+
"size": "0 bytes",
|
307
|
+
"size_bytes": 0,
|
308
|
+
"used": "0 bytes",
|
309
|
+
"used_bytes": 0
|
310
|
+
},
|
311
|
+
"/run/user/1000": {
|
312
|
+
"available": "97.12 MiB",
|
313
|
+
"available_bytes": 101838848,
|
314
|
+
"capacity": "0.00%",
|
315
|
+
"device": "tmpfs",
|
316
|
+
"filesystem": "tmpfs",
|
317
|
+
"options": [
|
318
|
+
"rw",
|
319
|
+
"nosuid",
|
320
|
+
"nodev",
|
321
|
+
"relatime",
|
322
|
+
"size=99456k",
|
323
|
+
"nr_inodes=24864",
|
324
|
+
"mode=700",
|
325
|
+
"uid=1000",
|
326
|
+
"gid=1000",
|
327
|
+
"inode64"
|
328
|
+
],
|
329
|
+
"size": "97.13 MiB",
|
330
|
+
"size_bytes": 101842944,
|
331
|
+
"used": "4.00 KiB",
|
332
|
+
"used_bytes": 4096
|
333
|
+
},
|
334
|
+
"/snap/core20/1169": {
|
335
|
+
"available": "0 bytes",
|
336
|
+
"available_bytes": 0,
|
337
|
+
"capacity": "100%",
|
338
|
+
"device": "/dev/loop0",
|
339
|
+
"filesystem": "squashfs",
|
340
|
+
"options": [
|
341
|
+
"ro",
|
342
|
+
"nodev",
|
343
|
+
"relatime"
|
344
|
+
],
|
345
|
+
"size": "61.88 MiB",
|
346
|
+
"size_bytes": 64880640,
|
347
|
+
"used": "61.88 MiB",
|
348
|
+
"used_bytes": 64880640
|
349
|
+
},
|
350
|
+
"/snap/lxd/21780": {
|
351
|
+
"available": "0 bytes",
|
352
|
+
"available_bytes": 0,
|
353
|
+
"capacity": "100%",
|
354
|
+
"device": "/dev/loop1",
|
355
|
+
"filesystem": "squashfs",
|
356
|
+
"options": [
|
357
|
+
"ro",
|
358
|
+
"nodev",
|
359
|
+
"relatime"
|
360
|
+
],
|
361
|
+
"size": "72.63 MiB",
|
362
|
+
"size_bytes": 76152832,
|
363
|
+
"used": "72.63 MiB",
|
364
|
+
"used_bytes": 76152832
|
365
|
+
},
|
366
|
+
"/snap/snapd/13640": {
|
367
|
+
"available": "0 bytes",
|
368
|
+
"available_bytes": 0,
|
369
|
+
"capacity": "100%",
|
370
|
+
"device": "/dev/loop2",
|
371
|
+
"filesystem": "squashfs",
|
372
|
+
"options": [
|
373
|
+
"ro",
|
374
|
+
"nodev",
|
375
|
+
"relatime"
|
376
|
+
],
|
377
|
+
"size": "32.50 MiB",
|
378
|
+
"size_bytes": 34078720,
|
379
|
+
"used": "32.50 MiB",
|
380
|
+
"used_bytes": 34078720
|
381
|
+
},
|
382
|
+
"/vagrant": {
|
383
|
+
"available": "845.06 GiB",
|
384
|
+
"available_bytes": 907379585024,
|
385
|
+
"capacity": "7.73%",
|
386
|
+
"device": "vagrant",
|
387
|
+
"filesystem": "vboxsf",
|
388
|
+
"options": [
|
389
|
+
"rw",
|
390
|
+
"relatime"
|
391
|
+
],
|
392
|
+
"size": "915.89 GiB",
|
393
|
+
"size_bytes": 983424843776,
|
394
|
+
"used": "70.82 GiB",
|
395
|
+
"used_bytes": 76045258752
|
396
|
+
}
|
397
|
+
},
|
398
|
+
"mtu_enp0s3": 1500,
|
399
|
+
"mtu_lo": 65536,
|
400
|
+
"netmask": "255.255.255.0",
|
401
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
402
|
+
"netmask6_enp0s3": "ffff:ffff:ffff:ffff::",
|
403
|
+
"netmask6_lo": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
404
|
+
"netmask_enp0s3": "255.255.255.0",
|
405
|
+
"netmask_lo": "255.0.0.0",
|
406
|
+
"network": "10.0.2.0",
|
407
|
+
"network6": "fe80::",
|
408
|
+
"network6_enp0s3": "fe80::",
|
409
|
+
"network6_lo": "::1",
|
410
|
+
"network_enp0s3": "10.0.2.0",
|
411
|
+
"network_lo": "127.0.0.0",
|
412
|
+
"networking": {
|
413
|
+
"dhcp": "10.0.2.2",
|
414
|
+
"domain": "example.com",
|
415
|
+
"fqdn": "foo.example.com",
|
416
|
+
"hostname": "foo",
|
417
|
+
"interfaces": {
|
418
|
+
"enp0s3": {
|
419
|
+
"bindings": [
|
420
|
+
{
|
421
|
+
"address": "10.0.2.15",
|
422
|
+
"netmask": "255.255.255.0",
|
423
|
+
"network": "10.0.2.0"
|
424
|
+
}
|
425
|
+
],
|
426
|
+
"bindings6": [
|
427
|
+
{
|
428
|
+
"address": "fe80::7c:78ff:fe8b:f335",
|
429
|
+
"netmask": "ffff:ffff:ffff:ffff::",
|
430
|
+
"network": "fe80::",
|
431
|
+
"scope6": "link",
|
432
|
+
"flags": [
|
433
|
+
"permanent"
|
434
|
+
]
|
435
|
+
}
|
436
|
+
],
|
437
|
+
"dhcp": "10.0.2.2",
|
438
|
+
"ip": "10.0.2.15",
|
439
|
+
"ip6": "fe80::7c:78ff:fe8b:f335",
|
440
|
+
"mac": "02:7c:78:8b:f3:35",
|
441
|
+
"mtu": 1500,
|
442
|
+
"netmask": "255.255.255.0",
|
443
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
444
|
+
"network": "10.0.2.0",
|
445
|
+
"network6": "fe80::",
|
446
|
+
"scope6": "link"
|
447
|
+
},
|
448
|
+
"lo": {
|
449
|
+
"bindings": [
|
450
|
+
{
|
451
|
+
"address": "127.0.0.1",
|
452
|
+
"netmask": "255.0.0.0",
|
453
|
+
"network": "127.0.0.0"
|
454
|
+
}
|
455
|
+
],
|
456
|
+
"bindings6": [
|
457
|
+
{
|
458
|
+
"address": "::1",
|
459
|
+
"netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
460
|
+
"network": "::1",
|
461
|
+
"scope6": "host",
|
462
|
+
"flags": [
|
463
|
+
"permanent"
|
464
|
+
]
|
465
|
+
}
|
466
|
+
],
|
467
|
+
"ip": "127.0.0.1",
|
468
|
+
"ip6": "::1",
|
469
|
+
"mtu": 65536,
|
470
|
+
"netmask": "255.0.0.0",
|
471
|
+
"netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
472
|
+
"network": "127.0.0.0",
|
473
|
+
"network6": "::1",
|
474
|
+
"scope6": "host"
|
475
|
+
}
|
476
|
+
},
|
477
|
+
"ip": "10.0.2.15",
|
478
|
+
"ip6": "fe80::7c:78ff:fe8b:f335",
|
479
|
+
"mac": "02:7c:78:8b:f3:35",
|
480
|
+
"mtu": 1500,
|
481
|
+
"netmask": "255.255.255.0",
|
482
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
483
|
+
"network": "10.0.2.0",
|
484
|
+
"network6": "fe80::",
|
485
|
+
"primary": "enp0s3",
|
486
|
+
"scope6": "link"
|
487
|
+
},
|
488
|
+
"operatingsystem": "Ubuntu",
|
489
|
+
"operatingsystemmajrelease": "21.10",
|
490
|
+
"operatingsystemrelease": "21.10",
|
491
|
+
"os": {
|
492
|
+
"architecture": "amd64",
|
493
|
+
"distro": {
|
494
|
+
"codename": "impish",
|
495
|
+
"description": "Ubuntu 21.10",
|
496
|
+
"id": "Ubuntu",
|
497
|
+
"release": {
|
498
|
+
"full": "21.10",
|
499
|
+
"major": "21.10"
|
500
|
+
}
|
501
|
+
},
|
502
|
+
"family": "Debian",
|
503
|
+
"hardware": "x86_64",
|
504
|
+
"name": "Ubuntu",
|
505
|
+
"release": {
|
506
|
+
"full": "21.10",
|
507
|
+
"major": "21.10"
|
508
|
+
},
|
509
|
+
"selinux": {
|
510
|
+
"enabled": false
|
511
|
+
}
|
512
|
+
},
|
513
|
+
"osfamily": "Debian",
|
514
|
+
"partitions": {
|
515
|
+
"/dev/loop0": {
|
516
|
+
"backing_file": "/var/lib/snapd/snaps/core20_1169.snap",
|
517
|
+
"filesystem": "squashfs",
|
518
|
+
"mount": "/snap/core20/1169",
|
519
|
+
"size": "61.83 MiB",
|
520
|
+
"size_bytes": 64835584
|
521
|
+
},
|
522
|
+
"/dev/loop1": {
|
523
|
+
"backing_file": "/var/lib/snapd/snaps/lxd_21780.snap",
|
524
|
+
"filesystem": "squashfs",
|
525
|
+
"mount": "/snap/lxd/21780",
|
526
|
+
"size": "72.59 MiB",
|
527
|
+
"size_bytes": 76111872
|
528
|
+
},
|
529
|
+
"/dev/loop2": {
|
530
|
+
"backing_file": "/var/lib/snapd/snaps/snapd_13640.snap",
|
531
|
+
"filesystem": "squashfs",
|
532
|
+
"mount": "/snap/snapd/13640",
|
533
|
+
"size": "32.44 MiB",
|
534
|
+
"size_bytes": 34017280
|
535
|
+
},
|
536
|
+
"/dev/sda1": {
|
537
|
+
"filesystem": "ext4",
|
538
|
+
"label": "cloudimg-rootfs",
|
539
|
+
"mount": "/",
|
540
|
+
"partuuid": "bb6578bf-01",
|
541
|
+
"size": "40.00 GiB",
|
542
|
+
"size_bytes": 42948607488,
|
543
|
+
"uuid": "6c44681a-89d1-49f0-b1e5-b3dff10b0d55"
|
544
|
+
}
|
545
|
+
},
|
546
|
+
"path": "/home/vagrant/vendor/bundler/ruby/2.7.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin",
|
547
|
+
"physicalprocessorcount": 1,
|
548
|
+
"processor0": "Intel(R) Core(TM) i7-9800X CPU @ 3.80GHz",
|
549
|
+
"processor1": "Intel(R) Core(TM) i7-9800X CPU @ 3.80GHz",
|
550
|
+
"processorcount": 2,
|
551
|
+
"processors": {
|
552
|
+
"cores": 2,
|
553
|
+
"count": 2,
|
554
|
+
"isa": "x86_64",
|
555
|
+
"models": [
|
556
|
+
"Intel(R) Core(TM) i7-9800X CPU @ 3.80GHz",
|
557
|
+
"Intel(R) Core(TM) i7-9800X CPU @ 3.80GHz"
|
558
|
+
],
|
559
|
+
"physicalcount": 1,
|
560
|
+
"speed": "3.79 GHz",
|
561
|
+
"threads": 1
|
562
|
+
},
|
563
|
+
"productname": "VirtualBox",
|
564
|
+
"ruby": {
|
565
|
+
"platform": "x86_64-linux-gnu",
|
566
|
+
"sitedir": "/usr/local/lib/site_ruby/2.7.0",
|
567
|
+
"version": "2.7.4"
|
568
|
+
},
|
569
|
+
"rubyplatform": "x86_64-linux-gnu",
|
570
|
+
"rubysitedir": "/usr/local/lib/site_ruby/2.7.0",
|
571
|
+
"rubyversion": "2.7.4",
|
572
|
+
"scope6": "link",
|
573
|
+
"scope6_enp0s3": "link",
|
574
|
+
"scope6_lo": "host",
|
575
|
+
"selinux": false,
|
576
|
+
"serialnumber": "0",
|
577
|
+
"ssh": {
|
578
|
+
"dsa": {
|
579
|
+
"fingerprints": {
|
580
|
+
"sha1": "SSHFP 2 1 330fe76a7e0e012d314a567e4a4deeb5406fbf25",
|
581
|
+
"sha256": "SSHFP 2 2 65db328974a4592c0eb6351573deb5f9a8e254784974c5fda4e1ca24047398c1"
|
582
|
+
},
|
583
|
+
"key": "AAAAB3NzaC1kc3MAAACBAL4fJ8e3/qjnDEaQeRiFN8GyF//GadIE4KHhYaSPGXkJSW1VYx6XGCh+OjdMLasRvt5qSIW6v+N+0aotna87/s3oe8z3PnwJTpcWm+cS6MVLW4BH3g6fG8W9DMb8xE00Ly+ueuYQhEpS4wy9TqTerTw0ni6Fs3F2HR+we0633ySLAAAAFQCsqTjdlD+rB/k3SCTa7XVnppSKNQAAAIAyZiUTr5xbArb7vefNmyF/s4FaAPbebg2CTQQxwejQXn4nXN1OvbnSckFJqbl+Rj7Fh6uRYps4QHR0g6rYQHAm0hzaimIWfGPl0uWeQmWumRzMap2QOWGaKJWOMHLjil+EFAA2WiW9v18nsSMfLxVOYqez65z46TF8mgpuKJx+fQAAAIEAg8DkrtypmyiwDo8CsQHnbjDCZ1kWXVA3bcQVTtTplcbtxO4XaeRKUhRtvksiTeFHp1le2AmpLP48sULAp5qSxQyADSdnhRnLUOFkioisxSGiZmqMGz+9cpPKL0AZuIdsEB6O0RCONu5jAsHlLw3Bm0zHtgtA9i9j3HkL6+2vO+I=",
|
584
|
+
"type": "ssh-dss"
|
585
|
+
},
|
586
|
+
"ecdsa": {
|
587
|
+
"fingerprints": {
|
588
|
+
"sha1": "SSHFP 3 1 deddbabf8696d0cbc20cf391819da308fd3e6599",
|
589
|
+
"sha256": "SSHFP 3 2 31d69a7cbe8a1d2091070dee267dde7dfd2bd61231192a9ec5674d3c87b0329f"
|
590
|
+
},
|
591
|
+
"key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHfdBg2iQAiMIC8hX8jyCZQMObtvL7xmblL24iGEGsLRTdfPE+uDbdOTfLnTZz50SLentd0FSefm/cM2KnuI3Bg=",
|
592
|
+
"type": "ecdsa-sha2-nistp256"
|
593
|
+
},
|
594
|
+
"ed25519": {
|
595
|
+
"fingerprints": {
|
596
|
+
"sha1": "SSHFP 4 1 fb97e18af9ebe6697a6598752796dbda73495808",
|
597
|
+
"sha256": "SSHFP 4 2 7fc42a83b34a49ebc8cea422d200ec7d4c3ab06c1fb656b245ebb73f282ece25"
|
598
|
+
},
|
599
|
+
"key": "AAAAC3NzaC1lZDI1NTE5AAAAIFW7Kk9AEbjvAwekEsbDHxLVIpHnvkIVeakeF9c1Dwci",
|
600
|
+
"type": "ssh-ed25519"
|
601
|
+
},
|
602
|
+
"rsa": {
|
603
|
+
"fingerprints": {
|
604
|
+
"sha1": "SSHFP 1 1 42137d22089f7a96bea0e3940b1d8169bcec90e3",
|
605
|
+
"sha256": "SSHFP 1 2 c3b0099b42f0c5145e145b2cd5d32ba0239911657552f90b248702168e006bdc"
|
606
|
+
},
|
607
|
+
"key": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC/KNeJX4wNDzLKBnjitFFahPzCGSKVdYTn5LvY0dMwmeolU7DHna0BOn6XycozXgCTZ+uBYffQVNOYDOzctO/ZU3U4hWo7GIRtNWqEMGPm0c1r9GD1AH+aI+xxub9zlc59dRlMMbxNzLHtXOzLvS4jvNCuBwlOkZEZz1HHLR3WEAmxT4ES9rz6Px/4ZtKiYL1g6ve/87U1AglIQjuixIW/qZuihLPMca+LQkozGQA4pOirpwR0PtbnY196DggWQW85qW5UZ2e9TW1vWl3FkxBu9Uu/pHx19s3ehk0Mt4NaI+JafDd86R6KltW72pSw1T8eyUpyNgKNG84YyrDUdb3Cw05QfUnbpNMre0wcUfO5JnDir6itvtOegCGc/HE8CGTxEfNfCO8c4qYiJ9ff6Eqn8N9t/gMGRCBK42mzFFUIusyf/n+3pJBa324XnXoSgSCCzbmnT9l7IcUp+kUeq3s2nWx3eusjsl9SwnJHrgYpQuYPxDfuNS204Wa2ciA1fcU=",
|
608
|
+
"type": "ssh-rsa"
|
609
|
+
}
|
610
|
+
},
|
611
|
+
"sshdsakey": "AAAAB3NzaC1kc3MAAACBAL4fJ8e3/qjnDEaQeRiFN8GyF//GadIE4KHhYaSPGXkJSW1VYx6XGCh+OjdMLasRvt5qSIW6v+N+0aotna87/s3oe8z3PnwJTpcWm+cS6MVLW4BH3g6fG8W9DMb8xE00Ly+ueuYQhEpS4wy9TqTerTw0ni6Fs3F2HR+we0633ySLAAAAFQCsqTjdlD+rB/k3SCTa7XVnppSKNQAAAIAyZiUTr5xbArb7vefNmyF/s4FaAPbebg2CTQQxwejQXn4nXN1OvbnSckFJqbl+Rj7Fh6uRYps4QHR0g6rYQHAm0hzaimIWfGPl0uWeQmWumRzMap2QOWGaKJWOMHLjil+EFAA2WiW9v18nsSMfLxVOYqez65z46TF8mgpuKJx+fQAAAIEAg8DkrtypmyiwDo8CsQHnbjDCZ1kWXVA3bcQVTtTplcbtxO4XaeRKUhRtvksiTeFHp1le2AmpLP48sULAp5qSxQyADSdnhRnLUOFkioisxSGiZmqMGz+9cpPKL0AZuIdsEB6O0RCONu5jAsHlLw3Bm0zHtgtA9i9j3HkL6+2vO+I=",
|
612
|
+
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHfdBg2iQAiMIC8hX8jyCZQMObtvL7xmblL24iGEGsLRTdfPE+uDbdOTfLnTZz50SLentd0FSefm/cM2KnuI3Bg=",
|
613
|
+
"sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIFW7Kk9AEbjvAwekEsbDHxLVIpHnvkIVeakeF9c1Dwci",
|
614
|
+
"sshfp_dsa": "SSHFP 2 1 330fe76a7e0e012d314a567e4a4deeb5406fbf25\nSSHFP 2 2 65db328974a4592c0eb6351573deb5f9a8e254784974c5fda4e1ca24047398c1",
|
615
|
+
"sshfp_ecdsa": "SSHFP 3 1 deddbabf8696d0cbc20cf391819da308fd3e6599\nSSHFP 3 2 31d69a7cbe8a1d2091070dee267dde7dfd2bd61231192a9ec5674d3c87b0329f",
|
616
|
+
"sshfp_ed25519": "SSHFP 4 1 fb97e18af9ebe6697a6598752796dbda73495808\nSSHFP 4 2 7fc42a83b34a49ebc8cea422d200ec7d4c3ab06c1fb656b245ebb73f282ece25",
|
617
|
+
"sshfp_rsa": "SSHFP 1 1 42137d22089f7a96bea0e3940b1d8169bcec90e3\nSSHFP 1 2 c3b0099b42f0c5145e145b2cd5d32ba0239911657552f90b248702168e006bdc",
|
618
|
+
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC/KNeJX4wNDzLKBnjitFFahPzCGSKVdYTn5LvY0dMwmeolU7DHna0BOn6XycozXgCTZ+uBYffQVNOYDOzctO/ZU3U4hWo7GIRtNWqEMGPm0c1r9GD1AH+aI+xxub9zlc59dRlMMbxNzLHtXOzLvS4jvNCuBwlOkZEZz1HHLR3WEAmxT4ES9rz6Px/4ZtKiYL1g6ve/87U1AglIQjuixIW/qZuihLPMca+LQkozGQA4pOirpwR0PtbnY196DggWQW85qW5UZ2e9TW1vWl3FkxBu9Uu/pHx19s3ehk0Mt4NaI+JafDd86R6KltW72pSw1T8eyUpyNgKNG84YyrDUdb3Cw05QfUnbpNMre0wcUfO5JnDir6itvtOegCGc/HE8CGTxEfNfCO8c4qYiJ9ff6Eqn8N9t/gMGRCBK42mzFFUIusyf/n+3pJBa324XnXoSgSCCzbmnT9l7IcUp+kUeq3s2nWx3eusjsl9SwnJHrgYpQuYPxDfuNS204Wa2ciA1fcU=",
|
619
|
+
"system_uptime": {
|
620
|
+
"days": 0,
|
621
|
+
"hours": 0,
|
622
|
+
"seconds": 84,
|
623
|
+
"uptime": "0:01 hours"
|
624
|
+
},
|
625
|
+
"timezone": "UTC",
|
626
|
+
"uptime": "0:01 hours",
|
627
|
+
"uptime_days": 0,
|
628
|
+
"uptime_hours": 0,
|
629
|
+
"uptime_seconds": 84,
|
630
|
+
"uuid": "62bbce6d-7b70-ec45-bbd1-12da9be38ac0",
|
631
|
+
"virtual": "virtualbox"
|
632
|
+
}
|
data/facts/Gemfile
CHANGED
@@ -2,6 +2,9 @@ source ENV['GEM_SOURCE'] || "https://rubygems.org"
|
|
2
2
|
|
3
3
|
gem 'json', :require => false
|
4
4
|
gem 'ffi'
|
5
|
+
# workaround for https://tickets.puppetlabs.com/projects/FACT/issues/FACT-3091
|
6
|
+
# facter requires/uses the sys-filesystem gem, but it is currently not listed in the gemspec file from facter
|
7
|
+
gem 'sys-filesystem'
|
5
8
|
|
6
9
|
if facterversion = ENV['FACTER_GEM_VERSION']
|
7
10
|
gem 'facter', facterversion, :require => false
|