facterdb 1.7.0 → 1.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release.yml +3 -2
  3. data/.github/workflows/test.yml +2 -0
  4. data/CHANGELOG.md +51 -0
  5. data/README.md +100 -94
  6. data/Rakefile +6 -1
  7. data/facts/1.6/debian-11-x86_64.facts +57 -0
  8. data/facts/1.6/freebsd-13-x86_64.facts +51 -0
  9. data/facts/1.6/oraclelinux-8-x86_64.facts +59 -0
  10. data/facts/1.7/centos-9-x86_64.facts +82 -0
  11. data/facts/1.7/debian-11-x86_64.facts +74 -0
  12. data/facts/1.7/freebsd-13-x86_64.facts +69 -0
  13. data/facts/1.7/oraclelinux-8-x86_64.facts +82 -0
  14. data/facts/2.0/centos-9-x86_64.facts +82 -0
  15. data/facts/2.0/debian-11-x86_64.facts +76 -0
  16. data/facts/2.0/freebsd-13-x86_64.facts +70 -0
  17. data/facts/2.0/oraclelinux-8-x86_64.facts +82 -0
  18. data/facts/2.1/centos-9-x86_64.facts +112 -0
  19. data/facts/2.1/debian-11-x86_64.facts +84 -0
  20. data/facts/2.1/freebsd-13-x86_64.facts +70 -0
  21. data/facts/2.1/oraclelinux-8-x86_64.facts +92 -0
  22. data/facts/2.2/centos-9-x86_64.facts +137 -0
  23. data/facts/2.2/debian-11-x86_64.facts +115 -0
  24. data/facts/2.2/freebsd-13-x86_64.facts +91 -0
  25. data/facts/2.2/oraclelinux-8-x86_64.facts +115 -0
  26. data/facts/2.3/centos-9-x86_64.facts +138 -0
  27. data/facts/2.3/debian-11-x86_64.facts +116 -0
  28. data/facts/2.3/freebsd-13-x86_64.facts +92 -0
  29. data/facts/2.3/oraclelinux-8-x86_64.facts +143 -0
  30. data/facts/2.4/centos-9-x86_64.facts +139 -0
  31. data/facts/2.4/debian-11-x86_64.facts +118 -0
  32. data/facts/2.4/freebsd-13-x86_64.facts +92 -0
  33. data/facts/2.4/oraclelinux-8-x86_64.facts +160 -0
  34. data/facts/2.5/debian-11-x86_64.facts +118 -0
  35. data/facts/2.5/freebsd-13-x86_64.facts +92 -0
  36. data/facts/2.5/oraclelinux-8-x86_64.facts +160 -0
  37. data/facts/3.11/oraclelinux-8-x86_64.facts +494 -0
  38. data/facts/3.11/redhat-8-x86_64.facts +128 -127
  39. data/facts/3.11/ubuntu-18.04-x86_64.facts +216 -101
  40. data/facts/3.12/oraclelinux-8-x86_64.facts +400 -0
  41. data/facts/3.12/redhat-8-x86_64.facts +109 -105
  42. data/facts/3.13/oraclelinux-8-x86_64.facts +406 -0
  43. data/facts/3.13/redhat-8-x86_64.facts +111 -113
  44. data/facts/3.13/ubuntu-18.04-x86_64.facts +216 -101
  45. data/facts/3.14/darwin-20-x86_64.facts +516 -0
  46. data/facts/3.14/debian-11-x86_64.facts +508 -0
  47. data/facts/3.14/freebsd-11-x86_64.facts +479 -0
  48. data/facts/3.14/freebsd-12-x86_64.facts +479 -0
  49. data/facts/3.14/freebsd-13-x86_64.facts +475 -0
  50. data/facts/3.14/oraclelinux-8-x86_64.facts +406 -0
  51. data/facts/3.14/redhat-8-x86_64.facts +111 -113
  52. data/facts/3.14/rocky-8-x86_64.facts +625 -0
  53. data/facts/3.14/ubuntu-18.04-x86_64.facts +91 -91
  54. data/facts/3.14/ubuntu-20.04-x86_64.facts +138 -184
  55. data/facts/4.0/debian-11-x86_64.facts +324 -0
  56. data/facts/4.0/freebsd-11-x86_64.facts +262 -0
  57. data/facts/4.0/freebsd-12-x86_64.facts +262 -0
  58. data/facts/4.0/freebsd-13-x86_64.facts +207 -0
  59. data/facts/4.0/redhat-8-x86_64.facts +309 -0
  60. data/facts/4.0/ubuntu-18.04-x86_64.facts +331 -0
  61. data/facts/4.0/ubuntu-20.04-x86_64.facts +349 -0
  62. data/facts/4.1/debian-11-x86_64.facts +326 -0
  63. data/facts/4.1/freebsd-11-x86_64.facts +262 -0
  64. data/facts/4.1/freebsd-12-x86_64.facts +262 -0
  65. data/facts/4.1/freebsd-13-x86_64.facts +207 -0
  66. data/facts/4.1/redhat-8-x86_64.facts +311 -0
  67. data/facts/4.1/ubuntu-18.04-x86_64.facts +333 -0
  68. data/facts/4.1/ubuntu-20.04-x86_64.facts +351 -0
  69. data/facts/4.2/centos-7-x86_64.facts +593 -0
  70. data/facts/4.2/centos-8-x86_64.facts +591 -0
  71. data/facts/4.2/centos-9-x86_64.facts +291 -0
  72. data/facts/4.2/darwin-20-x86_64.facts +524 -0
  73. data/facts/4.2/debian-10-x86_64.facts +574 -0
  74. data/facts/4.2/debian-11-x86_64.facts +332 -0
  75. data/facts/4.2/debian-9-x86_64.facts +597 -0
  76. data/facts/4.2/freebsd-11-x86_64.facts +261 -0
  77. data/facts/4.2/freebsd-12-x86_64.facts +261 -0
  78. data/facts/4.2/freebsd-13-x86_64.facts +260 -0
  79. data/facts/4.2/oraclelinux-8-x86_64.facts +591 -0
  80. data/facts/4.2/redhat-8-x86_64.facts +311 -0
  81. data/facts/4.2/ubuntu-18.04-x86_64.facts +339 -0
  82. data/facts/4.2/ubuntu-20.04-x86_64.facts +357 -0
  83. data/facts/Gemfile +1 -0
  84. data/facts/Vagrantfile +19 -170
  85. data/facts/get_facts.sh +37 -19
  86. data/lib/facterdb/version.rb +1 -1
  87. data/lib/facterdb.rb +17 -2
  88. metadata +70 -2
