facterdb 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -5
- data/README.md +9 -4
- data/Rakefile +16 -4
- data/facterdb.gemspec +1 -1
- data/facts/1.6/amazon-2-x86_64.facts +53 -0
- data/facts/1.6/amazon-2016-x86_64.facts +62 -0
- data/facts/1.7/amazon-2-x86_64.facts +76 -0
- data/facts/1.7/amazon-2016-x86_64.facts +78 -0
- data/facts/2.0/amazon-2-x86_64.facts +77 -0
- data/facts/2.0/amazon-2016-x86_64.facts +79 -0
- data/facts/2.1/amazon-2-x86_64.facts +90 -0
- data/facts/2.1/amazon-2016-x86_64.facts +90 -0
- data/facts/2.2/amazon-2-x86_64.facts +106 -0
- data/facts/2.2/amazon-2016-x86_64.facts +113 -0
- data/facts/2.3/amazon-2-x86_64.facts +107 -0
- data/facts/2.3/amazon-2016-x86_64.facts +114 -0
- data/facts/2.4/amazon-2-x86_64.facts +110 -0
- data/facts/2.4/amazon-2016-x86_64.facts +117 -0
- data/facts/2.4/raspbian-9-armv6l.facts +116 -0
- data/facts/2.4/raspbian-9-armv7l.facts +116 -0
- data/facts/2.5/amazon-2-x86_64.facts +116 -0
- data/facts/2.5/amazon-2016-x86_64.facts +117 -0
- data/facts/3.0/amazon-4-x86_64.facts +123 -173
- data/facts/3.1/amazon-4-x86_64.facts +127 -177
- data/facts/3.10/amazon-2-x86_64.facts +382 -0
- data/facts/3.10/amazon-2016-x86_64.facts +324 -0
- data/facts/3.11/amazon-2-x86_64.facts +488 -0
- data/facts/3.11/amazon-2016-x86_64.facts +379 -0
- data/facts/3.11/raspbian-10-armv6l.facts +392 -0
- data/facts/3.11/raspbian-10-armv7l.facts +392 -0
- data/facts/3.11/solaris-11-i86pc.facts +647 -0
- data/facts/3.11/solaris-11-sun4v.facts +618 -0
- data/facts/3.12/amazon-2-x86_64.facts +385 -0
- data/facts/3.12/amazon-2016-x86_64.facts +327 -0
- data/facts/3.13/amazon-2-x86_64.facts +385 -0
- data/facts/3.13/amazon-2016-x86_64.facts +327 -0
- data/facts/3.13/debian-10-x86_64.facts +534 -0
- data/facts/3.14/amazon-2-x86_64.facts +385 -0
- data/facts/3.14/amazon-2016-x86_64.facts +327 -0
- data/facts/3.14/debian-10-x86_64.facts +534 -0
- data/facts/3.14/solaris-11-i86pc.facts +647 -0
- data/facts/3.14/solaris-11-sun4v.facts +618 -0
- data/facts/3.3/amazon-4-x86_64.facts +127 -177
- data/facts/3.6/amazon-2-x86_64.facts +375 -0
- data/facts/3.6/amazon-2016-x86_64.facts +317 -0
- data/facts/3.7/amazon-2-x86_64.facts +375 -0
- data/facts/3.7/amazon-2016-x86_64.facts +317 -0
- data/facts/3.8/amazon-2-x86_64.facts +375 -0
- data/facts/3.8/amazon-2016-x86_64.facts +317 -0
- data/facts/3.9/amazon-2-x86_64.facts +381 -0
- data/facts/3.9/amazon-2016-x86_64.facts +323 -0
- data/facts/Vagrantfile +14 -0
- data/facts/get_facts.sh +8 -0
- data/lib/facterdb/version.rb +1 -1
- metadata +50 -6
@@ -0,0 +1,323 @@
|
|
1
|
+
{
|
2
|
+
"aio_agent_version": "5.3.7",
|
3
|
+
"architecture": "x86_64",
|
4
|
+
"augeas": {
|
5
|
+
"version": "1.8.1"
|
6
|
+
},
|
7
|
+
"augeasversion": "1.8.1",
|
8
|
+
"bios_release_date": "12/01/2006",
|
9
|
+
"bios_vendor": "innotek GmbH",
|
10
|
+
"bios_version": "VirtualBox",
|
11
|
+
"blockdevice_sda_model": "VBOX HARDDISK",
|
12
|
+
"blockdevice_sda_size": 8589934592,
|
13
|
+
"blockdevice_sda_vendor": "ATA",
|
14
|
+
"blockdevices": "sda",
|
15
|
+
"boardmanufacturer": "Oracle Corporation",
|
16
|
+
"boardproductname": "VirtualBox",
|
17
|
+
"boardserialnumber": "0",
|
18
|
+
"chassistype": "Other",
|
19
|
+
"dhcp_servers": {
|
20
|
+
"eth0": "10.0.2.2",
|
21
|
+
"system": "10.0.2.2"
|
22
|
+
},
|
23
|
+
"disks": {
|
24
|
+
"sda": {
|
25
|
+
"model": "VBOX HARDDISK",
|
26
|
+
"size": "8.00 GiB",
|
27
|
+
"size_bytes": 8589934592,
|
28
|
+
"vendor": "ATA"
|
29
|
+
}
|
30
|
+
},
|
31
|
+
"dmi": {
|
32
|
+
"bios": {
|
33
|
+
"release_date": "12/01/2006",
|
34
|
+
"vendor": "innotek GmbH",
|
35
|
+
"version": "VirtualBox"
|
36
|
+
},
|
37
|
+
"board": {
|
38
|
+
"manufacturer": "Oracle Corporation",
|
39
|
+
"product": "VirtualBox",
|
40
|
+
"serial_number": "0"
|
41
|
+
},
|
42
|
+
"chassis": {
|
43
|
+
"type": "Other"
|
44
|
+
},
|
45
|
+
"manufacturer": "innotek GmbH",
|
46
|
+
"product": {
|
47
|
+
"name": "VirtualBox",
|
48
|
+
"serial_number": "0",
|
49
|
+
"uuid": "170E71AA-95F8-4004-B5C2-79D0352D7D23"
|
50
|
+
}
|
51
|
+
},
|
52
|
+
"domain": "example.com",
|
53
|
+
"facterversion": "3.9.6",
|
54
|
+
"filesystems": "ext3,ext4",
|
55
|
+
"fqdn": "foo.example.com",
|
56
|
+
"gid": "root",
|
57
|
+
"hardwareisa": "x86_64",
|
58
|
+
"hardwaremodel": "x86_64",
|
59
|
+
"hostname": "foo",
|
60
|
+
"hypervisors": {
|
61
|
+
"virtualbox": {
|
62
|
+
"revision": "133895",
|
63
|
+
"version": "6.0.14"
|
64
|
+
}
|
65
|
+
},
|
66
|
+
"id": "root",
|
67
|
+
"identity": {
|
68
|
+
"gid": 0,
|
69
|
+
"group": "root",
|
70
|
+
"privileged": true,
|
71
|
+
"uid": 0,
|
72
|
+
"user": "root"
|
73
|
+
},
|
74
|
+
"interfaces": "eth0,lo",
|
75
|
+
"ipaddress": "10.0.2.15",
|
76
|
+
"ipaddress6": "fe80::a00:27ff:fe24:4686",
|
77
|
+
"ipaddress6_eth0": "fe80::a00:27ff:fe24:4686",
|
78
|
+
"ipaddress6_lo": "::1",
|
79
|
+
"ipaddress_eth0": "10.0.2.15",
|
80
|
+
"ipaddress_lo": "127.0.0.1",
|
81
|
+
"is_virtual": true,
|
82
|
+
"kernel": "Linux",
|
83
|
+
"kernelmajversion": "4.4",
|
84
|
+
"kernelrelease": "4.4.44-39.55.amzn1.x86_64",
|
85
|
+
"kernelversion": "4.4.44",
|
86
|
+
"load_averages": {
|
87
|
+
"15m": 0.18,
|
88
|
+
"1m": 0.62,
|
89
|
+
"5m": 0.42
|
90
|
+
},
|
91
|
+
"macaddress": "08:00:27:24:46:86",
|
92
|
+
"macaddress_eth0": "08:00:27:24:46:86",
|
93
|
+
"manufacturer": "innotek GmbH",
|
94
|
+
"memory": {
|
95
|
+
"system": {
|
96
|
+
"available": "879.06 MiB",
|
97
|
+
"available_bytes": 921759744,
|
98
|
+
"capacity": "11.82%",
|
99
|
+
"total": "996.94 MiB",
|
100
|
+
"total_bytes": 1045364736,
|
101
|
+
"used": "117.88 MiB",
|
102
|
+
"used_bytes": 123604992
|
103
|
+
}
|
104
|
+
},
|
105
|
+
"memoryfree": "879.06 MiB",
|
106
|
+
"memoryfree_mb": 879.05859375,
|
107
|
+
"memorysize": "996.94 MiB",
|
108
|
+
"memorysize_mb": 996.9375,
|
109
|
+
"mountpoints": {
|
110
|
+
"/": {
|
111
|
+
"available": "6.17 GiB",
|
112
|
+
"available_bytes": 6626181120,
|
113
|
+
"capacity": "20.35%",
|
114
|
+
"device": "/dev/sda1",
|
115
|
+
"filesystem": "ext4",
|
116
|
+
"options": [
|
117
|
+
"rw",
|
118
|
+
"noatime",
|
119
|
+
"data=ordered"
|
120
|
+
],
|
121
|
+
"size": "7.75 GiB",
|
122
|
+
"size_bytes": 8318783488,
|
123
|
+
"used": "1.58 GiB",
|
124
|
+
"used_bytes": 1692602368
|
125
|
+
},
|
126
|
+
"/dev/shm": {
|
127
|
+
"available": "498.47 MiB",
|
128
|
+
"available_bytes": 522682368,
|
129
|
+
"capacity": "0%",
|
130
|
+
"device": "tmpfs",
|
131
|
+
"filesystem": "tmpfs",
|
132
|
+
"options": [
|
133
|
+
"rw",
|
134
|
+
"relatime"
|
135
|
+
],
|
136
|
+
"size": "498.47 MiB",
|
137
|
+
"size_bytes": 522682368,
|
138
|
+
"used": "0 bytes",
|
139
|
+
"used_bytes": 0
|
140
|
+
}
|
141
|
+
},
|
142
|
+
"mtu_eth0": 1500,
|
143
|
+
"mtu_lo": 65536,
|
144
|
+
"netmask": "255.255.255.0",
|
145
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
146
|
+
"netmask6_eth0": "ffff:ffff:ffff:ffff::",
|
147
|
+
"netmask6_lo": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
148
|
+
"netmask_eth0": "255.255.255.0",
|
149
|
+
"netmask_lo": "255.0.0.0",
|
150
|
+
"network": "10.0.2.0",
|
151
|
+
"network6": "fe80::",
|
152
|
+
"network6_eth0": "fe80::",
|
153
|
+
"network6_lo": "::1",
|
154
|
+
"network_eth0": "10.0.2.0",
|
155
|
+
"network_lo": "127.0.0.0",
|
156
|
+
"networking": {
|
157
|
+
"dhcp": "10.0.2.2",
|
158
|
+
"domain": "example.com",
|
159
|
+
"fqdn": "foo.example.com",
|
160
|
+
"hostname": "foo",
|
161
|
+
"interfaces": {
|
162
|
+
"eth0": {
|
163
|
+
"bindings": [
|
164
|
+
{
|
165
|
+
"address": "10.0.2.15",
|
166
|
+
"netmask": "255.255.255.0",
|
167
|
+
"network": "10.0.2.0"
|
168
|
+
}
|
169
|
+
],
|
170
|
+
"bindings6": [
|
171
|
+
{
|
172
|
+
"address": "fe80::a00:27ff:fe24:4686",
|
173
|
+
"netmask": "ffff:ffff:ffff:ffff::",
|
174
|
+
"network": "fe80::"
|
175
|
+
}
|
176
|
+
],
|
177
|
+
"dhcp": "10.0.2.2",
|
178
|
+
"ip": "10.0.2.15",
|
179
|
+
"ip6": "fe80::a00:27ff:fe24:4686",
|
180
|
+
"mac": "08:00:27:24:46:86",
|
181
|
+
"mtu": 1500,
|
182
|
+
"netmask": "255.255.255.0",
|
183
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
184
|
+
"network": "10.0.2.0",
|
185
|
+
"network6": "fe80::"
|
186
|
+
},
|
187
|
+
"lo": {
|
188
|
+
"bindings": [
|
189
|
+
{
|
190
|
+
"address": "127.0.0.1",
|
191
|
+
"netmask": "255.0.0.0",
|
192
|
+
"network": "127.0.0.0"
|
193
|
+
}
|
194
|
+
],
|
195
|
+
"bindings6": [
|
196
|
+
{
|
197
|
+
"address": "::1",
|
198
|
+
"netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
199
|
+
"network": "::1"
|
200
|
+
}
|
201
|
+
],
|
202
|
+
"ip": "127.0.0.1",
|
203
|
+
"ip6": "::1",
|
204
|
+
"mtu": 65536,
|
205
|
+
"netmask": "255.0.0.0",
|
206
|
+
"netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
|
207
|
+
"network": "127.0.0.0",
|
208
|
+
"network6": "::1"
|
209
|
+
}
|
210
|
+
},
|
211
|
+
"ip": "10.0.2.15",
|
212
|
+
"ip6": "fe80::a00:27ff:fe24:4686",
|
213
|
+
"mac": "08:00:27:24:46:86",
|
214
|
+
"mtu": 1500,
|
215
|
+
"netmask": "255.255.255.0",
|
216
|
+
"netmask6": "ffff:ffff:ffff:ffff::",
|
217
|
+
"network": "10.0.2.0",
|
218
|
+
"network6": "fe80::",
|
219
|
+
"primary": "eth0"
|
220
|
+
},
|
221
|
+
"operatingsystem": "Amazon",
|
222
|
+
"operatingsystemmajrelease": "2016",
|
223
|
+
"operatingsystemrelease": "2016.09",
|
224
|
+
"os": {
|
225
|
+
"architecture": "x86_64",
|
226
|
+
"family": "RedHat",
|
227
|
+
"hardware": "x86_64",
|
228
|
+
"name": "Amazon",
|
229
|
+
"release": {
|
230
|
+
"full": "2016.09",
|
231
|
+
"major": "2016",
|
232
|
+
"minor": "09"
|
233
|
+
},
|
234
|
+
"selinux": {
|
235
|
+
"enabled": false
|
236
|
+
}
|
237
|
+
},
|
238
|
+
"osfamily": "RedHat",
|
239
|
+
"partitions": {
|
240
|
+
"/dev/sda1": {
|
241
|
+
"filesystem": "ext4",
|
242
|
+
"label": "/",
|
243
|
+
"mount": "/",
|
244
|
+
"partlabel": "Linux",
|
245
|
+
"partuuid": "5f8b9a22-14e2-467d-88a0-89b19021a1c7",
|
246
|
+
"size": "8.00 GiB",
|
247
|
+
"size_bytes": 8587820544,
|
248
|
+
"uuid": "84ecb40c-7e79-497a-9181-82a14c108b3b"
|
249
|
+
},
|
250
|
+
"/dev/sda128": {
|
251
|
+
"partlabel": "BIOS Boot Partition",
|
252
|
+
"partuuid": "d9d3c309-5ba9-49d4-a702-4d81b7df239e",
|
253
|
+
"size": "1.00 MiB",
|
254
|
+
"size_bytes": 1048576
|
255
|
+
}
|
256
|
+
},
|
257
|
+
"path": "/opt/puppetlabs/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin:/root/bin",
|
258
|
+
"physicalprocessorcount": 1,
|
259
|
+
"processor0": "Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz",
|
260
|
+
"processorcount": 1,
|
261
|
+
"processors": {
|
262
|
+
"count": 1,
|
263
|
+
"isa": "x86_64",
|
264
|
+
"models": [
|
265
|
+
"Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz"
|
266
|
+
],
|
267
|
+
"physicalcount": 1
|
268
|
+
},
|
269
|
+
"productname": "VirtualBox",
|
270
|
+
"puppetversion": "5.3.7",
|
271
|
+
"ruby": {
|
272
|
+
"platform": "x86_64-linux",
|
273
|
+
"sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.4.0",
|
274
|
+
"version": "2.4.4"
|
275
|
+
},
|
276
|
+
"rubyplatform": "x86_64-linux",
|
277
|
+
"rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.4.0",
|
278
|
+
"rubyversion": "2.4.4",
|
279
|
+
"selinux": false,
|
280
|
+
"serialnumber": "0",
|
281
|
+
"ssh": {
|
282
|
+
"ecdsa": {
|
283
|
+
"fingerprints": {
|
284
|
+
"sha1": "SSHFP 3 1 f7209576950731ce607d529e7fad5798f39e3c79",
|
285
|
+
"sha256": "SSHFP 3 2 dc50a6f0c262a3e650301b904db34834e9c6733b78c44da6d971c7a64051a7f4"
|
286
|
+
},
|
287
|
+
"key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIl9DhX/TT6XkAxp7ROAIP8/67ycpIo7t0+NSP4f0FJy9W2Ifj8m+l0i6zxMATRSOmgDNI+PL/TtLLWRZQ/VbQk="
|
288
|
+
},
|
289
|
+
"ed25519": {
|
290
|
+
"fingerprints": {
|
291
|
+
"sha1": "SSHFP 4 1 6be19cdb6a3bb6cf184b2eab1f538b4da090d8e6",
|
292
|
+
"sha256": "SSHFP 4 2 20421f8d892a4b5aca7f917af3caae21e57c98bacb5746a974705e0dfe9e58fc"
|
293
|
+
},
|
294
|
+
"key": "AAAAC3NzaC1lZDI1NTE5AAAAIBOrX7JImKM57m5n0t3ll23Lb9Dmh4UiPE9ANkViu0y4"
|
295
|
+
},
|
296
|
+
"rsa": {
|
297
|
+
"fingerprints": {
|
298
|
+
"sha1": "SSHFP 1 1 62609e9683ca74c4076fbc583047df10f3d889ea",
|
299
|
+
"sha256": "SSHFP 1 2 aeb4e2c9242e3a2bbc81cc5718b38f3ca97fda038f7fe436278389d40536e066"
|
300
|
+
},
|
301
|
+
"key": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDZ1lqGL2XwHIZ9fAJbcht6kKAthGOPsz5aC5sM1QP+mY3ouLB5jrwSpQcV51KvIl30IHu3Rp/Jrl06TpN9nw2kZnSMV0dY1k24ujEwF0CpL4STuv9AHkjD0tUFOa1BqmUukLYFKz2cZroUkFO9GZ4l/Z1EZGquQt37x+q0rq45IKlcoWyttLYFmX6zQhK7ICwnrjfTNXs8ID8g0NEFSne1AoDrHa3QjY/Epa5QVQpEOvJ/hrS5yJ2wYp7Rlg3uR4J+sA/Dpn6UCYC/xlj/aXcl90HPORlIy50gLpzLj55fcH6rTIMcLp5hl5gVyr5lygk+Ep5FiuYBMUPzCeCQ6o0v"
|
302
|
+
}
|
303
|
+
},
|
304
|
+
"sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIl9DhX/TT6XkAxp7ROAIP8/67ycpIo7t0+NSP4f0FJy9W2Ifj8m+l0i6zxMATRSOmgDNI+PL/TtLLWRZQ/VbQk=",
|
305
|
+
"sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIBOrX7JImKM57m5n0t3ll23Lb9Dmh4UiPE9ANkViu0y4",
|
306
|
+
"sshfp_ecdsa": "SSHFP 3 1 f7209576950731ce607d529e7fad5798f39e3c79\nSSHFP 3 2 dc50a6f0c262a3e650301b904db34834e9c6733b78c44da6d971c7a64051a7f4",
|
307
|
+
"sshfp_ed25519": "SSHFP 4 1 6be19cdb6a3bb6cf184b2eab1f538b4da090d8e6\nSSHFP 4 2 20421f8d892a4b5aca7f917af3caae21e57c98bacb5746a974705e0dfe9e58fc",
|
308
|
+
"sshfp_rsa": "SSHFP 1 1 62609e9683ca74c4076fbc583047df10f3d889ea\nSSHFP 1 2 aeb4e2c9242e3a2bbc81cc5718b38f3ca97fda038f7fe436278389d40536e066",
|
309
|
+
"sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDZ1lqGL2XwHIZ9fAJbcht6kKAthGOPsz5aC5sM1QP+mY3ouLB5jrwSpQcV51KvIl30IHu3Rp/Jrl06TpN9nw2kZnSMV0dY1k24ujEwF0CpL4STuv9AHkjD0tUFOa1BqmUukLYFKz2cZroUkFO9GZ4l/Z1EZGquQt37x+q0rq45IKlcoWyttLYFmX6zQhK7ICwnrjfTNXs8ID8g0NEFSne1AoDrHa3QjY/Epa5QVQpEOvJ/hrS5yJ2wYp7Rlg3uR4J+sA/Dpn6UCYC/xlj/aXcl90HPORlIy50gLpzLj55fcH6rTIMcLp5hl5gVyr5lygk+Ep5FiuYBMUPzCeCQ6o0v",
|
310
|
+
"system_uptime": {
|
311
|
+
"days": 0,
|
312
|
+
"hours": 0,
|
313
|
+
"seconds": 198,
|
314
|
+
"uptime": "0:03 hours"
|
315
|
+
},
|
316
|
+
"timezone": "UTC",
|
317
|
+
"uptime": "0:03 hours",
|
318
|
+
"uptime_days": 0,
|
319
|
+
"uptime_hours": 0,
|
320
|
+
"uptime_seconds": 198,
|
321
|
+
"uuid": "170E71AA-95F8-4004-B5C2-79D0352D7D23",
|
322
|
+
"virtual": "virtualbox"
|
323
|
+
}
|
data/facts/Vagrantfile
CHANGED
@@ -410,4 +410,18 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
410
410
|
host.vm.provision 'shell', path: "windows_get_facts.ps1"
|
411
411
|
host.vm.provision 'shell', inline: "shutdown -s -f -c \"Fact Collection Complete\""
|
412
412
|
end
|
413
|
+
config.vm.define "amazonlinux-2-x86_64" do |host|
|
414
|
+
host.vm.box = "bento/amazonlinux-2"
|
415
|
+
host.vm.provision "shell", inline: "yum -y install gcc glibc-devel"
|
416
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
417
|
+
host.vm.provision "shell", path: "get_facts.sh"
|
418
|
+
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
419
|
+
end
|
420
|
+
config.vm.define "amazonlinux-1-x86_64" do |host|
|
421
|
+
host.vm.box = "spscommerce/amazonlinux"
|
422
|
+
host.vm.provision "shell", inline: "yum -y install gcc glibc-devel"
|
423
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
424
|
+
host.vm.provision "shell", path: "get_facts.sh"
|
425
|
+
host.vm.provision "shell", inline: "/sbin/shutdown -h now"
|
426
|
+
end
|
413
427
|
end
|
data/facts/get_facts.sh
CHANGED
@@ -46,6 +46,14 @@ elif test -f '/usr/bin/pacman'; then
|
|
46
46
|
osfamily='Archlinux'
|
47
47
|
elif test -f '/etc/gentoo-release'; then
|
48
48
|
osfamily='Gentoo'
|
49
|
+
elif test -f '/etc/os-release' && grep -q 'Amazon' '/etc/os-release'; then
|
50
|
+
osfamily='RedHat'
|
51
|
+
operatingsystemmajrelease=$(rpm -qf /etc/os-release --queryformat '%{version}' | cut -f1 -d'.')
|
52
|
+
if [[ $operatingsystemmajrelease -eq 2 ]]; then
|
53
|
+
operatingsystemmajrelease='7'
|
54
|
+
else
|
55
|
+
operatingsystemmajrelease='6'
|
56
|
+
fi
|
49
57
|
else
|
50
58
|
osfamily=$(uname)
|
51
59
|
fi
|
data/lib/facterdb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facterdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mickaël Canévet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coveralls
|
@@ -90,16 +90,16 @@ dependencies:
|
|
90
90
|
name: facter
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
|
-
- - "
|
93
|
+
- - "<"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version:
|
95
|
+
version: 4.0.0
|
96
96
|
type: :runtime
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
|
-
- - "
|
100
|
+
- - "<"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version:
|
102
|
+
version: 4.0.0
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: jgrep
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -133,6 +133,8 @@ files:
|
|
133
133
|
- Rakefile
|
134
134
|
- bin/facterdb
|
135
135
|
- facterdb.gemspec
|
136
|
+
- facts/1.6/amazon-2-x86_64.facts
|
137
|
+
- facts/1.6/amazon-2016-x86_64.facts
|
136
138
|
- facts/1.6/amazon-2017-x86_64.facts
|
137
139
|
- facts/1.6/archlinux-i386.facts
|
138
140
|
- facts/1.6/archlinux-x86_64.facts
|
@@ -224,6 +226,8 @@ files:
|
|
224
226
|
- facts/1.6/ubuntu-16.04-x86_64.facts
|
225
227
|
- facts/1.6/ubuntu-18.04-aarch64.facts
|
226
228
|
- facts/1.6/ubuntu-18.04-x86_64.facts
|
229
|
+
- facts/1.7/amazon-2-x86_64.facts
|
230
|
+
- facts/1.7/amazon-2016-x86_64.facts
|
227
231
|
- facts/1.7/amazon-2017-x86_64.facts
|
228
232
|
- facts/1.7/archlinux-i386.facts
|
229
233
|
- facts/1.7/archlinux-x86_64.facts
|
@@ -316,6 +320,8 @@ files:
|
|
316
320
|
- facts/1.7/ubuntu-16.04-x86_64.facts
|
317
321
|
- facts/1.7/ubuntu-18.04-aarch64.facts
|
318
322
|
- facts/1.7/ubuntu-18.04-x86_64.facts
|
323
|
+
- facts/2.0/amazon-2-x86_64.facts
|
324
|
+
- facts/2.0/amazon-2016-x86_64.facts
|
319
325
|
- facts/2.0/amazon-2017-x86_64.facts
|
320
326
|
- facts/2.0/archlinux-i386.facts
|
321
327
|
- facts/2.0/archlinux-x86_64.facts
|
@@ -424,6 +430,8 @@ files:
|
|
424
430
|
- facts/2.0/ubuntu-16.04-x86_64.facts
|
425
431
|
- facts/2.0/ubuntu-18.04-aarch64.facts
|
426
432
|
- facts/2.0/ubuntu-18.04-x86_64.facts
|
433
|
+
- facts/2.1/amazon-2-x86_64.facts
|
434
|
+
- facts/2.1/amazon-2016-x86_64.facts
|
427
435
|
- facts/2.1/amazon-2017-x86_64.facts
|
428
436
|
- facts/2.1/archlinux-i386.facts
|
429
437
|
- facts/2.1/archlinux-x86_64.facts
|
@@ -542,6 +550,8 @@ files:
|
|
542
550
|
- facts/2.1/windows-2016-x86_64.facts
|
543
551
|
- facts/2.1/windows-7-x86_64.facts
|
544
552
|
- facts/2.1/windows-8.1-x86_64.facts
|
553
|
+
- facts/2.2/amazon-2-x86_64.facts
|
554
|
+
- facts/2.2/amazon-2016-x86_64.facts
|
545
555
|
- facts/2.2/amazon-2017-x86_64.facts
|
546
556
|
- facts/2.2/archlinux-i386.facts
|
547
557
|
- facts/2.2/archlinux-x86_64.facts
|
@@ -660,6 +670,8 @@ files:
|
|
660
670
|
- facts/2.2/windows-2016-x86_64.facts
|
661
671
|
- facts/2.2/windows-7-x86_64.facts
|
662
672
|
- facts/2.2/windows-8.1-x86_64.facts
|
673
|
+
- facts/2.3/amazon-2-x86_64.facts
|
674
|
+
- facts/2.3/amazon-2016-x86_64.facts
|
663
675
|
- facts/2.3/amazon-2017-x86_64.facts
|
664
676
|
- facts/2.3/archlinux-i386.facts
|
665
677
|
- facts/2.3/archlinux-x86_64.facts
|
@@ -779,6 +791,8 @@ files:
|
|
779
791
|
- facts/2.3/windows-2016-x86_64.facts
|
780
792
|
- facts/2.3/windows-7-x86_64.facts
|
781
793
|
- facts/2.3/windows-8.1-x86_64.facts
|
794
|
+
- facts/2.4/amazon-2-x86_64.facts
|
795
|
+
- facts/2.4/amazon-2016-x86_64.facts
|
782
796
|
- facts/2.4/amazon-2017-x86_64.facts
|
783
797
|
- facts/2.4/archlinux-i386.facts
|
784
798
|
- facts/2.4/archlinux-x86_64.facts
|
@@ -853,6 +867,8 @@ files:
|
|
853
867
|
- facts/2.4/oraclelinux-6-x86_64.facts
|
854
868
|
- facts/2.4/oraclelinux-7-i386.facts
|
855
869
|
- facts/2.4/oraclelinux-7-x86_64.facts
|
870
|
+
- facts/2.4/raspbian-9-armv6l.facts
|
871
|
+
- facts/2.4/raspbian-9-armv7l.facts
|
856
872
|
- facts/2.4/redhat-5-i386.facts
|
857
873
|
- facts/2.4/redhat-5-x86_64.facts
|
858
874
|
- facts/2.4/redhat-6-i386.facts
|
@@ -900,6 +916,8 @@ files:
|
|
900
916
|
- facts/2.4/windows-7-x64.facts
|
901
917
|
- facts/2.4/windows-7-x86_64.facts
|
902
918
|
- facts/2.4/windows-8.1-x86_64.facts
|
919
|
+
- facts/2.5/amazon-2-x86_64.facts
|
920
|
+
- facts/2.5/amazon-2016-x86_64.facts
|
903
921
|
- facts/2.5/archlinux-x86_64.facts
|
904
922
|
- facts/2.5/centos-5-i386.facts
|
905
923
|
- facts/2.5/centos-5-x86_64.facts
|
@@ -1089,6 +1107,8 @@ files:
|
|
1089
1107
|
- facts/3.1/windows-7-i386.facts
|
1090
1108
|
- facts/3.1/windows-7-x86_64.facts
|
1091
1109
|
- facts/3.1/windows-8.1-x86_64.facts
|
1110
|
+
- facts/3.10/amazon-2-x86_64.facts
|
1111
|
+
- facts/3.10/amazon-2016-x86_64.facts
|
1092
1112
|
- facts/3.10/archlinux-x86_64.facts
|
1093
1113
|
- facts/3.10/centos-5-i386.facts
|
1094
1114
|
- facts/3.10/centos-5-x86_64.facts
|
@@ -1132,6 +1152,8 @@ files:
|
|
1132
1152
|
- facts/3.10/windows-2012-x86_64.facts
|
1133
1153
|
- facts/3.10/windows-2016-x86_64.facts
|
1134
1154
|
- facts/3.10/windows-2019-x86_64.facts
|
1155
|
+
- facts/3.11/amazon-2-x86_64.facts
|
1156
|
+
- facts/3.11/amazon-2016-x86_64.facts
|
1135
1157
|
- facts/3.11/archlinux-x86_64.facts
|
1136
1158
|
- facts/3.11/centos-5-i386.facts
|
1137
1159
|
- facts/3.11/centos-5-x86_64.facts
|
@@ -1162,6 +1184,8 @@ files:
|
|
1162
1184
|
- facts/3.11/oraclelinux-6-x86_64.facts
|
1163
1185
|
- facts/3.11/oraclelinux-7-i386.facts
|
1164
1186
|
- facts/3.11/oraclelinux-7-x86_64.facts
|
1187
|
+
- facts/3.11/raspbian-10-armv6l.facts
|
1188
|
+
- facts/3.11/raspbian-10-armv7l.facts
|
1165
1189
|
- facts/3.11/redhat-5-i386.facts
|
1166
1190
|
- facts/3.11/redhat-5-x86_64.facts
|
1167
1191
|
- facts/3.11/redhat-6-i386.facts
|
@@ -1180,6 +1204,8 @@ files:
|
|
1180
1204
|
- facts/3.11/sles-12-x86_64.facts
|
1181
1205
|
- facts/3.11/sles-15-x86_64.facts
|
1182
1206
|
- facts/3.11/solaris-10-i86pc.facts
|
1207
|
+
- facts/3.11/solaris-11-i86pc.facts
|
1208
|
+
- facts/3.11/solaris-11-sun4v.facts
|
1183
1209
|
- facts/3.11/ubuntu-14.04-x86_64.facts
|
1184
1210
|
- facts/3.11/ubuntu-16.04-x86_64.facts
|
1185
1211
|
- facts/3.11/ubuntu-18.04-x86_64.facts
|
@@ -1190,6 +1216,8 @@ files:
|
|
1190
1216
|
- facts/3.11/windows-2012-x86_64.facts
|
1191
1217
|
- facts/3.11/windows-2016-x86_64.facts
|
1192
1218
|
- facts/3.11/windows-2019-x86_64.facts
|
1219
|
+
- facts/3.12/amazon-2-x86_64.facts
|
1220
|
+
- facts/3.12/amazon-2016-x86_64.facts
|
1193
1221
|
- facts/3.12/archlinux-x86_64.facts
|
1194
1222
|
- facts/3.12/centos-6-x86_64.facts
|
1195
1223
|
- facts/3.12/centos-7-x86_64.facts
|
@@ -1225,6 +1253,8 @@ files:
|
|
1225
1253
|
- facts/3.12/windows-2012-x86_64.facts
|
1226
1254
|
- facts/3.12/windows-2016-x86_64.facts
|
1227
1255
|
- facts/3.12/windows-2019-x86_64.facts
|
1256
|
+
- facts/3.13/amazon-2-x86_64.facts
|
1257
|
+
- facts/3.13/amazon-2016-x86_64.facts
|
1228
1258
|
- facts/3.13/archlinux-x86_64.facts
|
1229
1259
|
- facts/3.13/centos-6-x86_64.facts
|
1230
1260
|
- facts/3.13/centos-7-x86_64.facts
|
@@ -1232,6 +1262,7 @@ files:
|
|
1232
1262
|
- facts/3.13/darwin-16-x86_64.facts
|
1233
1263
|
- facts/3.13/darwin-17-x86_64.facts
|
1234
1264
|
- facts/3.13/darwin-18-x86_64.facts
|
1265
|
+
- facts/3.13/debian-10-x86_64.facts
|
1235
1266
|
- facts/3.13/debian-8-x86_64.facts
|
1236
1267
|
- facts/3.13/debian-9-x86_64.facts
|
1237
1268
|
- facts/3.13/fedora-28-x86_64.facts
|
@@ -1261,6 +1292,8 @@ files:
|
|
1261
1292
|
- facts/3.13/windows-2016-x86_64.facts
|
1262
1293
|
- facts/3.13/windows-2019-x86_64.facts
|
1263
1294
|
- facts/3.14/VirtuozzoLinux-7-x86_64.facts
|
1295
|
+
- facts/3.14/amazon-2-x86_64.facts
|
1296
|
+
- facts/3.14/amazon-2016-x86_64.facts
|
1264
1297
|
- facts/3.14/archlinux-x86_64.facts
|
1265
1298
|
- facts/3.14/centos-6-x86_64.facts
|
1266
1299
|
- facts/3.14/centos-7-x86_64.facts
|
@@ -1268,6 +1301,7 @@ files:
|
|
1268
1301
|
- facts/3.14/darwin-16-x86_64.facts
|
1269
1302
|
- facts/3.14/darwin-17-x86_64.facts
|
1270
1303
|
- facts/3.14/darwin-18-x86_64.facts
|
1304
|
+
- facts/3.14/debian-10-x86_64.facts
|
1271
1305
|
- facts/3.14/debian-8-x86_64.facts
|
1272
1306
|
- facts/3.14/debian-9-x86_64.facts
|
1273
1307
|
- facts/3.14/fedora-28-x86_64.facts
|
@@ -1288,6 +1322,8 @@ files:
|
|
1288
1322
|
- facts/3.14/sles-11-x86_64.facts
|
1289
1323
|
- facts/3.14/sles-12-x86_64.facts
|
1290
1324
|
- facts/3.14/sles-15-x86_64.facts
|
1325
|
+
- facts/3.14/solaris-11-i86pc.facts
|
1326
|
+
- facts/3.14/solaris-11-sun4v.facts
|
1291
1327
|
- facts/3.14/ubuntu-14.04-x86_64.facts
|
1292
1328
|
- facts/3.14/ubuntu-16.04-x86_64.facts
|
1293
1329
|
- facts/3.14/ubuntu-18.04-x86_64.facts
|
@@ -1458,6 +1494,8 @@ files:
|
|
1458
1494
|
- facts/3.5/windows-2019-x86_64.facts
|
1459
1495
|
- facts/3.5/windows-7-x86_64.facts
|
1460
1496
|
- facts/3.5/windows-8.1-x86_64.facts
|
1497
|
+
- facts/3.6/amazon-2-x86_64.facts
|
1498
|
+
- facts/3.6/amazon-2016-x86_64.facts
|
1461
1499
|
- facts/3.6/amazon-2017-x86_64.facts
|
1462
1500
|
- facts/3.6/centos-5-i386.facts
|
1463
1501
|
- facts/3.6/centos-5-x86_64.facts
|
@@ -1517,6 +1555,8 @@ files:
|
|
1517
1555
|
- facts/3.6/windows-2019-x86_64.facts
|
1518
1556
|
- facts/3.6/windows-7-x86_64.facts
|
1519
1557
|
- facts/3.6/windows-8.1-x86_64.facts
|
1558
|
+
- facts/3.7/amazon-2-x86_64.facts
|
1559
|
+
- facts/3.7/amazon-2016-x86_64.facts
|
1520
1560
|
- facts/3.7/centos-5-i386.facts
|
1521
1561
|
- facts/3.7/centos-5-x86_64.facts
|
1522
1562
|
- facts/3.7/centos-6-i386.facts
|
@@ -1568,6 +1608,8 @@ files:
|
|
1568
1608
|
- facts/3.7/windows-2019-x86_64.facts
|
1569
1609
|
- facts/3.7/windows-7-x86_64.facts
|
1570
1610
|
- facts/3.7/windows-8.1-x86_64.facts
|
1611
|
+
- facts/3.8/amazon-2-x86_64.facts
|
1612
|
+
- facts/3.8/amazon-2016-x86_64.facts
|
1571
1613
|
- facts/3.8/centos-5-i386.facts
|
1572
1614
|
- facts/3.8/centos-5-x86_64.facts
|
1573
1615
|
- facts/3.8/centos-6-i386.facts
|
@@ -1622,6 +1664,8 @@ files:
|
|
1622
1664
|
- facts/3.8/windows-7-x86_64.facts
|
1623
1665
|
- facts/3.8/windows-8.1-x86_64.facts
|
1624
1666
|
- facts/3.9/aix-7.1-power.facts
|
1667
|
+
- facts/3.9/amazon-2-x86_64.facts
|
1668
|
+
- facts/3.9/amazon-2016-x86_64.facts
|
1625
1669
|
- facts/3.9/archlinux-x86_64.facts
|
1626
1670
|
- facts/3.9/centos-5-i386.facts
|
1627
1671
|
- facts/3.9/centos-5-x86_64.facts
|