fauxhai 2.3.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +15 -28
  3. data/CONTRIBUTING.md +3 -3
  4. data/Gemfile +0 -1
  5. data/README.md +3 -3
  6. data/fauxhai.gemspec +2 -1
  7. data/lib/fauxhai/platforms/amazon/2015.03.json +323 -0
  8. data/lib/fauxhai/platforms/amazon/2015.09.json +332 -0
  9. data/lib/fauxhai/platforms/centos/5.0.json +710 -0
  10. data/lib/fauxhai/platforms/centos/5.1.json +730 -0
  11. data/lib/fauxhai/platforms/centos/5.10.json +288 -2092
  12. data/lib/fauxhai/platforms/centos/5.11.json +346 -3763
  13. data/lib/fauxhai/platforms/centos/5.2.json +742 -0
  14. data/lib/fauxhai/platforms/centos/5.3.json +770 -0
  15. data/lib/fauxhai/platforms/centos/5.4.json +774 -0
  16. data/lib/fauxhai/platforms/centos/5.5.json +790 -0
  17. data/lib/fauxhai/platforms/centos/5.6.json +874 -0
  18. data/lib/fauxhai/platforms/centos/5.7.json +878 -0
  19. data/lib/fauxhai/platforms/centos/5.8.json +333 -218
  20. data/lib/fauxhai/platforms/centos/5.9.json +355 -240
  21. data/lib/fauxhai/platforms/centos/6.0.json +332 -112
  22. data/lib/fauxhai/platforms/centos/6.1.json +633 -0
  23. data/lib/fauxhai/platforms/centos/6.2.json +462 -426
  24. data/lib/fauxhai/platforms/centos/6.3.json +470 -434
  25. data/lib/fauxhai/platforms/centos/6.4.json +389 -61
  26. data/lib/fauxhai/platforms/centos/6.5.json +280 -77
  27. data/lib/fauxhai/platforms/centos/6.6.json +372 -3680
  28. data/lib/fauxhai/platforms/centos/6.7.json +615 -0
  29. data/lib/fauxhai/platforms/centos/7.0.1406.json +294 -3611
  30. data/lib/fauxhai/platforms/centos/7.0.json +169 -2162
  31. data/lib/fauxhai/platforms/centos/7.1.1503.json +814 -0
  32. data/lib/fauxhai/platforms/debian/7.7.json +635 -0
  33. data/lib/fauxhai/platforms/debian/7.8.json +635 -0
  34. data/lib/fauxhai/platforms/debian/7.9.json +674 -0
  35. data/lib/fauxhai/platforms/debian/8.0.json +681 -0
  36. data/lib/fauxhai/platforms/debian/8.1.json +681 -0
  37. data/lib/fauxhai/platforms/debian/8.2.json +781 -0
  38. data/lib/fauxhai/platforms/debian/stretch/sid.json +611 -0
  39. data/lib/fauxhai/platforms/dragonfly4/4.2-RELEASE.json +155 -0
  40. data/lib/fauxhai/platforms/fedora/21.json +348 -91
  41. data/lib/fauxhai/platforms/fedora/22.json +752 -0
  42. data/lib/fauxhai/platforms/freebsd/10.0.json +1 -1
  43. data/lib/fauxhai/platforms/freebsd/10.1.json +316 -0
  44. data/lib/fauxhai/platforms/freebsd/10.2.json +316 -0
  45. data/lib/fauxhai/platforms/freebsd/9.1.json +141 -428
  46. data/lib/fauxhai/platforms/freebsd/9.2.json +25 -38
  47. data/lib/fauxhai/platforms/freebsd/9.3.json +316 -0
  48. data/lib/fauxhai/platforms/ios_xr/6.0.0.14I.json +342 -0
  49. data/lib/fauxhai/platforms/mac_os_x/10.11.1.json +857 -0
  50. data/lib/fauxhai/platforms/nexus/5.json +300 -0
  51. data/lib/fauxhai/platforms/omnios/151014.json +2422 -0
  52. data/lib/fauxhai/platforms/opensuse/12.3.json +249 -2208
  53. data/lib/fauxhai/platforms/opensuse/13.1.json +166 -2193
  54. data/lib/fauxhai/platforms/opensuse/13.2.json +646 -0
  55. data/lib/fauxhai/platforms/oracle/6.6.json +377 -0
  56. data/lib/fauxhai/platforms/oracle/7.0.json +627 -0
  57. data/lib/fauxhai/platforms/oracle/7.1.json +821 -0
  58. data/lib/fauxhai/platforms/redhat/6.6.json +519 -0
  59. data/lib/fauxhai/platforms/redhat/7.1.json +746 -0
  60. data/lib/fauxhai/platforms/solaris2/5.11.json +1 -0
  61. data/lib/fauxhai/platforms/ubuntu/12.04.json +257 -190
  62. data/lib/fauxhai/platforms/ubuntu/14.04.json +246 -184
  63. data/lib/fauxhai/platforms/ubuntu/15.04.json +643 -0
  64. data/lib/fauxhai/platforms/ubuntu/15.10.json +651 -0
  65. data/lib/fauxhai/platforms/windows/10.json +3545 -0
  66. data/lib/fauxhai/platforms/windows/2003R2.json +7887 -7887
  67. data/lib/fauxhai/platforms/windows/2008R2.json +532 -770
  68. data/lib/fauxhai/platforms/windows/2012.json +728 -1257
  69. data/lib/fauxhai/platforms/windows/2012R2.json +737 -1063
  70. data/lib/fauxhai/platforms/windows/8.1.json +3512 -0
  71. data/lib/fauxhai/platforms/windows/8.json +3926 -0
  72. data/lib/fauxhai/runner.rb +1 -0
  73. data/lib/fauxhai/version.rb +1 -1
  74. metadata +61 -7