@@ -0,0 +1,357 @@
1
+ {
2
+ "aio_agent_version": "6.24.0",
3
+ "architecture": "amd64",
4
+ "augeas": {
5
+ "version": "1.12.0"
6
+ },
7
+ "augeasversion": "1.12.0",
8
+ "bios_release_date": "12/01/2006",
9
+ "bios_vendor": "innotek GmbH",
10
+ "bios_version": "VirtualBox",
11
+ "blockdevice_sda_model": "HARDDISK",
12
+ "blockdevice_sda_size": 42949672960,
13
+ "blockdevice_sda_vendor": "VBOX",
14
+ "blockdevice_sdb_model": "HARDDISK",
15
+ "blockdevice_sdb_size": 10485760,
16
+ "blockdevice_sdb_vendor": "VBOX",
17
+ "blockdevices": "sdb,sda",
18
+ "boardmanufacturer": "Oracle Corporation",
19
+ "boardproductname": "VirtualBox",
20
+ "boardserialnumber": "0",
21
+ "chassistype": "Other",
22
+ "dhcp_servers": {
23
+ "enp0s3": "10.0.2.2",
24
+ "system": "10.0.2.2"
25
+ },
26
+ "disks": {
27
+ "sda": {
28
+ "model": "HARDDISK",
29
+ "size": "40.00 GiB",
30
+ "size_bytes": 42949672960,
31
+ "type": "hdd",
32
+ "vendor": "VBOX"
33
+ },
34
+ "sdb": {
35
+ "model": "HARDDISK",
36
+ "size": "10.00 MiB",
37
+ "size_bytes": 10485760,
38
+ "type": "hdd",
39
+ "vendor": "VBOX"
40
+ }
41
+ },
42
+ "dmi": {
43
+ "bios": {
44
+ "release_date": "12/01/2006",
45
+ "vendor": "innotek GmbH",
46
+ "version": "VirtualBox"
47
+ },
48
+ "board": {
49
+ "manufacturer": "Oracle Corporation",
50
+ "product": "VirtualBox",
51
+ "serial_number": "0"
52
+ },
53
+ "chassis": {
54
+ "type": "Other"
55
+ },
56
+ "manufacturer": "innotek GmbH",
57
+ "product": {
58
+ "name": "VirtualBox",
59
+ "serial_number": "0",
60
+ "uuid": "8e321ecb-8285-8442-b783-3004236f0174"
61
+ }
62
+ },
63
+ "domain": "example.com",
64
+ "facterversion": "4.2.5",
65
+ "filesystems": "btrfs,ext2,ext3,ext4,iso9660,squashfs,vfat",
66
+ "fips_enabled": false,
67
+ "fqdn": "foo.example.com",
68
+ "gem_version": "~> 4.2.0",
69
+ "gid": "root",
70
+ "hardwareisa": "x86_64",
71
+ "hardwaremodel": "x86_64",
72
+ "hostname": "foo",
73
+ "hypervisors": {
74
+ "virtualbox": {
75
+ "revision": "145957",
76
+ "version": "6.1.26"
77
+ }
78
+ },
79
+ "id": "root",
80
+ "identity": {
81
+ "gid": 0,
82
+ "group": "root",
83
+ "privileged": true,
84
+ "uid": 0,
85
+ "user": "root"
86
+ },
87
+ "interfaces": "enp0s3,lo",
88
+ "ipaddress": "10.0.2.15",
89
+ "ipaddress6": "fe80::46:98ff:fed9:c9f4",
90
+ "ipaddress6_enp0s3": "fe80::46:98ff:fed9:c9f4",
91
+ "ipaddress6_lo": "::1",
92
+ "ipaddress_enp0s3": "10.0.2.15",
93
+ "ipaddress_lo": "127.0.0.1",
94
+ "is_virtual": true,
95
+ "kernel": "Linux",
96
+ "kernelmajversion": "5.4",
97
+ "kernelrelease": "5.4.0-86-generic",
98
+ "kernelversion": "5.4.0",
99
+ "load_averages": {
100
+ "15m": 0.31,
101
+ "1m": 0.99,
102
+ "5m": 0.69
103
+ },
104
+ "lsbdistcodename": "focal",
105
+ "lsbdistdescription": "Ubuntu 20.04.3 LTS",
106
+ "lsbdistid": "Ubuntu",
107
+ "lsbdistrelease": "20.04",
108
+ "lsbmajdistrelease": "20.04",
109
+ "macaddress": "02:46:98:d9:c9:f4",
110
+ "macaddress_enp0s3": "02:46:98:d9:c9:f4",
111
+ "manufacturer": "innotek GmbH",
112
+ "memory": {
113
+ "system": {
114
+ "available": "631.42 MiB",
115
+ "available_bytes": 662089728,
116
+ "capacity": "35.64%",
117
+ "total": "981.04 MiB",
118
+ "total_bytes": 1028689920,
119
+ "used": "349.62 MiB",
120
+ "used_bytes": 366600192
121
+ }
122
+ },
123
+ "memoryfree": "631.42 MiB",
124
+ "memoryfree_mb": 631.41796875,
125
+ "memorysize": "981.04 MiB",
126
+ "memorysize_mb": 981.03515625,
127
+ "mtu_enp0s3": 1500,
128
+ "mtu_lo": 65536,
129
+ "netmask": "255.255.255.0",
130
+ "netmask6": "ffff:ffff:ffff:ffff::",
131
+ "netmask6_enp0s3": "ffff:ffff:ffff:ffff::",
132
+ "netmask6_lo": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
133
+ "netmask_enp0s3": "255.255.255.0",
134
+ "netmask_lo": "255.0.0.0",
135
+ "network": "10.0.2.0",
136
+ "network6": "fe80::",
137
+ "network6_enp0s3": "fe80::",
138
+ "network6_lo": "::1",
139
+ "network_enp0s3": "10.0.2.0",
140
+ "network_lo": "127.0.0.0",
141
+ "networking": {
142
+ "dhcp": "10.0.2.2",
143
+ "domain": "example.com",
144
+ "fqdn": "foo.example.com",
145
+ "hostname": "foo",
146
+ "interfaces": {
147
+ "enp0s3": {
148
+ "bindings": [
149
+ {
150
+ "address": "10.0.2.15",
151
+ "netmask": "255.255.255.0",
152
+ "network": "10.0.2.0"
153
+ }
154
+ ],
155
+ "bindings6": [
156
+ {
157
+ "address": "fe80::46:98ff:fed9:c9f4",
158
+ "netmask": "ffff:ffff:ffff:ffff::",
159
+ "network": "fe80::",
160
+ "scope6": "link",
161
+ "flags": [
162
+ "permanent"
163
+ ]
164
+ }
165
+ ],
166
+ "dhcp": "10.0.2.2",
167
+ "ip": "10.0.2.15",
168
+ "ip6": "fe80::46:98ff:fed9:c9f4",
169
+ "mac": "02:46:98:d9:c9:f4",
170
+ "mtu": 1500,
171
+ "netmask": "255.255.255.0",
172
+ "netmask6": "ffff:ffff:ffff:ffff::",
173
+ "network": "10.0.2.0",
174
+ "network6": "fe80::",
175
+ "scope6": "link"
176
+ },
177
+ "lo": {
178
+ "bindings": [
179
+ {
180
+ "address": "127.0.0.1",
181
+ "netmask": "255.0.0.0",
182
+ "network": "127.0.0.0"
183
+ }
184
+ ],
185
+ "bindings6": [
186
+ {
187
+ "address": "::1",
188
+ "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
189
+ "network": "::1",
190
+ "scope6": "host",
191
+ "flags": [
192
+ "permanent"
193
+ ]
194
+ }
195
+ ],
196
+ "ip": "127.0.0.1",
197
+ "ip6": "::1",
198
+ "mtu": 65536,
199
+ "netmask": "255.0.0.0",
200
+ "netmask6": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
201
+ "network": "127.0.0.0",
202
+ "network6": "::1",
203
+ "scope6": "host"
204
+ }
205
+ },
206
+ "ip": "10.0.2.15",
207
+ "ip6": "fe80::46:98ff:fed9:c9f4",
208
+ "mac": "02:46:98:d9:c9:f4",
209
+ "mtu": 1500,
210
+ "netmask": "255.255.255.0",
211
+ "netmask6": "ffff:ffff:ffff:ffff::",
212
+ "network": "10.0.2.0",
213
+ "network6": "fe80::",
214
+ "primary": "enp0s3",
215
+ "scope6": "link"
216
+ },
217
+ "operatingsystem": "Ubuntu",
218
+ "operatingsystemmajrelease": "20.04",
219
+ "operatingsystemrelease": "20.04",
220
+ "os": {
221
+ "architecture": "amd64",
222
+ "distro": {
223
+ "codename": "focal",
224
+ "description": "Ubuntu 20.04.3 LTS",
225
+ "id": "Ubuntu",
226
+ "release": {
227
+ "full": "20.04",
228
+ "major": "20.04"
229
+ }
230
+ },
231
+ "family": "Debian",
232
+ "hardware": "x86_64",
233
+ "name": "Ubuntu",
234
+ "release": {
235
+ "full": "20.04",
236
+ "major": "20.04"
237
+ },
238
+ "selinux": {
239
+ "enabled": false
240
+ }
241
+ },
242
+ "osfamily": "Debian",
243
+ "partitions": {
244
+ "/dev/loop0": {
245
+ "backing_file": "/var/lib/snapd/snaps/core20_1081.snap",
246
+ "filesystem": "squashfs",
247
+ "size": "61.77 MiB",
248
+ "size_bytes": 64770048
249
+ },
250
+ "/dev/loop1": {
251
+ "backing_file": "/var/lib/snapd/snaps/snapd_12883.snap",
252
+ "filesystem": "squashfs",
253
+ "size": "32.30 MiB",
254
+ "size_bytes": 33869824
255
+ },
256
+ "/dev/loop2": {
257
+ "backing_file": "/var/lib/snapd/snaps/lxd_21545.snap",
258
+ "filesystem": "squashfs",
259
+ "size": "67.25 MiB",
260
+ "size_bytes": 70516736
261
+ },
262
+ "/dev/sda1": {
263
+ "filesystem": "ext4",
264
+ "label": "cloudimg-rootfs",
265
+ "partuuid": "bbed7fa6-01",
266
+ "size": "40.00 GiB",
267
+ "size_bytes": 42948607488,
268
+ "uuid": "167d8723-2972-4ac5-869e-c16609de3e76"
269
+ }
270
+ },
271
+ "path": "/home/vagrant/vendor/bundler/ruby/2.5.0/bin:/opt/puppetlabs/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin",
272
+ "physicalprocessorcount": 1,
273
+ "processor0": "AMD Ryzen 7 PRO 4750U with Radeon Graphics",
274
+ "processor1": "AMD Ryzen 7 PRO 4750U with Radeon Graphics",
275
+ "processorcount": 2,
276
+ "processors": {
277
+ "cores": 2,
278
+ "count": 2,
279
+ "isa": "x86_64",
280
+ "models": [
281
+ "AMD Ryzen 7 PRO 4750U with Radeon Graphics",
282
+ "AMD Ryzen 7 PRO 4750U with Radeon Graphics"
283
+ ],
284
+ "physicalcount": 1,
285
+ "speed": "1.70 GHz",
286
+ "threads": 1
287
+ },
288
+ "productname": "VirtualBox",
289
+ "ruby": {
290
+ "platform": "x86_64-linux",
291
+ "sitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
292
+ "version": "2.5.9"
293
+ },
294
+ "rubyplatform": "x86_64-linux",
295
+ "rubysitedir": "/opt/puppetlabs/puppet/lib/ruby/site_ruby/2.5.0",
296
+ "rubyversion": "2.5.9",
297
+ "scope6": "link",
298
+ "scope6_enp0s3": "link",
299
+ "scope6_lo": "host",
300
+ "selinux": false,
301
+ "serialnumber": "0",
302
+ "ssh": {
303
+ "dsa": {
304
+ "fingerprints": {
305
+ "sha1": "SSHFP 2 1 09b12d263c7df4cada988ddb5b1511495453b932",
306
+ "sha256": "SSHFP 2 2 6a4a14fd40ec0400a407ad953c9d85cc600fb4b91e38ffd71291bc9c3f533670"
307
+ },
308
+ "key": "AAAAB3NzaC1kc3MAAACBANVhoNO1xREI9CdJN0rypfPUb69O/cUMXhHdvHw8BgiykvB6V9WX3Xrjy6q7tYY9Ft2pbtkSst6YQsT1oSk10tlyvFUknEhdMEosZCNEaGNOwA0uGFlc/RWXHcr/tHkRO/XtC5QJSERYuO7kY5utULPQLeLUAhEcBvvzzv37s8/vAAAAFQCoE0WuhUMJDedQKNlcAVJIngKLQQAAAIEAzXtGME2giJIM3R7QQE8AhBHPMRfk1ButyxRjSPIaZcTY8moTnz8aL6596HbzVcTYQCYxmyX9FpEYe57NUSKivhVZxBvbATUaGzHQKwtsP4tsL/QMHM8130XbmzLLFXS0uJ1umHBOrP45mNqVK9BvoYpE0uRBrMyvX0gdV48AMe8AAACAF3Lk3+Ety2QJkh9RgMW+FcyvJ71B16ncoD0fnQ19oNEr5qfx2l05cDM4V7KlEkjalU3Kc6UMYwFL0CEV1vFFXU0BsTSLOYrmBIP3N/5vHqQb5laClAc0IgvbTbaH2EwKBtRyKfQe6OTQyt1KLs2qrVTiQwEnomnynFUxrNIb+oA=",
309
+ "type": "ssh-dss"
310
+ },
311
+ "ecdsa": {
312
+ "fingerprints": {
313
+ "sha1": "SSHFP 3 1 b7070ad646532bcf9afe9a6894ad81a5e1ddc513",
314
+ "sha256": "SSHFP 3 2 bfb420632cf33dd40e0ebd6f1b4afe3634f84886befbaf9fa892f4b47c17a4d4"
315
+ },
316
+ "key": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBK0cfthyNJ/yfQvDkdCaCbXHY1I91yk5WRlkMlLP5rjsI21Y5I7DmEOMuSt7DTgBlWMVp6Ta7sNUG+YfXZShA40=",
317
+ "type": "ecdsa-sha2-nistp256"
318
+ },
319
+ "ed25519": {
320
+ "fingerprints": {
321
+ "sha1": "SSHFP 4 1 b698bb65cb8e47968a4da550622febd825bc4095",
322
+ "sha256": "SSHFP 4 2 c15d37d406b40d916742c6f962ace21d11bbca64b0a41af8d1f72637c8881f74"
323
+ },
324
+ "key": "AAAAC3NzaC1lZDI1NTE5AAAAIEbshEvzenZ8+LSU45Hl08PuqT+rIsl9ODqxZmGwGHE4",
325
+ "type": "ssh-ed25519"
326
+ },
327
+ "rsa": {
328
+ "fingerprints": {
329
+ "sha1": "SSHFP 1 1 bb5d61d7fcd5031cb450efb16c9d8fa783608c75",
330
+ "sha256": "SSHFP 1 2 2258b1f25ae4adf8a9f6cdad5ab55fe9863cc6c2df5a4e44f7f862b24c5b474e"
331
+ },
332
+ "key": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDfaNJ0UJbZSxr4xkmG2yj2bgZmtITGwozbowdcGa74CF9671OE2Hi2RHtzLG2/XfKfwYQcOaqXVH/LzcdBJNRh69Vw7ZenR7MY59XWfkgqPym4Pi2GOoY1fqy8tQHEcSCGJmEfbkzSL5U2q4QzZGPDXTyeVe4hF6P5L+XSxy+b5sXctqW5muGiY0OrJc/jLa5+NO9p4mWZbJpKhEoTo1waycQG5cTxLy6VGo1iS58hbKGvS6U8VwbU2vQpNOG9msA0QrG9yMzPDtANylmrdXP0lmhBll9CETSS54p6ESRLKzyCd5RxgbeITCVAL/3IkWQxsEQxeoU95NeGngTPBvc41ehT8443480PQL5UJoDkC1DAifJYAvQWiZjYVuZpfbJWs2YTYNB7KN9spv1dTZVjIhcpkUk42mjdU78txZkVKP1RiFsSedNZAoc5u9HUIYVOgkqaKcG+7Bxdp+JR16kNikut65ZLOfzLKjev/YSAossMUC6qVQw7XNJr/7vVhfU=",
333
+ "type": "ssh-rsa"
334
+ }
335
+ },
336
+ "sshdsakey": "AAAAB3NzaC1kc3MAAACBANVhoNO1xREI9CdJN0rypfPUb69O/cUMXhHdvHw8BgiykvB6V9WX3Xrjy6q7tYY9Ft2pbtkSst6YQsT1oSk10tlyvFUknEhdMEosZCNEaGNOwA0uGFlc/RWXHcr/tHkRO/XtC5QJSERYuO7kY5utULPQLeLUAhEcBvvzzv37s8/vAAAAFQCoE0WuhUMJDedQKNlcAVJIngKLQQAAAIEAzXtGME2giJIM3R7QQE8AhBHPMRfk1ButyxRjSPIaZcTY8moTnz8aL6596HbzVcTYQCYxmyX9FpEYe57NUSKivhVZxBvbATUaGzHQKwtsP4tsL/QMHM8130XbmzLLFXS0uJ1umHBOrP45mNqVK9BvoYpE0uRBrMyvX0gdV48AMe8AAACAF3Lk3+Ety2QJkh9RgMW+FcyvJ71B16ncoD0fnQ19oNEr5qfx2l05cDM4V7KlEkjalU3Kc6UMYwFL0CEV1vFFXU0BsTSLOYrmBIP3N/5vHqQb5laClAc0IgvbTbaH2EwKBtRyKfQe6OTQyt1KLs2qrVTiQwEnomnynFUxrNIb+oA=",
337
+ "sshecdsakey": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBK0cfthyNJ/yfQvDkdCaCbXHY1I91yk5WRlkMlLP5rjsI21Y5I7DmEOMuSt7DTgBlWMVp6Ta7sNUG+YfXZShA40=",
338
+ "sshed25519key": "AAAAC3NzaC1lZDI1NTE5AAAAIEbshEvzenZ8+LSU45Hl08PuqT+rIsl9ODqxZmGwGHE4",
339
+ "sshfp_dsa": "SSHFP 2 1 09b12d263c7df4cada988ddb5b1511495453b932\nSSHFP 2 2 6a4a14fd40ec0400a407ad953c9d85cc600fb4b91e38ffd71291bc9c3f533670",
340
+ "sshfp_ecdsa": "SSHFP 3 1 b7070ad646532bcf9afe9a6894ad81a5e1ddc513\nSSHFP 3 2 bfb420632cf33dd40e0ebd6f1b4afe3634f84886befbaf9fa892f4b47c17a4d4",
341
+ "sshfp_ed25519": "SSHFP 4 1 b698bb65cb8e47968a4da550622febd825bc4095\nSSHFP 4 2 c15d37d406b40d916742c6f962ace21d11bbca64b0a41af8d1f72637c8881f74",
342
+ "sshfp_rsa": "SSHFP 1 1 bb5d61d7fcd5031cb450efb16c9d8fa783608c75\nSSHFP 1 2 2258b1f25ae4adf8a9f6cdad5ab55fe9863cc6c2df5a4e44f7f862b24c5b474e",
343
+ "sshrsakey": "AAAAB3NzaC1yc2EAAAADAQABAAABgQDfaNJ0UJbZSxr4xkmG2yj2bgZmtITGwozbowdcGa74CF9671OE2Hi2RHtzLG2/XfKfwYQcOaqXVH/LzcdBJNRh69Vw7ZenR7MY59XWfkgqPym4Pi2GOoY1fqy8tQHEcSCGJmEfbkzSL5U2q4QzZGPDXTyeVe4hF6P5L+XSxy+b5sXctqW5muGiY0OrJc/jLa5+NO9p4mWZbJpKhEoTo1waycQG5cTxLy6VGo1iS58hbKGvS6U8VwbU2vQpNOG9msA0QrG9yMzPDtANylmrdXP0lmhBll9CETSS54p6ESRLKzyCd5RxgbeITCVAL/3IkWQxsEQxeoU95NeGngTPBvc41ehT8443480PQL5UJoDkC1DAifJYAvQWiZjYVuZpfbJWs2YTYNB7KN9spv1dTZVjIhcpkUk42mjdU78txZkVKP1RiFsSedNZAoc5u9HUIYVOgkqaKcG+7Bxdp+JR16kNikut65ZLOfzLKjev/YSAossMUC6qVQw7XNJr/7vVhfU=",
344
+ "system_uptime": {
345
+ "days": 0,
346
+ "hours": 0,
347
+ "seconds": 245,
348
+ "uptime": "0:04 hours"
349
+ },
350
+ "timezone": "UTC",
351
+ "uptime": "0:04 hours",
352
+ "uptime_days": 0,
353
+ "uptime_hours": 0,
354
+ "uptime_seconds": 245,
355
+ "uuid": "8e321ecb-8285-8442-b783-3004236f0174",
356
+ "virtual": "virtualbox"
357
+ }
data/facts/Gemfile CHANGED
@@ -1,6 +1,7 @@
1
1
  source ENV['GEM_SOURCE'] || "https://rubygems.org"
