fauxhai-chef 9.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +2 -0
  3. data/LICENSE +22 -0
  4. data/bin/fauxhai +23 -0
  5. data/fauxhai-chef.gemspec +28 -0
  6. data/lib/fauxhai/exception.rb +6 -0
  7. data/lib/fauxhai/fetcher.rb +80 -0
  8. data/lib/fauxhai/keys/id_dsa +12 -0
  9. data/lib/fauxhai/keys/id_dsa.pub +1 -0
  10. data/lib/fauxhai/keys/id_rsa +27 -0
  11. data/lib/fauxhai/keys/id_rsa.pub +1 -0
  12. data/lib/fauxhai/mocker.rb +143 -0
  13. data/lib/fauxhai/platforms/aix/7.1.json +1889 -0
  14. data/lib/fauxhai/platforms/aix/7.2.json +5289 -0
  15. data/lib/fauxhai/platforms/almalinux/8.json +5754 -0
  16. data/lib/fauxhai/platforms/amazon/2.json +4697 -0
  17. data/lib/fauxhai/platforms/amazon/2018.03.json +3525 -0
  18. data/lib/fauxhai/platforms/arch/4.10.13-1-ARCH.json +1669 -0
  19. data/lib/fauxhai/platforms/centos/6.10.json +2691 -0
  20. data/lib/fauxhai/platforms/centos/7.7.1908.json +3855 -0
  21. data/lib/fauxhai/platforms/centos/7.8.2003.json +3803 -0
  22. data/lib/fauxhai/platforms/centos/8.json +4715 -0
  23. data/lib/fauxhai/platforms/chefspec/0.6.1.json +20 -0
  24. data/lib/fauxhai/platforms/clearos/7.4.json +6130 -0
  25. data/lib/fauxhai/platforms/debian/10.json +2928 -0
  26. data/lib/fauxhai/platforms/debian/11.json +2744 -0
  27. data/lib/fauxhai/platforms/debian/9.11.json +2943 -0
  28. data/lib/fauxhai/platforms/debian/9.12.json +2942 -0
  29. data/lib/fauxhai/platforms/debian/9.13.json +2959 -0
  30. data/lib/fauxhai/platforms/dragonfly4/4.8-RELEASE.json +392 -0
  31. data/lib/fauxhai/platforms/fedora/31.json +3994 -0
  32. data/lib/fauxhai/platforms/fedora/32.json +3554 -0
  33. data/lib/fauxhai/platforms/freebsd/11.2.json +427 -0
  34. data/lib/fauxhai/platforms/freebsd/12.1.json +913 -0
  35. data/lib/fauxhai/platforms/gentoo/4.9.95-gentoo.json +989 -0
  36. data/lib/fauxhai/platforms/linuxmint/19.0.json +9649 -0
  37. data/lib/fauxhai/platforms/mac_os_x/10.14.json +1350 -0
  38. data/lib/fauxhai/platforms/mac_os_x/10.15.json +1510 -0
  39. data/lib/fauxhai/platforms/mac_os_x/11.0.json +2821 -0
  40. data/lib/fauxhai/platforms/mac_os_x/11.json +3356 -0
  41. data/lib/fauxhai/platforms/mac_os_x/12.json +3546 -0
  42. data/lib/fauxhai/platforms/openbsd/6.2.json +295 -0
  43. data/lib/fauxhai/platforms/opensuse/15.2.json +5967 -0
  44. data/lib/fauxhai/platforms/oracle/6.10.json +4349 -0
  45. data/lib/fauxhai/platforms/oracle/7.5.json +6576 -0
  46. data/lib/fauxhai/platforms/oracle/7.6.json +6591 -0
  47. data/lib/fauxhai/platforms/raspbian/10.json +3664 -0
  48. data/lib/fauxhai/platforms/redhat/6.10.json +5822 -0
  49. data/lib/fauxhai/platforms/redhat/7.7.json +3969 -0
  50. data/lib/fauxhai/platforms/redhat/7.8.json +3958 -0
  51. data/lib/fauxhai/platforms/redhat/7.9.json +3959 -0
  52. data/lib/fauxhai/platforms/redhat/8.json +4547 -0
  53. data/lib/fauxhai/platforms/rocky/8.json +5768 -0
  54. data/lib/fauxhai/platforms/smartos/5.11.json +1680 -0
  55. data/lib/fauxhai/platforms/solaris2/5.11.json +10290 -0
  56. data/lib/fauxhai/platforms/suse/12.4.json +5875 -0
  57. data/lib/fauxhai/platforms/suse/12.5.json +5012 -0
  58. data/lib/fauxhai/platforms/suse/15.json +6096 -0
  59. data/lib/fauxhai/platforms/ubuntu/16.04.json +3885 -0
  60. data/lib/fauxhai/platforms/ubuntu/18.04.json +4042 -0
  61. data/lib/fauxhai/platforms/ubuntu/20.04.json +4613 -0
  62. data/lib/fauxhai/platforms/windows/10.json +431 -0
  63. data/lib/fauxhai/platforms/windows/2012.json +404 -0
  64. data/lib/fauxhai/platforms/windows/2012R2.json +406 -0
  65. data/lib/fauxhai/platforms/windows/2016.json +408 -0
  66. data/lib/fauxhai/platforms/windows/2019.json +408 -0
  67. data/lib/fauxhai/platforms/windows/8.1.json +416 -0
  68. data/lib/fauxhai/runner/default.rb +284 -0
  69. data/lib/fauxhai/runner/windows.rb +101 -0
  70. data/lib/fauxhai/runner.rb +45 -0
  71. data/lib/fauxhai/version.rb +3 -0
  72. data/lib/fauxhai.rb +18 -0
  73. metadata +202 -0
