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,302 @@
|
|
1
|
+
{
|
2
|
+
"domain": "example.com",
|
3
|
+
"fqdn": "foo.example.com",
|
4
|
+
"hostname": "foo",
|
5
|
+
"architecture": "x86_64",
|
6
|
+
"augeas": {
|
7
|
+
"version": "1.12.0"
|
8
|
+
},
|
9
|
+
"disks": {
|
10
|
+
"sr0": {
|
11
|
+
"model": "QEMU DVD-ROM",
|
12
|
+
"size": "364.00 KiB",
|
13
|
+
"size_bytes": 372736,
|
14
|
+
"type": "hdd",
|
15
|
+
"vendor": "QEMU"
|
16
|
+
},
|
17
|
+
"vda": {
|
18
|
+
"size": "93.13 GiB",
|
19
|
+
"size_bytes": 100000000000,
|
20
|
+
"type": "hdd",
|
21
|
+
"vendor": "0x1af4"
|
22
|
+
},
|
23
|
+
"vdb": {
|
24
|
+
"size": "4.66 GiB",
|
25
|
+
"size_bytes": 5000000512,
|
26
|
+
"type": "hdd",
|
27
|
+
"vendor": "0x1af4"
|
28
|
+
}
|
29
|
+
},
|
30
|
+
"dmi": {
|
31
|
+
"bios": {
|
32
|
+
"release_date": "04/01/2014",
|
33
|
+
"vendor": "SeaBIOS",
|
34
|
+
"version": "1.14.0-2.fc34"
|
35
|
+
},
|
36
|
+
"chassis": {
|
37
|
+
"type": "Other"
|
38
|
+
},
|
39
|
+
"manufacturer": "QEMU",
|
40
|
+
"product": {
|
41
|
+
"name": "Standard PC (i440FX + PIIX, 1996)"
|
42
|
+
}
|
43
|
+
},
|
44
|
+
"facterversion": "4.2.2",
|
45
|
+
"filesystems": "iso9660,xfs",
|
46
|
+
"fips_enabled": false,
|
47
|
+
"gem_version": "~> 4.2.0",
|
48
|
+
"hardwaremodel": "x86_64",
|
49
|
+
"hostname": "foo",
|
50
|
+
"identity": {
|
51
|
+
"gid": 1000,
|
52
|
+
"group": "stack",
|
53
|
+
"privileged": false,
|
54
|
+
"uid": 1000,
|
55
|
+
"user": "stack"
|
56
|
+
},
|
57
|
+
"ipaddress": "10.109.1.2",
|
58
|
+
"is_virtual": false,
|
59
|
+
"kernel": "Linux",
|
60
|
+
"kernelmajversion": "5.13",
|
61
|
+
"kernelrelease": "5.13.0-0.rc2.19.el9.x86_64",
|
62
|
+
"kernelversion": "5.13.0",
|
63
|
+
"load_averages": {
|
64
|
+
"15m": 0.26,
|
65
|
+
"1m": 0.68,
|
66
|
+
"5m": 0.39
|
67
|
+
},
|
68
|
+
"memory": {
|
69
|
+
"swap": {
|
70
|
+
"available": "1.00 GiB",
|
71
|
+
"available_bytes": 1073737728,
|
72
|
+
"capacity": "0.00%",
|
73
|
+
"total": "1.00 GiB",
|
74
|
+
"total_bytes": 1073737728,
|
75
|
+
"used": "0 bytes",
|
76
|
+
"used_bytes": 0
|
77
|
+
},
|
78
|
+
"system": {
|
79
|
+
"available": "15.05 GiB",
|
80
|
+
"available_bytes": 16163000320,
|
81
|
+
"capacity": "3.67%",
|
82
|
+
"total": "15.63 GiB",
|
83
|
+
"total_bytes": 16778706944,
|
84
|
+
"used": "587.18 MiB",
|
85
|
+
"used_bytes": 615706624
|
86
|
+
}
|
87
|
+
},
|
88
|
+
"networking": {
|
89
|
+
"domain": "example.com",
|
90
|
+
"fqdn": "foo.example.com",
|
91
|
+
"hostname": "foo",
|
92
|
+
"interfaces": {
|
93
|
+
"ens3": {
|
94
|
+
"bindings": [
|
95
|
+
{
|
96
|
+
"address": "10.109.1.2",
|
97
|
+
"netmask": "255.255.255.0",
|
98
|
+
"network": "10.109.1.0"
|
99
|
+
}
|
100
|
+
],
|
101
|
+
"bindings6": [
|
102
|
+
{
|
103
|
+
"address": "fe80::5054:ff:fe0a:d226",
|
104
|
+
"netmask": "ffff:ffff:ffff:ffff::",
|
105
|
+
"network": "fe80::",
|
106
|
+
"scope6": "link",
|
107
|
+
"flags": [
|
108
|
+
"permanent"
|
109
|
+
]
|
110
|
+
}
|
111
|
+
],
|
112
|
+
"ip": "10.109.1.2",
|
113
|
+
"ip6": "fe80::5054:ff:fe0a:d226",
|
114
|
+
"mac": "52:54:00:0a:d2:26",
|
115
|
+
"mtu": 1500,
|
116
|
+
"netmask": "255.255.255.0",
|
117
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
118
|
+
"network": "10.109.1.0",
|
119
|
+
"network6": "fe80::",
|
120
|
+
"scope6": "link"
|
121
|
+
},
|
122
|
+
"ens4": {
|
123
|
+
"bindings": [
|
124
|
+
{
|
125
|
+
"address": "192.168.24.3",
|
126
|
+
"netmask": "255.255.255.0",
|
127
|
+
"network": "192.168.24.0"
|
128
|
+
}
|
129
|
+
],
|
130
|
+
"bindings6": [
|
131
|
+
{
|
132
|
+
"address": "fe80::e30f:7713:f64d:c054",
|
133
|
+
"netmask": "ffff:ffff:ffff:ffff::",
|
134
|
+
"network": "fe80::",
|
135
|
+
"scope6": "link",
|
136
|
+
"flags": [
|
137
|
+
"permanent"
|
138
|
+
]
|
139
|
+
}
|
140
|
+
],
|
141
|
+
"ip": "192.168.24.3",
|
142
|
+
"ip6": "fe80::e30f:7713:f64d:c054",
|
143
|
+
"mac": "52:54:00:6a:d9:ff",
|
144
|
+
"mtu": 1500,
|
145
|
+
"netmask": "255.255.255.0",
|
146
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
147
|
+
"network": "192.168.24.0",
|
148
|
+
"network6": "fe80::",
|
149
|
+
"scope6": "link"
|
150
|
+
},
|
151
|
+
"lo": {
|
152
|
+
"bindings": [
|
153
|
+
{
|
154
|
+
"address": "127.0.0.1",
|
155
|
+
"netmask": "255.0.0.0",
|
156
|
+
"network": "127.0.0.0"
|
157
|
+
}
|
158
|
+
],
|
159
|
+
"bindings6": [
|
160
|
+
{
|
161
|
+
"address": "::1",
|
162
|
+
"netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
163
|
+
"network": "::1",
|
164
|
+
"scope6": "host",
|
165
|
+
"flags": [
|
166
|
+
"permanent"
|
167
|
+
]
|
168
|
+
}
|
169
|
+
],
|
170
|
+
"ip": "127.0.0.1",
|
171
|
+
"ip6": "::1",
|
172
|
+
"mtu": 65536,
|
173
|
+
"netmask": "255.0.0.0",
|
174
|
+
"netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
175
|
+
"network": "127.0.0.0",
|
176
|
+
"network6": "::1",
|
177
|
+
"scope6": "host"
|
178
|
+
}
|
179
|
+
},
|
180
|
+
"ip": "10.109.1.2",
|
181
|
+
"ip6": "fe80::5054:ff:fe0a:d226",
|
182
|
+
"mac": "52:54:00:0a:d2:26",
|
183
|
+
"mtu": 1500,
|
184
|
+
"netmask": "255.255.255.0",
|
185
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
186
|
+
"network": "10.109.1.0",
|
187
|
+
"network6": "fe80::",
|
188
|
+
"primary": "ens3",
|
189
|
+
"scope6": "link"
|
190
|
+
},
|
191
|
+
"operatingsystem": "OracleLinux",
|
192
|
+
"operatingsystemmajrelease": "9",
|
193
|
+
"operatingsystemrelease": "9",
|
194
|
+
"os": {
|
195
|
+
"architecture": "x86_64",
|
196
|
+
"distro": {
|
197
|
+
"description": "OracleLinux Stream release 9",
|
198
|
+
"id": "OracleLinuxStream",
|
199
|
+
"release": {
|
200
|
+
"full": "9",
|
201
|
+
"major": "9"
|
202
|
+
}
|
203
|
+
},
|
204
|
+
"family": "RedHat",
|
205
|
+
"hardware": "x86_64",
|
206
|
+
"name": "OracleLinux",
|
207
|
+
"release": {
|
208
|
+
"full": "9",
|
209
|
+
"major": "9"
|
210
|
+
},
|
211
|
+
"selinux": {
|
212
|
+
"config_mode": "enforcing",
|
213
|
+
"config_policy": "targeted",
|
214
|
+
"current_mode": "enforcing",
|
215
|
+
"enabled": true,
|
216
|
+
"enforced": true,
|
217
|
+
"policy_version": "33"
|
218
|
+
}
|
219
|
+
},
|
220
|
+
"osfamily": "RedHat",
|
221
|
+
"partitions": {
|
222
|
+
"/dev/vda1": {
|
223
|
+
"size": "1.00 MiB",
|
224
|
+
"size_bytes": 1048576
|
225
|
+
},
|
226
|
+
"/dev/vda2": {
|
227
|
+
"filesystem": "xfs",
|
228
|
+
"partuuid": "c12991b3-b38e-4cf8-aca6-53a5b3ea3b50",
|
229
|
+
"size": "1.00 GiB",
|
230
|
+
"size_bytes": 1073741824,
|
231
|
+
"uuid": "724c150d-ce51-495e-b81f-aee3c084a9bf"
|
232
|
+
},
|
233
|
+
"/dev/vda3": {
|
234
|
+
"filesystem": "swap",
|
235
|
+
"partuuid": "dc30e25d-d70c-4203-92ee-e5d474433548",
|
236
|
+
"size": "1.00 GiB",
|
237
|
+
"size_bytes": 1073741824,
|
238
|
+
"uuid": "8532f532-60cd-4cc5-b0b3-f3f0a3a5343d"
|
239
|
+
},
|
240
|
+
"/dev/vda4": {
|
241
|
+
"filesystem": "xfs",
|
242
|
+
"partuuid": "97b86013-ec9f-4176-9c07-8fdd3d28003e",
|
243
|
+
"size": "91.13 GiB",
|
244
|
+
"size_bytes": 97850402304,
|
245
|
+
"uuid": "571a3472-e7c0-4f89-8890-af74c2aed4ea"
|
246
|
+
}
|
247
|
+
},
|
248
|
+
"path": "/home/stack/facterdb/facts/vendor/bundler/ruby/3.0.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/home/stack/.local/bin:/home/stack/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin",
|
249
|
+
"processors": {
|
250
|
+
"cores": 1,
|
251
|
+
"count": 4,
|
252
|
+
"isa": "x86_64",
|
253
|
+
"models": [
|
254
|
+
"AMD Opteron(tm) Processor 6376",
|
255
|
+
"AMD Opteron(tm) Processor 6376",
|
256
|
+
"AMD Opteron(tm) Processor 6376",
|
257
|
+
"AMD Opteron(tm) Processor 6376"
|
258
|
+
],
|
259
|
+
"physicalcount": 4,
|
260
|
+
"speed": "2.30 GHz",
|
261
|
+
"threads": 1
|
262
|
+
},
|
263
|
+
"ruby": {
|
264
|
+
"platform": "x86_64-linux",
|
265
|
+
"sitedir": "/usr/local/share/ruby/site_ruby",
|
266
|
+
"version": "3.0.1"
|
267
|
+
},
|
268
|
+
"ssh": {
|
269
|
+
"ecdsa": {
|
270
|
+
"fingerprints": {
|
271
|
+
"sha1": "SSHFP 3 1 01965981be711d14d09243a4f4f8066a73590bd6",
|
272
|
+
"sha256": "SSHFP 3 2 f3467199746fbb547c9791ae1d22325c3c08562063b78ada6501044fcc395343"
|
273
|
+
},
|
274
|
+
"key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJueKsWqIw0wOXNkQxS4oz1BgGWynCJ+LCARJkJKwPyVNl8pVxHkuhKvgjlNaM5+j+7EzvNolztoUlb9F6YpMmc=",
|
275
|
+
"type": "ecdsa-sha2-nistp256"
|
276
|
+
},
|
277
|
+
"ed25519": {
|
278
|
+
"fingerprints": {
|
279
|
+
"sha1": "SSHFP 4 1 2b4f0187c0ef8d874fbb47ffefbe3b9c336aa00e",
|
280
|
+
"sha256": "SSHFP 4 2 f9ba2faa6fc99b1efbf355a4699c054b21e4cfb2192d42eafd62e902c0426005"
|
281
|
+
},
|
282
|
+
"key": "AAAAC3NzaC1lZDI1NTE5AAAAIH3oYudPTnii27GMd7ocHbIrNYpQUMi9YESufVhwOzk6",
|
283
|
+
"type": "ssh-ed25519"
|
284
|
+
},
|
285
|
+
"rsa": {
|
286
|
+
"fingerprints": {
|
287
|
+
"sha1": "SSHFP 1 1 c4f5f764a14cebbd395e88740e5b25e8333a1f5e",
|
288
|
+
"sha256": "SSHFP 1 2 a1d0269c1cd821312ca68f00c8ae486660998be9bdde20df7d1446b57ca9977f"
|
289
|
+
},
|
290
|
+
"key": "AAAAB3NzaC1yc2EAAAADAQABAAABgQC2JVk4nsrwLkfBayUpVA8HpVtfSfFG1rbDsiK90XVLr3b4drf0Sr14pPTZBVVOs5KSMER2E40t6drYcCqK/k8KtcVtQ30jNLYVSSoIf8YBELdZlITdUDdHkIMAhmNH5VDTy6CTP0bC+7ysJQokLRoNy7ftOIhTbdfkIjXhNiKCqVCHvLUzKN1ubhXtJrhLGlIevNmHeDI/hvEOsNDjbXHoG/t+DnpcC/oKhvAn0XL+VMLq6T4iIadja5t+kBBs04Dw9kJP6zfrMcP83tQC/dsMkY3q+g/n41jkNv6cjvxGZz2UpLC0yel+ezjTxfPeMugvmzkghb/EdINPnAubQHeUqStHhnhC/9x23FgoJJy9OB/YwG4zc2HKgr2haOOidlLw3ST3/FdJDUbi5c/gU+BL6is40OlZzWWDQX/sVjRNyYF9OP9licQ65cdsoHfEn3z1sITiqlgPYxcPUByOWJIJrSLaApScotP9hHqqxIIm59TRwijJi4NFwKc6ou6FFJU=",
|
291
|
+
"type": "ssh-rsa"
|
292
|
+
}
|
293
|
+
},
|
294
|
+
"system_uptime": {
|
295
|
+
"days": 0,
|
296
|
+
"hours": 23,
|
297
|
+
"seconds": 83681,
|
298
|
+
"uptime": "23:14 hours"
|
299
|
+
},
|
300
|
+
"timezone": "EDT",
|
301
|
+
"virtual": "physical"
|
302
|
+
}
|