2
2
 
3
3
  gem 'json', :require => false
4
+ gem 'ffi'
4
5
 
5
6
  if facterversion = ENV['FACTER_GEM_VERSION']
6
7
  gem 'facter', facterversion, :require => false
data/facts/Vagrantfile CHANGED
@@ -11,83 +11,14 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
11
11
  v.gui = false
12
12
  end
13
13
 
14
- config.vm.define "debian-6-x86_64" do |host|
15
- host.vm.box = "puppetlabs/debian-6.0.10-64-nocm"
16
- host.vm.provision "shell", inline: [
17
- "echo 'deb [allow-insecure=yes,trusted=yes] http://archive.debian.org/debian squeeze main' > /etc/apt/sources.list",
18
- "echo 'deb [allow-insecure=yes,trusted=yes] http://archive.debian.org/debian-security squeeze/updates main contrib' >> /etc/apt/sources.list",
19
- "apt-get update",
20
- "apt-get install -y --force-yes ruby rubygems",
21
- ].join(' && ')
22
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
23
- host.vm.provision "shell", path: "get_facts.sh"
24
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
25
- end
26
- config.vm.define "debian-7-x86_64" do |host|
27
- host.vm.box = "puppetlabs/debian-7.8-64-nocm"
28
- host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby rubygems ruby-dev"
29
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
30
- host.vm.provision "shell", path: "get_facts.sh"
31
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
32
- end
33
- config.vm.define "debian-8-x86_64" do |host|
34
- host.vm.box = "debian/jessie64"
35
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
36
- host.vm.provision "shell", path: "get_facts.sh"
37
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
38
- end
39
- config.vm.define "debian-9-x86_64" do |host|
40
- host.vm.box = "debian/stretch64"
41
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
42
- host.vm.provision "shell", path: "get_facts.sh"
43
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
44
- end
45
14
  config.vm.define "debian-10-x86_64" do |host|