@@ -1,10 +1,42 @@
1
1
  {
2
+ "command": {
3
+ "ps": "ps -ef"
4
+ },
2
5
  "kernel": {
3
6
  "name": "Linux",
4
- "release": "2.6.32-358.6.2.el6.x86_64",
5
- "version": "#1 SMP Thu May 16 20:59:36 UTC 2013",
7
+ "release": "2.6.32-358.el6.x86_64",
8
+ "version": "#1 SMP Fri Feb 22 00:31:26 UTC 2013",
6
9
  "machine": "x86_64",
10
+ "os": "GNU/Linux",
7
11
  "modules": {
12
+ "autofs4": {
13
+ "size": "26513",
14
+ "refcount": "3"
15
+ },
16
+ "sunrpc": {
17
+ "size": "260521",
18
+ "refcount": "1"
19
+ },
20
+ "ipt_REJECT": {
21
+ "size": "2351",
22
+ "refcount": "2"
23
+ },
24
+ "nf_conntrack_ipv4": {
25
+ "size": "9506",
26
+ "refcount": "2"
27
+ },
28
+ "nf_defrag_ipv4": {
29
+ "size": "1483",
30
+ "refcount": "1"
31
+ },
32
+ "iptable_filter": {
33
+ "size": "2793",
34
+ "refcount": "1"
35
+ },
36
+ "ip_tables": {
37
+ "size": "17831",
38
+ "refcount": "1"
39
+ },
8
40
  "ip6t_REJECT": {
9
41
  "size": "4628",
10
42
  "refcount": "2"
@@ -19,11 +51,11 @@
19
51
  },
20
52
  "xt_state": {
21
53
  "size": "1492",
22
- "refcount": "2"
54
+ "refcount": "4"
23
55
  },
24
56
  "nf_conntrack": {
25
- "size": "79645",
26
- "refcount": "2"
57
+ "size": "79357",
58
+ "refcount": "3"
27
59
  },
28
60
  "ip6table_filter": {
29
61
  "size": "2889",
@@ -34,20 +66,72 @@
34
66
  "refcount": "1"
35
67
  },
36
68
  "ipv6": {
37
- "size": "321454",
38
- "refcount": "13"
69
+ "size": "321422",
70
+ "refcount": "29"
39
71
  },
40
- "dm_mod": {
41
- "size": "82839",
72
+ "microcode": {
73
+ "size": "112653",
42
74
  "refcount": "0"
43
75
  },
44
- "xen_netfront": {
45
- "size": "18905",
76
+ "i2c_piix4": {
77
+ "size": "12608",
78
+ "refcount": "0"
79
+ },
80
+ "i2c_core": {
81
+ "size": "31084",
82
+ "refcount": "1"
83
+ },
84
+ "snd_intel8x0": {
85
+ "size": "30556",
86
+ "refcount": "0"
87
+ },
88
+ "snd_ac97_codec": {
89
+ "size": "124967",
90
+ "refcount": "1"
91
+ },
92
+ "ac97_bus": {
93
+ "size": "1452",
94
+ "refcount": "1"
95
+ },
96
+ "snd_seq": {
97
+ "size": "55759",
98
+ "refcount": "0"
99
+ },
100
+ "snd_seq_device": {
101
+ "size": "6500",
102
+ "refcount": "1"
103
+ },
104
+ "snd_pcm": {
105
+ "size": "86635",
106
+ "refcount": "2"
107
+ },
108
+ "snd_timer": {
109
+ "size": "22411",
110
+ "refcount": "2"
111
+ },
112
+ "snd": {
113
+ "size": "69907",
114
+ "refcount": "6"
115
+ },
116
+ "soundcore": {
117
+ "size": "7958",
118
+ "refcount": "1"
119
+ },
120
+ "snd_page_alloc": {
121
+ "size": "8470",
122
+ "refcount": "2"
123
+ },
124
+ "e1000": {
125
+ "size": "170646",
126
+ "refcount": "0"
127
+ },
128
+ "sg": {
129
+ "size": "29350",
46
130
  "refcount": "0"
47
131
  },
48
132
  "ext4": {
49
133
  "size": "363408",
50
- "refcount": "1"
134
+ "refcount": "2"
51
135
  },
52
136
  "mbcache": {
53
137
  "size": "8193",
@@ -57,55 +141,120 @@
57
141
  "size": "90230",
58
142
  "refcount": "1"
59
143
  },
60
- "xen_blkfront": {
61
- "size": "15495",
144
+ "video": {
145
+ "size": "20674",
146
+ "refcount": "0"
147
+ },
148
+ "output": {
149
+ "size": "2409",
150
+ "refcount": "1"
151
+ },
152
+ "sd_mod": {
153
+ "size": "38976",
154
+ "refcount": "3"
155
+ },
156
+ "crc_t10dif": {
157
+ "size": "1541",
158
+ "refcount": "1"
159
+ },
160
+ "sr_mod": {
161
+ "size": "15177",
162
+ "refcount": "0"
163
+ },
164
+ "cdrom": {
165
+ "size": "39085",
62
166
  "refcount": "1"
167
+ },
168
+ "ahci": {
169
+ "size": "41127",
170
+ "refcount": "2"
171
+ },
172
+ "pata_acpi": {
173
+ "size": "3701",
174
+ "refcount": "0"
175
+ },
176
+ "ata_generic": {
177
+ "size": "3837",
178
+ "refcount": "0"
179
+ },
180
+ "ata_piix": {
181
+ "size": "24121",
182
+ "refcount": "0"
183
+ },
184
+ "dm_mirror": {
185
+ "size": "14133",
186
+ "refcount": "0"
187
+ },
188
+ "dm_region_hash": {
189
+ "size": "12085",
190
+ "refcount": "1"
191
+ },
192
+ "dm_log": {
193
+ "size": "9930",
194
+ "refcount": "2"
195
+ },
196
+ "dm_mod": {
197
+ "size": "82839",
198
+ "refcount": "8"
63
199
  }
64
- },
65
- "os": "GNU/Linux"
200
+ }
66
201
  },
67
202
  "os": "linux",
68
- "os_version": "2.6.32-358.6.2.el6.x86_64",
203
+ "os_version": "2.6.32-358.el6.x86_64",
204
+ "lsb": {
205
+ },
69
206
  "platform": "centos",
70
207
  "platform_version": "6.4",
71
208
  "platform_family": "rhel",
72
- "cpu": {
73
- "real": 1,
74
- "total": 1
75
- },
76
- "memory": {
77
- "total": "524288kB"
78
- },
79
- "ohai_time": 1376536240.9606414,
80
- "dmi": {
81
- },
82
- "command": {
83
- "ps": "ps -ef"
84
- },
85
209
  "filesystem": {
86
- "/dev/xvde": {
87
- "kb_size": "41284928",
88
- "kb_used": "2033120",
89
- "kb_available": "37155068",
90
- "percent_used": "6%",
210
+ "/dev/mapper/VolGroup-lv_root": {
211
+ "kb_size": "5716804",
212
+ "kb_used": "2005124",
213
+ "kb_available": "3421276",
214
+ "percent_used": "37%",
91
215
  "mount": "/",
216
+ "total_inodes": "363600",
217
+ "inodes_used": "66371",
218
+ "inodes_available": "297229",
219
+ "inodes_percent_used": "19%",
92
220
  "fs_type": "ext4",
93
221
  "mount_options": [
94
222
  "rw"
95
223
  ],
96
- "uuid": "80c81f73-14ee-47eb-8a1d-ac048172b8ed"
224
+ "uuid": "f0390e5d-850a-406d-a104-99b7f4fac872"
97
225
  },
98
226
  "tmpfs": {
99
- "kb_size": "847608",
227
+ "kb_size": "510268",
100
228
  "kb_used": "0",
101
- "kb_available": "847608",
229
+ "kb_available": "510268",
102
230
  "percent_used": "0%",
103
231
  "mount": "/dev/shm",
232
+ "total_inodes": "127567",
233
+ "inodes_used": "1",
234
+ "inodes_available": "127566",
235
+ "inodes_percent_used": "1%",
104
236
  "fs_type": "tmpfs",
105
237
  "mount_options": [
106
- "rw"
238
+ "rw",
239
+ "rootcontext=\"system_u:object_r:tmpfs_t:s0\""
107
240
  ]
108
241
  },
242
+ "/dev/sda1": {
243
+ "kb_size": "495844",
244
+ "kb_used": "33443",
245
+ "kb_available": "436801",
246
+ "percent_used": "8%",
247
+ "mount": "/boot",
248
+ "total_inodes": "128016",
249
+ "inodes_used": "38",
250
+ "inodes_available": "127978",
251
+ "inodes_percent_used": "1%",
252
+ "fs_type": "ext4",
253
+ "mount_options": [
254
+ "rw"
255
+ ],
256
+ "uuid": "c452f042-c6ce-4dd8-bd3e-2c96895d4c7f"
257
+ },
109
258
  "proc": {
110
259
  "mount": "/proc",
111
260
  "fs_type": "proc",
@@ -136,6 +285,21 @@
136
285
  "rw"
137
286
  ]
138
287
  },
288
+ "sunrpc": {
289
+ "mount": "/var/lib/nfs/rpc_pipefs",
290
+ "fs_type": "rpc_pipefs",
291
+ "mount_options": [
292
+ "rw"
293
+ ]
294
+ },
295
+ "/dev/sda2": {
296
+ "fs_type": "LVM2_member",
297
+ "uuid": "x40ahw-HPWv-B0YL-3oU3-ipWM-4q5v-XkdMuH"
298
+ },
299
+ "/dev/mapper/VolGroup-lv_swap": {
300
+ "fs_type": "swap",
301
+ "uuid": "c1ec359a-3602-4e3c-9c85-44fb4c49e9e4"
302
+ },
139
303
  "rootfs": {
140
304
  "mount": "/",
141
305
  "fs_type": "rootfs",
@@ -148,9 +312,10 @@
148
312
  "fs_type": "devtmpfs",
149
313
  "mount_options": [
150
314
  "rw",
315
+ "seclabel",
151
316
  "relatime",
152
- "size=837224k",
153
- "nr_inodes=209306",
317
+ "size=500428k",
318
+ "nr_inodes=125107",
154
319
  "mode=755"
155
320
  ]
156
321
  },
@@ -161,35 +326,190 @@
161
326
  "rw",
162
327
  "relatime"
163
328
  ]
329
+ },
330
+ "/etc/auto.misc": {
331
+ "mount": "/misc",
332
+ "fs_type": "autofs",
333
+ "mount_options": [
334
+ "rw",
335
+ "relatime",
336
+ "fd=7",
337
+ "pgrp=1271",
338
+ "timeout=300",
339
+ "minproto=5",
340
+ "maxproto=5",
341
+ "indirect"
342
+ ]
343
+ },
344
+ "-hosts": {
345
+ "mount": "/net",
346
+ "fs_type": "autofs",
347
+ "mount_options": [
348
+ "rw",
349
+ "relatime",
350
+ "fd=13",
351
+ "pgrp=1271",
352
+ "timeout=300",
353
+ "minproto=5",
354
+ "maxproto=5",
355
+ "indirect"
356
+ ]
357
+ }
358
+ },
359
+ "dmi": {
360
+ "dmidecode_version": "2.11",
361
+ "smbios_version": "2.5",
362
+ "structures": {
363
+ "count": "10",
364
+ "size": "449"
365
+ },
366
+ "table_location": "0x000E1000",
367
+ "bios": {
368
+ "all_records": [
369
+ {
370
+ "record_id": "0x0000",
371
+ "size": "0",
372
+ "application_identifier": "BIOS Information",
373
+ "Vendor": "innotek GmbH",
374
+ "Version": "VirtualBox",
375
+ "Release Date": "12/01/2006",
376
+ "Address": "0xE0000",
377
+ "Runtime Size": "128 kB",
378
+ "ROM Size": "128 kB",
379
+ "Characteristics": {
380
+ "ISA is supported": null,
381
+ "PCI is supported": null,
382
+ "Boot from CD is supported": null,
383
+ "Selectable boot is supported": null,
384
+ "8042 keyboard services are supported (int 9h)": null,
385
+ "CGA/mono video services are supported (int 10h)": null,
386
+ "ACPI is supported": null
387
+ }
388
+ }
389
+ ],
390
+ "vendor": "innotek GmbH",
391
+ "version": "VirtualBox",
392
+ "release_date": "12/01/2006",
393
+ "address": "0xE0000",
394
+ "runtime_size": "128 kB",
395
+ "rom_size": "128 kB"
396
+ },
397
+ "system": {
398
+ "all_records": [
399
+ {
400
+ "record_id": "0x0001",
401
+ "size": "1",
402
+ "application_identifier": "System Information",
403
+ "Manufacturer": "innotek GmbH",
404
+ "Product Name": "VirtualBox",
405
+ "Version": "1.2",
406
+ "Serial Number": "0",
407
+ "UUID": "449901AC-D9A5-4288-895B-FF1AE1CF6A77",
408
+ "Wake-up Type": "Power Switch",
409
+ "SKU Number": "Not Specified",
410
+ "Family": "Virtual Machine"
411
+ }
412
+ ],
413
+ "manufacturer": "innotek GmbH",
414
+ "product_name": "VirtualBox",
415
+ "version": "1.2",
416
+ "serial_number": "0",
417
+ "uuid": "449901AC-D9A5-4288-895B-FF1AE1CF6A77",
418
+ "wake_up_type": "Power Switch",
419
+ "sku_number": "Not Specified",
420
+ "family": "Virtual Machine"
421
+ },
422
+ "base_board": {
423
+ "all_records": [
424
+ {
425
+ "record_id": "0x0008",
426
+ "size": "2",
427
+ "application_identifier": "Base Board Information",
428
+ "Manufacturer": "Oracle Corporation",
429
+ "Product Name": "VirtualBox",
430
+ "Version": "1.2",
431
+ "Serial Number": "0",
432
+ "Asset Tag": "Not Specified",
433
+ "Features": {
434
+ "Board is a hosting board": null
435
+ },
436
+ "Location In Chassis": "Not Specified",
437
+ "Chassis Handle": "0x0003",
438
+ "Type": "Motherboard",
439
+ "Contained Object Handles": "0"
440
+ }
441
+ ],
442
+ "manufacturer": "Oracle Corporation",
443
+ "product_name": "VirtualBox",
444
+ "version": "1.2",
445
+ "serial_number": "0",
446
+ "asset_tag": "Not Specified",
447
+ "location_in_chassis": "Not Specified",
448
+ "chassis_handle": "0x0003",
449
+ "type": "Motherboard",
450
+ "contained_object_handles": "0"
451
+ },
452
+ "chassis": {
453
+ "all_records": [
454
+ {
455
+ "record_id": "0x0003",
456
+ "size": "3",
457
+ "application_identifier": "Chassis Information",
458
+ "Manufacturer": "Oracle Corporation",
459
+ "Type": "Other",
460
+ "Lock": "Not Present",
461
+ "Version": "Not Specified",
462
+ "Serial Number": "Not Specified",
463
+ "Asset Tag": "Not Specified",
464
+ "Boot-up State": "Safe",
465
+ "Power Supply State": "Safe",
466
+ "Thermal State": "Safe",
467
+ "Security Status": "None"
468
+ }
469
+ ],
470
+ "manufacturer": "Oracle Corporation",
471
+ "type": "Other",
472
+ "lock": "Not Present",
473
+ "version": "Not Specified",
474
+ "serial_number": "Not Specified",
475
+ "asset_tag": "Not Specified",
476
+ "boot_up_state": "Safe",
477
+ "power_supply_state": "Safe",
478
+ "thermal_state": "Safe",
479
+ "security_status": "None"
480
+ },
481
+ "oem_strings": {
482
+ "all_records": [
483
+ {
484
+ "record_id": "0x0002",
485
+ "size": "11",
486
+ "application_identifier": "OEM Strings",
487
+ "String 1": "vboxVer_5.0.6",
488
+ "String 2": "vboxRev_103037"
489
+ }
490
+ ],
491
+ "string_1": "vboxVer_5.0.6",
492
+ "string_2": "vboxRev_103037"
164
493
  }
165
494
  },
495
+ "ohai_time": 1445890620.0251355,
166
496
  "languages": {
167
497
  "ruby": {
168
- "platform": "x86_64-linux",
169
- "version": "1.9.3",
170
- "release_date": "2013-05-15",
171
- "target": "x86_64-unknown-linux-gnu",
172
- "target_cpu": "x86_64",
173
- "target_vendor": "unknown",
174
- "target_os": "linux",
175
- "host": "x86_64-unknown-linux-gnu",
176
- "host_cpu": "x86_64",
177
- "host_os": "linux-gnu",
178
- "host_vendor": "unknown",
179
498
  "bin_dir": "/usr/local/bin",
180
- "ruby_bin": "/usr/local/bin/ruby",
499
+ "gem_bin": "/usr/local/bin/gem",
181
500
  "gems_dir": "/usr/local/gems",
182
- "gem_bin": "/usr/local/bin/gem"
183
- }
501
+ "ruby_bin": "/usr/local/bin/ruby"
502
+ },
503
+ "powershell": null
184
504
  },