@@ -0,0 +1,427 @@
1
+ {
2
+ "chef_packages": {
3
+ "chef": {
4
+ "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib",
5
+ "version": "14.2.0"
6
+ },
7
+ "ohai": {
8
+ "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.5.0/gems/ohai-14.2.0/lib/ohai",
9
+ "version": "14.2.0"
10
+ }
11
+ },
12
+ "command": {
13
+ "ps": "ps -axww"
14
+ },
15
+ "counters": {
16
+ "network": {
17
+ "interfaces": {
18
+ "em0": {
19
+ "rx": {
20
+ "bytes": 0,
21
+ "compressed": 0,
22
+ "drop": 0,
23
+ "errors": 0,
24
+ "frame": 0,
25
+ "multicast": 0,
26
+ "overrun": 0,
27
+ "packets": 0
28
+ },
29
+ "tx": {
30
+ "bytes": 0,
31
+ "carrier": 0,
32
+ "collisions": 0,
33
+ "compressed": 0,
34
+ "drop": 0,
35
+ "errors": 0,
36
+ "overrun": 0,
37
+ "packets": 0
38
+ }
39
+ },
40
+ "lo": {
41
+ "rx": {
42
+ "bytes": 0,
43
+ "drop": 0,
44
+ "errors": 0,
45
+ "overrun": 0,
46
+ "packets": 0
47
+ },
48
+ "tx": {
49
+ "bytes": 0,
50
+ "carrier": 0,
51
+ "collisions": 0,
52
+ "drop": 0,
53
+ "errors": 0,
54
+ "packets": 0,
55
+ "queuelen": "1"
56
+ }
57
+ }
58
+ }
59
+ }
60
+ },
61
+ "cpu": {
62
+ "cores": 1,
63
+ "real": 1,
64
+ "total": 1
65
+ },
66
+ "current_user": "fauxhai",
67
+ "deprecated": true,
68
+ "dmi": {
69
+ "base_board": {
70
+ "all_records": [
71
+ {
72
+ "Asset Tag": "Not Specified",
73
+ "Chassis Handle": "0x0003",
74
+ "Contained Object Handles": "0",
75
+ "Features": {
76
+ "Board is a hosting board": null
77
+ },
78
+ "Location In Chassis": "Not Specified",
79
+ "Manufacturer": "Oracle Corporation",
80
+ "Product Name": "VirtualBox",
81
+ "Serial Number": "0",
82
+ "Type": "Motherboard",
83
+ "Version": "1.2",
84
+ "application_identifier": "Base Board Information",
85
+ "record_id": "0x0008",
86
+ "size": "2"
87
+ }
88
+ ],
89
+ "asset_tag": "Not Specified",
90
+ "chassis_handle": "0x0003",
91
+ "contained_object_handles": "0",
92
+ "location_in_chassis": "Not Specified",
93
+ "manufacturer": "Oracle Corporation",
94
+ "product_name": "VirtualBox",
95
+ "serial_number": "0",
96
+ "type": "Motherboard",
97
+ "version": "1.2"
98
+ },
99
+ "bios": {
100
+ "address": "0xE0000",
101
+ "all_records": [
102
+ {
103
+ "Address": "0xE0000",
104
+ "Characteristics": {
105
+ "8042 keyboard services are supported (int 9h)": null,
106
+ "ACPI is supported": null,
107
+ "Boot from CD is supported": null,
108
+ "CGA/mono video services are supported (int 10h)": null,
109
+ "ISA is supported": null,
110
+ "PCI is supported": null,
111
+ "Selectable boot is supported": null
112
+ },
113
+ "ROM Size": "128 kB",
114
+ "Release Date": "12/01/2006",
115
+ "Runtime Size": "128 kB",
116
+ "Vendor": "innotek GmbH",
117
+ "Version": "VirtualBox",
118
+ "application_identifier": "BIOS Information",
119
+ "record_id": "0x0000",
120
+ "size": "0"
121
+ }
122
+ ],
123
+ "release_date": "12/01/2006",
124
+ "rom_size": "128 kB",
125
+ "runtime_size": "128 kB",
126
+ "vendor": "innotek GmbH",
127
+ "version": "VirtualBox"
128
+ },
129
+ "chassis": {
130
+ "all_records": [
131
+ {
132
+ "Asset Tag": "Not Specified",
133
+ "Boot-up State": "Safe",
134
+ "Lock": "Not Present",
135
+ "Manufacturer": "Oracle Corporation",
136
+ "Power Supply State": "Safe",
137
+ "Security Status": "None",
138
+ "Serial Number": "Not Specified",
139
+ "Thermal State": "Safe",
140
+ "Type": "Other",
141
+ "Version": "Not Specified",
142
+ "application_identifier": "Chassis Information",
143
+ "record_id": "0x0003",
144
+ "size": "3"
145
+ }
146
+ ],
147
+ "asset_tag": "Not Specified",
148
+ "boot_up_state": "Safe",
149
+ "lock": "Not Present",
150
+ "manufacturer": "Oracle Corporation",
151
+ "power_supply_state": "Safe",
152
+ "security_status": "None",
153
+ "serial_number": "Not Specified",
154
+ "thermal_state": "Safe",
155
+ "type": "Other",
156
+ "version": "Not Specified"
157
+ },
158
+ "dmidecode_version": "3.1",
159
+ "oem_strings": {
160
+ "all_records": [
161
+ {
162
+ "String 1": "vboxVer_5.2.12",
163
+ "String 2": "vboxRev_122591",
164
+ "application_identifier": "OEM Strings",
165
+ "record_id": "0x0002",
166
+ "size": "11"
167
+ }
168
+ ],
169
+ "string_1": "vboxVer_5.2.12",
170
+ "string_2": "vboxRev_122591"
171
+ },
172
+ "smbios_version": "2.5",
173
+ "structures": {
174
+ "count": "10",
175
+ "size": "450"
176
+ },
177
+ "system": {
178
+ "all_records": [
179
+ {
180
+ "Family": "Virtual Machine",
181
+ "Manufacturer": "innotek GmbH",
182
+ "Product Name": "VirtualBox",
183
+ "SKU Number": "Not Specified",
184
+ "Serial Number": "0",
185
+ "UUID": "35705324-5FAE-45F3-9072-1667B9AD344C",
186
+ "Version": "1.2",
187
+ "Wake-up Type": "Power Switch",
188
+ "application_identifier": "System Information",
189
+ "record_id": "0x0001",
190
+ "size": "1"
191
+ }
192
+ ],
193
+ "family": "Virtual Machine",
194
+ "manufacturer": "innotek GmbH",
195
+ "product_name": "VirtualBox",
196
+ "serial_number": "0",
197
+ "sku_number": "Not Specified",
198
+ "uuid": "35705324-5FAE-45F3-9072-1667B9AD344C",
199
+ "version": "1.2",
200
+ "wake_up_type": "Power Switch"
201
+ },
202
+ "table_location": "0x000E1000"
203
+ },
204
+ "domain": "local",
205
+ "filesystem": {
206
+ "/dev/ada0s1a": {
207
+ "fs_type": "ufs",
208
+ "inodes_available": "1802343",
209
+ "inodes_percent_used": "10",
210
+ "inodes_used": "204055",
211
+ "kb_available": "12167948",
212
+ "kb_size": "15225340",
213
+ "kb_used": "1839368",
214
+ "mount": "/",
215
+ "mount_options": [
216
+ "local",
217
+ "journaled soft-updates"
218
+ ],
219
+ "percent_used": "13%",
220
+ "total_inodes": "2006398"
221
+ },
222
+ "devfs": {
223
+ "fs_type": "devfs",
224
+ "inodes_available": "0",
225
+ "inodes_percent_used": "100",
226
+ "inodes_used": "0",
227
+ "kb_available": "0",
228
+ "kb_size": "1",
229
+ "kb_used": "1",
230
+ "mount": "/dev",
231
+ "mount_options": [
232
+ "local",
233
+ "multilabel"
234
+ ],
235
+ "percent_used": "100%",
236
+ "total_inodes": "0"
237
+ }
238
+ },
239
+ "fqdn": "fauxhai.local",
240
+ "hostname": "Fauxhai",
241
+ "idle": "30 days 15 hours 07 minutes 30 seconds",
242
+ "idletime_seconds": 2646450,
243
+ "ipaddress": "10.0.0.2",
244
+ "kernel": {
245
+ "ident": "GENERIC",
246
+ "machine": "amd64",
247
+ "modules": {
248
+ "kernel": {
249
+ "refcount": "1",
250
+ "size": "2036810"
251
+ }
252
+ },
253
+ "name": "FreeBSD",
254
+ "os": "FreeBSD",
255
+ "processor": "amd64",
256
+ "release": "11.2-RELEASE",
257
+ "securelevel": [
258
+ "kern.securelevel: -1"
259
+ ],
260
+ "version": "FreeBSD 11.2-RELEASE #0 r335510: Fri Jun 22 04:32:14 UTC 2018 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC "
261
+ },
262
+ "keys": {
263
+ "ssh": {
264
+ "host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
265
+ "host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
266
+ }
267
+ },
268
+ "languages": {
269
+ "powershell": null,
270
+ "ruby": {
271
+ "bin_dir": "/usr/local/bin",
272
+ "gem_bin": "/usr/local/bin/gem",
273
+ "gems_dir": "/usr/local/gems",
274
+ "ruby_bin": "/usr/local/bin/ruby"
275
+ }
276
+ },
277
+ "macaddress": "11:11:11:11:11:11",
278
+ "machinename": "Fauxhai",
279
+ "memory": {
280
+ "total": "1048576kB"
281
+ },
282
+ "network": {
283
+ "default_gateway": "10.0.0.1",
284
+ "default_interface": "em0",
285
+ "interfaces": {
286
+ "em0": {
287
+ "addresses": {
288
+ "10.0.0.2": {
289
+ "broadcast": "10.0.0.255",
290
+ "family": "inet",
291
+ "ip_scope": "RFC1918 PRIVATE",
292
+ "netmask": "255.255.255.0",
293
+ "prefixlen": "24",
294
+ "scope": "Global"
295
+ },
296
+ "11:11:11:11:11:11": {
297
+ "family": "lladdr"
298
+ },
299
+ "fe80::11:1111:1111:1111": {
300
+ "family": "inet6",
301
+ "ip_scope": "LINK LOCAL UNICAST",
302
+ "prefixlen": "64",
303
+ "scope": "Link",
304
+ "tags": [
305
+ ]
306
+ }
307
+ },
308
+ "arp": {
309
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
310
+ },
311
+ "encapsulation": "Ethernet",
312
+ "flags": [
313
+ "BROADCAST",
314
+ "MULTICAST",
315
+ "UP",
316
+ "LOWER_UP"
317
+ ],
318
+ "mtu": "1500",
319
+ "number": "0",
320
+ "ring_params": {
321
+ },
322
+ "routes": [
323
+ {
324
+ "destination": "default",
325
+ "family": "inet",
326
+ "via": "10.0.0.1"
327
+ },
328
+ {
329
+ "destination": "10.0.0.0/24",
330
+ "family": "inet",
331
+ "proto": "kernel",
332
+ "scope": "link",
333
+ "src": "10.0.0.2"
334
+ },
335
+ {
336
+ "destination": "fe80::/64",
337
+ "family": "inet6",
338
+ "metric": "256",
339
+ "proto": "kernel"
340
+ }
341
+ ],
342
+ "state": "up",
343
+ "type": "em"
344
+ },
345
+ "lo": {
346
+ "addresses": {
347
+ "127.0.0.1": {
348
+ "family": "inet",
349
+ "ip_scope": "LOOPBACK",
350
+ "netmask": "255.0.0.0",
351
+ "prefixlen": "8",
352
+ "scope": "Node"
353
+ },
354
+ "::1": {
355
+ "family": "inet6",
356
+ "ip_scope": "LINK LOCAL LOOPBACK",
357
+ "prefixlen": "128",
358
+ "scope": "Node",
359
+ "tags": [
360
+ ]
361
+ }
362
+ },
363
+ "encapsulation": "Loopback",
364
+ "flags": [
365
+ "LOOPBACK",
366
+ "UP",
367
+ "LOWER_UP"
368
+ ],
369
+ "mtu": "65536",
370
+ "state": "unknown"
371
+ }
372
+ }
373
+ },
374
+ "ohai_time": 1530184895.2087505,
375
+ "os": "freebsd",
376
+ "os_version": "1102000",
377
+ "packages": {
378
+ "ca_root_nss": {
379
+ "version": "3.37.3"
380
+ },
381
+ "curl": {
382
+ "version": "7.60.0"
383
+ },
384
+ "dmidecode": {
385
+ "version": "3.1_1"
386
+ },
387
+ "gettext-runtime": {
388
+ "version": "0.19.8.1_1"
389
+ },
390
+ "indexinfo": {
391
+ "version": "0.3.1"
392
+ },
393
+ "libidn2": {
394
+ "version": "2.0.4"
395
+ },
396
+ "libnghttp2": {
397
+ "version": "1.31.1"
398
+ },
399
+ "libunistring": {
400
+ "version": "0.9.9"
401
+ },
402
+ "pkg": {
403
+ "version": "1.10.5"
404
+ },
405
+ "wget": {
406
+ "version": "1.19.5"
407
+ }
408
+ },
409
+ "platform": "freebsd",
410
+ "platform_family": "freebsd",
411
+ "platform_version": "11.2-RELEASE",
412
+ "root_group": "wheel",
413
+ "shells": [
414
+ "/bin/sh",
415
+ "/bin/csh",
416
+ "/bin/tcsh"
417
+ ],
418
+ "time": {
419
+ "timezone": "GMT"
420
+ },
421
+ "uptime": "30 days 15 hours 07 minutes 30 seconds",
422
+ "uptime_seconds": 2646450,
423
+ "virtualization": {
424
+ "systems": {
425
+ }
426
+ }
427
+ }