46
15
  host.vm.box = "debian/contrib-buster64"
47
16
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
48
17
  host.vm.provision "shell", path: "get_facts.sh"
49
18
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
50
19
  end
51
- config.vm.define "ubuntu-10.04-x86_64" do |host|
52
- host.vm.box = "ubuntu-server-10044-x64-vbox4210-nocm"
53
- host.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box"
54
- host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby ruby-dev rubygems libopenssl-ruby"
55
- host.vm.provision "shell", inline: "gem install rubygems-update && /var/lib/gems/1.8/bin/update_rubygems"
56
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
57
- host.vm.provision "shell", path: "get_facts.sh"
58
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
59
- end
60
- config.vm.define "ubuntu-12.04-x86_64" do |host|
61
- host.vm.box = "puppetlabs/ubuntu-12.04-64-nocm"
62
- host.vm.provision "shell", inline: "apt-get update && apt-get install -y rubygems"
63
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
64
- host.vm.provision "shell", path: "get_facts.sh"
65
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
66
- end
67
- config.vm.define "ubuntu-14.04-x86_64" do |host|
68
- host.vm.box = "puppetlabs/ubuntu-14.04-64-nocm"
69
- host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby ruby-dev"
70
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
71
- host.vm.provision "shell", path: "get_facts.sh"
72
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
73
- end
74
- config.vm.define "ubuntu-14.10-x86_64" do |host|
75
- host.vm.box = "chef/ubuntu-14.10"
76
- host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby ruby-dev"
77
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
78
- host.vm.provision "shell", path: "get_facts.sh"
79
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
80
- end
81
- config.vm.define "ubuntu-15.04-x86_64" do |host|
82
- host.vm.box = "ubuntu/vivid64"
83
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
84
- host.vm.provision "shell", path: "get_facts.sh"
85
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
86
- end
87
- config.vm.define "ubuntu-15.10-x86_64" do |host|
88
- host.vm.box = "sgallen/wily64"
89
- host.vm.network :private_network, ip: '10.0.0.2'
90
- host.vm.synced_folder ".", "/vagrant", :nfs => true
20
+ config.vm.define "debian-11-x86_64" do |host|
21
+ host.vm.box = "boxomatic/debian-11"
91
22
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
92
23
  host.vm.provision "shell", path: "get_facts.sh"