185
505
  "chef_packages": {
186
506
  "chef": {
187
- "version": "11.6.0",
188
- "chef_root": "/usr/local/gems/chef-11.6.0/lib"
507
+ "version": "12.5.1",
508
+ "chef_root": "/usr/local/gems/chef-12.5.1/lib"
189
509
  },
190
510
  "ohai": {
191
- "version": "6.18.0",
192
- "ohai_root": "/usr/local/gems/ohai-6.18.0/lib/ohai"
511
+ "version": "8.7.0",
512
+ "ohai_root": "/usr/local/gems/ohai-8.7.0/lib/ohai"
193
513
  }
194
514
  },
195
515
  "counters": {
@@ -254,7 +574,8 @@
254
574
  "network": {
255
575
  "default_gateway": "10.0.0.1",
256
576
  "default_interface": "eth0",
257
- "settings": {},
577
+ "settings": {
578
+ },
258
579
  "interfaces": {
259
580
  "eth0": {
260
581
  "addresses": {
@@ -290,5 +611,12 @@
290
611
  }
291
612
  },
292
613
  "uptime": "30 days 15 hours 07 minutes 30 seconds",
293
- "uptime_seconds": 2646450
614
+ "uptime_seconds": 2646450,
615
+ "cpu": {
616
+ "real": 1,
617
+ "total": 1
618
+ },
619
+ "memory": {
620
+ "total": "1024MB"
621
+ }
294
622
  }