93
24
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
@@ -106,33 +37,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
106
37
  host.vm.provision "shell", path: "get_facts.sh"
107
38
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
108
39
  end
109
- config.vm.define "ubuntu-16.04-x86_64" do |host|
110
- host.vm.box = "ubuntu/xenial64"
111
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
112
- host.vm.provision "shell", path: "get_facts.sh"
113
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
114
- end
115
40
  config.vm.define "ubuntu-18.04-x86_64" do |host|
116
41
  host.vm.box = "ubuntu/bionic64"
117
42
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
118
43
  host.vm.provision "shell", path: "get_facts.sh"
119
44
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
120
45
  end
121
- config.vm.define "centos-5-x86_64" do |host|
122
- host.vm.box = "puppetlabs/centos-5.11-64-nocm"
123
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
124
- host.vm.provision "shell", path: "get_facts.sh"
125
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
126
- end
127
- config.vm.define "centos-6-x86_64" do |host|
128
- host.vm.box = "centos/6"
129
- host.vm.network :private_network, ip: '10.0.0.2'
130
- host.vm.synced_folder ".", "/vagrant", :nfs => true
131
- host.vm.provision "shell", inline: "yum -y install ruby-devel gcc"
132
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
133
- host.vm.provision "shell", path: "get_facts.sh"
134
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
135
- end
136
46
  config.vm.define "centos-7-x86_64" do |host|
137
47
  host.vm.box = "centos/7"
138
48
  host.vm.network :private_network, ip: '10.0.0.2'
@@ -149,6 +59,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
149
59
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
150
60
  host.vm.provision "shell", path: "get_facts.sh"
151
61
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
62
+ host.vbguest.auto_update = true
152
63
  end
153
64
  config.vm.define "almalinux-8-x86_64" do |host|
154
65
  host.vm.box = "almalinux/8"
@@ -158,75 +69,17 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
158
69
  host.vm.provision "shell", path: "get_facts.sh"
159
70
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
160
71
  end
161
- config.vm.define "redhat-8-x86_64" do |host|
162
- host.vm.box = "generic/rhel8"
72
+ config.vm.define "rockylinux-8-x86_64" do |host|
73
+ host.vm.box = "https://github.com/anoncam/rocky-linux-vagrant/blob/main/rockylinux.box"
163
74
  host.vm.synced_folder ".", "/vagrant"
75
+ host.vm.provision "shell", inline: "dnf -y install wget make gcc net-tools"
164
76
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
165
77
  host.vm.provision "shell", path: "get_facts.sh"
166
78
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
167
79
  end
168
- config.vm.define "fedora-19-x86_64" do |host|
169
- host.vm.box = "rafacas/fedora19-plain"
170
- host.vm.provision "shell", inline: "yum -y install ruby ruby-devel"
171
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
172
- host.vm.provision "shell", path: "get_facts.sh"
173
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
174
- end
175
- config.vm.define "fedora-22-x86_64" do |host|
176
- host.vm.box = "bento/fedora-22"
177
- host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel"
178
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
179
- host.vm.provision "shell", path: "get_facts.sh"
180
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
181
- end
182
- config.vm.define "fedora-23-x86_64" do |host|
183
- host.vm.box = "bento/fedora-23"
184
- host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel"
185
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
186
- host.vm.provision "shell", path: "get_facts.sh"
187
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
188
- end
189
- config.vm.define "fedora-24-x86_64" do |host|
190
- host.vm.box = "bento/fedora-24"
191
- host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel"
192
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
193
- host.vm.provision "shell", path: "get_facts.sh"
194
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
195
- end
196
- config.vm.define "fedora-26-x86_64" do |host|
197
- host.vm.box = "bento/fedora-26"
198
- host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel"
199
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
200
- host.vm.provision "shell", path: "get_facts.sh"
201
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
202
- end
203
- config.vm.define "fedora-27-x86_64" do |host|
204
- host.vm.box = "bento/fedora-27"
205
- host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel"
206
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
207
- host.vm.provision "shell", path: "get_facts.sh"
208
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
209
- end
210
- config.vm.define "fedora-28-x86_64" do |host|
211
- host.vm.box = "bento/fedora-28"
212
- host.vm.synced_folder ".", "/vagrant"
213
- host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel make"
214
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
215
- host.vm.provision "shell", path: "get_facts.sh"
216
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
217
- end
218
- config.vm.define "fedora-29-x86_64" do |host|
219
- host.vm.box = "bento/fedora-29"
220
- host.vm.synced_folder ".", "/vagrant"
221
- host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel make"
222
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
223
- host.vm.provision "shell", path: "get_facts.sh"
224
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
225
- end
226
- config.vm.define "fedora-30-x86_64" do |host|
227
- host.vm.box = "bento/fedora-30"
80
+ config.vm.define "redhat-8-x86_64" do |host|
81
+ host.vm.box = "generic/rhel8"
228
82
  host.vm.synced_folder ".", "/vagrant"
229
- host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel make"
230
83
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
231
84
  host.vm.provision "shell", path: "get_facts.sh"
232
85
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
@@ -305,20 +158,26 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
305
158
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
306
159
  host.vm.provision "shell", path: "get_facts.sh"
307
160
  end
161
+ config.vm.define "freebsd-11-x86_64" do |host|
162
+ host.vm.box = "bento/freebsd-11"
163
+ host.vm.synced_folder ".", "/vagrant"
164
+ host.vm.provision "shell", inline: "pkg install -y bash devel/ruby-gems"
165
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
166
+ host.vm.provision "shell", path: "get_facts.sh"
167
+ host.vm.provision "shell", inline: "/sbin/shutdown -p now"
168
+ end
308
169
  config.vm.define "freebsd-12-x86_64" do |host|
309
- host.vm.box = "bento/freebsd-12.0"
170
+ host.vm.box = "bento/freebsd-12"
310
171
  host.vm.synced_folder ".", "/vagrant"
311
172
  host.vm.provision "shell", inline: "pkg install -y bash devel/ruby-gems"
312
- host.vm.provision "shell", inline: "ln -sf /usr/local/bin/bash /bin/bash"
313
173
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
314
174
  host.vm.provision "shell", path: "get_facts.sh"
315
175
  host.vm.provision "shell", inline: "/sbin/shutdown -p now"
316
176
  end
317
- config.vm.define "freebsd-11-x86_64" do |host|
318
- host.vm.box = "bento/freebsd-11.2"
177
+ config.vm.define "freebsd-13-x86_64" do |host|
178
+ host.vm.box = "bento/freebsd-13"
319
179
  host.vm.synced_folder ".", "/vagrant"
320
180
  host.vm.provision "shell", inline: "pkg install -y bash devel/ruby-gems"
321
- host.vm.provision "shell", inline: "ln -sf /usr/local/bin/bash /bin/bash"
322
181
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
323
182
  host.vm.provision "shell", path: "get_facts.sh"
324
183
  host.vm.provision "shell", inline: "/sbin/shutdown -p now"
@@ -347,7 +206,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
347
206
  . ~/.profile
348
207
 
349
208
  pkg_info -qe 'bash->=0' || pkg_add -I bash
350
- ln -sf /usr/local/bin/bash /bin
351
209
  SCRIPT
352
210
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
353
211
  host.vm.provision "shell", path: "get_facts.sh"
@@ -361,7 +219,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
361
219
  . ~/.profile
362
220
 
363
221
  pkg_info -qe 'bash->=0' || pkg_add -I bash
364
- ln -sf /usr/local/bin/bash /bin
365
222
  SCRIPT
366
223
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
367
224
  host.vm.provision "shell", path: "get_facts.sh"
@@ -376,7 +233,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
376
233
  . ~/.profile
377
234
 
378
235
  pkg_info -qe 'bash->=0' || pkg_add bash
379
- ln -sf /usr/local/bin/bash /bin
380
236
  pkg_add facter puppet-5.5.6
381
237
  ln -sf /usr/local/bin/gem24 /usr/bin/gem
382
238
  ln -sf /usr/local/bin/ruby24 /usr/bin/ruby
@@ -424,11 +280,4 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
424
280
  host.vm.provision "shell", path: "get_facts.sh"
425
281
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
426
282
  end
427
- config.vm.define "amazonlinux-1-x86_64" do |host|
428
- host.vm.box = "spscommerce/amazonlinux"
429
- host.vm.provision "shell", inline: "yum -y install gcc glibc-devel"
430
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
431
- host.vm.provision "shell", path: "get_facts.sh"
432
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
433
- end
434
283
  end