fauxhai-ng 8.1.0 → 8.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/bin/fauxhai +8 -8
  3. data/lib/.DS_Store +0 -0
  4. data/lib/fauxhai.rb +5 -5
  5. data/lib/fauxhai/.DS_Store +0 -0
  6. data/lib/fauxhai/fetcher.rb +9 -8
  7. data/lib/fauxhai/mocker.rb +14 -14
  8. data/lib/fauxhai/platforms/.DS_Store +0 -0
  9. data/lib/fauxhai/platforms/aix/6.1.json +1 -1
  10. data/lib/fauxhai/platforms/aix/7.1.json +781 -2025
  11. data/lib/fauxhai/platforms/aix/7.2.json +5284 -0
  12. data/lib/fauxhai/platforms/amazon/2.json +3152 -3145
  13. data/lib/fauxhai/platforms/amazon/2016.03.json +2325 -2335
  14. data/lib/fauxhai/platforms/amazon/2016.09.json +2350 -2360
  15. data/lib/fauxhai/platforms/amazon/2017.03.json +2337 -2347
  16. data/lib/fauxhai/platforms/amazon/2017.09.json +2380 -2390
  17. data/lib/fauxhai/platforms/amazon/2018.03.json +2402 -2419
  18. data/lib/fauxhai/platforms/centos/6.9.json +1 -0
  19. data/lib/fauxhai/platforms/centos/7.5.1804.json +1 -0
  20. data/lib/fauxhai/platforms/centos/7.7.1908.json +1513 -7517
  21. data/lib/fauxhai/platforms/centos/7.8.2003.json +3797 -0
  22. data/lib/fauxhai/platforms/centos/8.json +1169 -846
  23. data/lib/fauxhai/platforms/debian/10.json +417 -205
  24. data/lib/fauxhai/platforms/debian/8.11.json +1 -0
  25. data/lib/fauxhai/platforms/debian/9.11.json +52 -43
  26. data/lib/fauxhai/platforms/debian/{8.10.json → 9.12.json} +994 -1644
  27. data/lib/fauxhai/platforms/debian/9.8.json +49 -39
  28. data/lib/fauxhai/platforms/debian/9.9.json +49 -39
  29. data/lib/fauxhai/platforms/fedora/30.json +1 -0
  30. data/lib/fauxhai/platforms/fedora/31.json +672 -657
  31. data/lib/fauxhai/platforms/fedora/32.json +3547 -0
  32. data/lib/fauxhai/platforms/opensuse/15.0.json +1 -0
  33. data/lib/fauxhai/platforms/opensuse/15.1.json +45 -47
  34. data/lib/fauxhai/platforms/opensuse/15.2.json +5961 -0
  35. data/lib/fauxhai/platforms/oracle/6.10.json +19 -19
  36. data/lib/fauxhai/platforms/oracle/6.9.json +1 -0
  37. data/lib/fauxhai/platforms/oracle/7.5.json +481 -497
  38. data/lib/fauxhai/platforms/redhat/6.10.json +40 -31
  39. data/lib/fauxhai/platforms/redhat/6.9.json +49 -40
  40. data/lib/fauxhai/platforms/redhat/7.4.json +54 -45
  41. data/lib/fauxhai/platforms/redhat/7.5.json +57 -47
  42. data/lib/fauxhai/platforms/redhat/7.6.json +510 -659
  43. data/lib/fauxhai/platforms/redhat/7.7.json +54 -45
  44. data/lib/fauxhai/platforms/redhat/7.8.json +3954 -0
  45. data/lib/fauxhai/platforms/redhat/8.json +941 -907
  46. data/lib/fauxhai/platforms/suse/12.3.json +39 -40
  47. data/lib/fauxhai/platforms/suse/12.4.json +40 -42
  48. data/lib/fauxhai/platforms/suse/12.5.json +5922 -0
  49. data/lib/fauxhai/platforms/suse/15.json +996 -998
  50. data/lib/fauxhai/platforms/ubuntu/.DS_Store +0 -0
  51. data/lib/fauxhai/platforms/ubuntu/16.04.json +2064 -1991
  52. data/lib/fauxhai/platforms/ubuntu/18.04.json +2109 -2110
  53. data/lib/fauxhai/platforms/ubuntu/20.04.json +2140 -2123
  54. data/lib/fauxhai/runner.rb +27 -27
  55. data/lib/fauxhai/runner/default.rb +128 -128
  56. data/lib/fauxhai/runner/windows.rb +77 -77
  57. data/lib/fauxhai/version.rb +1 -1
  58. metadata +13 -8
  59. data/lib/fauxhai/platforms/debian/8.9.json +0 -3614
@@ -10,12 +10,12 @@
10
10
  },
11
11
  "chef_packages": {
12
12
  "chef": {
13
- "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.7.0/gems/chef-16.0.257/lib",
14
- "version": "16.0.257"
13
+ "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.7.0/gems/chef-16.6.14/lib",
14
+ "version": "16.6.14"
15
15
  },
16
16
  "ohai": {
17
- "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.7.0/gems/ohai-16.0.20/lib/ohai",
18
- "version": "16.0.20"
17
+ "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.7.0/gems/ohai-16.6.5/lib/ohai",
18
+ "version": "16.6.5"
19
19
  }
20
20
  },
21
21
  "command": {
@@ -73,6 +73,7 @@
73
73
  "total": 1
74
74
  },
75
75
  "current_user": "fauxhai",
76
+ "deprecated": true,
76
77
  "dmi": {
77
78
  "bios": {
78
79
  "address": "0xE8000",
@@ -81,8 +82,6 @@
81
82
  "Address": "0xE8000",
82
83
  "BIOS Revision": "4.2",
83
84
  "Characteristics": {
84
- "EDD is supported": null,
85
- "PCI is supported": null,
86
85
  "Targeted content distribution is supported": null
87
86
  },
88
87
  "ROM Size": "64 kB",
@@ -188,8 +187,8 @@
188
187
  "Manufacturer": "Xen",
189
188
  "Product Name": "HVM domU",
190
189
  "SKU Number": "Not Specified",
191
- "Serial Number": "ec29aba2-524d-ddf8-ea68-ed7854db365c",
192
- "UUID": "EC29ABA2-524D-DDF8-EA68-ED7854DB365C",
190
+ "Serial Number": "ec219fc4-14de-aac3-887d-64ba36841564",
191
+ "UUID": "EC219FC4-14DE-AAC3-887D-64BA36841564",
193
192
  "Version": "4.2.amazon",
194
193
  "Wake-up Type": "Power Switch",
195
194
  "application_identifier": "System Information",
@@ -200,9 +199,9 @@
200
199
  "family": "Not Specified",
201
200
  "manufacturer": "Xen",
202
201
  "product_name": "HVM domU",
203
- "serial_number": "ec29aba2-524d-ddf8-ea68-ed7854db365c",
202
+ "serial_number": "ec219fc4-14de-aac3-887d-64ba36841564",
204
203
  "sku_number": "Not Specified",
205
- "uuid": "EC29ABA2-524D-DDF8-EA68-ED7854DB365C",
204
+ "uuid": "EC219FC4-14DE-AAC3-887D-64BA36841564",
206
205
  "version": "4.2.amazon",
207
206
  "wake_up_type": "Power Switch"
208
207
  }
@@ -215,12 +214,12 @@
215
214
  },
216
215
  "/dev/xvda1": {
217
216
  "fs_type": "ext4",
218
- "inodes_available": "474122",
217
+ "inodes_available": "474540",
219
218
  "inodes_percent_used": "10%",
220
- "inodes_used": "50166",
221
- "kb_available": "6592472",
219
+ "inodes_used": "49748",
220
+ "kb_available": "6614556",
222
221
  "kb_size": "8190392",
223
- "kb_used": "1162160",
222
+ "kb_used": "1140076",
224
223
  "mount_options": [
225
224
  "rw",
226
225
  "relatime",
@@ -243,19 +242,19 @@
243
242
  "nodev",
244
243
  "noexec",
245
244
  "relatime",
246
- "pids"
245
+ "memory"
247
246
  ],
248
247
  "mounts": [
249
248
  "/sys/fs/cgroup/systemd",
250
- "/sys/fs/cgroup/cpuset",
251
- "/sys/fs/cgroup/devices",
252
- "/sys/fs/cgroup/blkio",
253
- "/sys/fs/cgroup/perf_event",
254
249
  "/sys/fs/cgroup/freezer",
250
+ "/sys/fs/cgroup/blkio",
255
251
  "/sys/fs/cgroup/cpu,cpuacct",
252
+ "/sys/fs/cgroup/perf_event",
256
253
  "/sys/fs/cgroup/net_cls,net_prio",
257
- "/sys/fs/cgroup/memory",
258
- "/sys/fs/cgroup/pids"
254
+ "/sys/fs/cgroup/pids",
255
+ "/sys/fs/cgroup/devices",
256
+ "/sys/fs/cgroup/cpuset",
257
+ "/sys/fs/cgroup/memory"
259
258
  ]
260
259
  },
261
260
  "debugfs": {
@@ -360,13 +359,13 @@
360
359
  "mount_options": [
361
360
  "rw",
362
361
  "relatime",
363
- "fd=35",
362
+ "fd=37",
364
363
  "pgrp=1",
365
364
  "timeout=0",
366
365
  "minproto=5",
367
366
  "maxproto=5",
368
367
  "direct",
369
- "pipe_ino=9492"
368
+ "pipe_ino=9570"
370
369
  ],
371
370
  "mounts": [
372
371
  "/proc/sys/fs/binfmt_misc"
@@ -429,12 +428,12 @@
429
428
  "/dev/xvda1"
430
429
  ],
431
430
  "fs_type": "ext4",
432
- "inodes_available": "474122",
431
+ "inodes_available": "474540",
433
432
  "inodes_percent_used": "10%",
434
- "inodes_used": "50166",
435
- "kb_available": "6592472",
433
+ "inodes_used": "49748",
434
+ "kb_available": "6614556",
436
435
  "kb_size": "8190392",
437
- "kb_used": "1162160",
436
+ "kb_used": "1140076",
438
437
  "mount_options": [
439
438
  "rw",
440
439
  "relatime",
@@ -543,13 +542,13 @@
543
542
  "mount_options": [
544
543
  "rw",
545
544
  "relatime",
546
- "fd=35",
545
+ "fd=37",
547
546
  "pgrp=1",
548
547
  "timeout=0",
549
548
  "minproto=5",
550
549
  "maxproto=5",
551
550
  "direct",
552
- "pipe_ino=9492"
551
+ "pipe_ino=9570"
553
552
  ]
554
553
  },
555
554
  "/run": {
@@ -842,12 +841,12 @@
842
841
  "/dev/xvda1,/": {
843
842
  "device": "/dev/xvda1",
844
843
  "fs_type": "ext4",
845
- "inodes_available": "474122",
844
+ "inodes_available": "474540",
846
845
  "inodes_percent_used": "10%",
847
- "inodes_used": "50166",
848
- "kb_available": "6592472",
846
+ "inodes_used": "49748",
847
+ "kb_available": "6614556",
849
848
  "kb_size": "8190392",
850
- "kb_used": "1162160",
849
+ "kb_used": "1140076",
851
850
  "mount": "/",
852
851
  "mount_options": [
853
852
  "rw",
@@ -1090,13 +1089,13 @@
1090
1089
  "mount_options": [
1091
1090
  "rw",
1092
1091
  "relatime",
1093
- "fd=35",
1092
+ "fd=37",
1094
1093
  "pgrp=1",
1095
1094
  "timeout=0",
1096
1095
  "minproto=5",
1097
1096
  "maxproto=5",
1098
1097
  "direct",
1099
- "pipe_ino=9492"
1098
+ "pipe_ino=9570"
1100
1099
  ]
1101
1100
  },
1102
1101
  "tmpfs,/dev/shm": {
@@ -1425,7 +1424,18 @@
1425
1424
  "bin_dir": "/usr/local/bin",
1426
1425
  "gem_bin": "/usr/local/bin/gem",
1427
1426
  "gems_dir": "/usr/local/gems",
1428
- "ruby_bin": "/usr/local/bin/ruby"
1427
+ "host": "x86_64-pc-linux-gnu",
1428
+ "host_cpu": "x86_64",
1429
+ "host_os": "linux-gnu",
1430
+ "host_vendor": "pc",
1431
+ "platform": "x86_64-linux",
1432
+ "release_date": "2020-10-01",
1433
+ "ruby_bin": "/usr/local/bin/ruby",
1434
+ "target": "x86_64-pc-linux-gnu",
1435
+ "target_cpu": "x86_64",
1436
+ "target_os": "linux",
1437
+ "target_vendor": "pc",
1438
+ "version": "2.7.2"
1429
1439
  }
1430
1440
  },
1431
1441
  "lsb": {
@@ -1528,7 +1538,7 @@
1528
1538
  }
1529
1539
  }
1530
1540
  },
1531
- "ohai_time": 1588214674.7108486,
1541
+ "ohai_time": 1604985197.9821608,
1532
1542
  "os": "linux",
1533
1543
  "os_version": "4.9.0-8-amd64",
1534
1544
  "packages": {
@@ -1594,7 +1604,7 @@
1594
1604
  },
1595
1605
  "chef": {
1596
1606
  "arch": "amd64",
1597
- "version": "16.0.257-1"
1607
+ "version": "16.6.14-1"
1598
1608
  },
1599
1609
  "chrony": {
1600
1610
  "arch": "amd64",
@@ -2909,7 +2919,7 @@
2909
2919
  "platform_family": "debian",
2910
2920
  "platform_version": "9",
2911
2921
  "root_group": "root",
2912
- "shard_seed": 106773659,
2922
+ "shard_seed": 50461090,
2913
2923
  "shells": [
2914
2924
  "/bin/sh",
2915
2925
  "/bin/dash",
@@ -10,12 +10,12 @@
10
10
  },
11
11
  "chef_packages": {
12
12
  "chef": {
13
- "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.7.0/gems/chef-16.0.257/lib",
14
- "version": "16.0.257"
13
+ "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.7.0/gems/chef-16.6.14/lib",
14
+ "version": "16.6.14"
15
15
  },
16
16
  "ohai": {
17
- "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.7.0/gems/ohai-16.0.20/lib/ohai",
18
- "version": "16.0.20"
17
+ "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.7.0/gems/ohai-16.6.5/lib/ohai",
18
+ "version": "16.6.5"
19
19
  }
20
20
  },
21
21
  "command": {
@@ -73,6 +73,7 @@
73
73
  "total": 1
74
74
  },
75
75
  "current_user": "fauxhai",
76
+ "deprecated": true,
76
77
  "dmi": {
77
78
  "bios": {
78
79
  "address": "0xE8000",
@@ -81,8 +82,6 @@
81
82
  "Address": "0xE8000",
82
83
  "BIOS Revision": "4.2",
83
84
  "Characteristics": {
84
- "EDD is supported": null,
85
- "PCI is supported": null,
86
85
  "Targeted content distribution is supported": null
87
86
  },
88
87
  "ROM Size": "64 kB",
@@ -188,8 +187,8 @@
188
187
  "Manufacturer": "Xen",
189
188
  "Product Name": "HVM domU",
190
189
  "SKU Number": "Not Specified",
191
- "Serial Number": "ec24a2ef-a1e7-128b-a221-e9604b4704d7",
192
- "UUID": "EC24A2EF-A1E7-128B-A221-E9604B4704D7",
190
+ "Serial Number": "ec20e92d-6311-c71a-61b9-b757ff148b23",
191
+ "UUID": "EC20E92D-6311-C71A-61B9-B757FF148B23",
193
192
  "Version": "4.2.amazon",
194
193
  "Wake-up Type": "Power Switch",
195
194
  "application_identifier": "System Information",
@@ -200,9 +199,9 @@
200
199
  "family": "Not Specified",
201
200
  "manufacturer": "Xen",
202
201
  "product_name": "HVM domU",
203
- "serial_number": "ec24a2ef-a1e7-128b-a221-e9604b4704d7",
202
+ "serial_number": "ec20e92d-6311-c71a-61b9-b757ff148b23",
204
203
  "sku_number": "Not Specified",
205
- "uuid": "EC24A2EF-A1E7-128B-A221-E9604B4704D7",
204
+ "uuid": "EC20E92D-6311-C71A-61B9-B757FF148B23",
206
205
  "version": "4.2.amazon",
207
206
  "wake_up_type": "Power Switch"
208
207
  }
@@ -215,12 +214,12 @@
215
214
  },
216
215
  "/dev/xvda1": {
217
216
  "fs_type": "ext4",
218
- "inodes_available": "474128",
217
+ "inodes_available": "474546",
219
218
  "inodes_percent_used": "10%",
220
- "inodes_used": "50160",
221
- "kb_available": "6592316",
219
+ "inodes_used": "49742",
220
+ "kb_available": "6614400",
222
221
  "kb_size": "8190392",
223
- "kb_used": "1162316",
222
+ "kb_used": "1140232",
224
223
  "mount_options": [
225
224
  "rw",
226
225
  "relatime",
@@ -243,19 +242,19 @@
243
242
  "nodev",
244
243
  "noexec",
245
244
  "relatime",
246
- "memory"
245
+ "freezer"
247
246
  ],
248
247
  "mounts": [
249
248
  "/sys/fs/cgroup/systemd",
250
- "/sys/fs/cgroup/net_cls,net_prio",
251
- "/sys/fs/cgroup/freezer",
252
249
  "/sys/fs/cgroup/pids",
253
- "/sys/fs/cgroup/cpuset",
254
- "/sys/fs/cgroup/cpu,cpuacct",
250
+ "/sys/fs/cgroup/blkio",
255
251
  "/sys/fs/cgroup/devices",
256
252
  "/sys/fs/cgroup/perf_event",
257
- "/sys/fs/cgroup/blkio",
258
- "/sys/fs/cgroup/memory"
253
+ "/sys/fs/cgroup/cpuset",
254
+ "/sys/fs/cgroup/cpu,cpuacct",
255
+ "/sys/fs/cgroup/net_cls,net_prio",
256
+ "/sys/fs/cgroup/memory",
257
+ "/sys/fs/cgroup/freezer"
259
258
  ]
260
259
  },
261
260
  "debugfs": {
@@ -360,13 +359,13 @@
360
359
  "mount_options": [
361
360
  "rw",
362
361
  "relatime",
363
- "fd=33",
362
+ "fd=37",
364
363
  "pgrp=1",
365
364
  "timeout=0",
366
365
  "minproto=5",
367
366
  "maxproto=5",
368
367
  "direct",
369
- "pipe_ino=9491"
368
+ "pipe_ino=9612"
370
369
  ],
371
370
  "mounts": [
372
371
  "/proc/sys/fs/binfmt_misc"
@@ -429,12 +428,12 @@
429
428
  "/dev/xvda1"
430
429
  ],
431
430
  "fs_type": "ext4",
432
- "inodes_available": "474128",
431
+ "inodes_available": "474546",
433
432
  "inodes_percent_used": "10%",
434
- "inodes_used": "50160",
435
- "kb_available": "6592316",
433
+ "inodes_used": "49742",
434
+ "kb_available": "6614400",
436
435
  "kb_size": "8190392",
437
- "kb_used": "1162316",
436
+ "kb_used": "1140232",
438
437
  "mount_options": [
439
438
  "rw",
440
439
  "relatime",
@@ -543,13 +542,13 @@
543
542
  "mount_options": [
544
543
  "rw",
545
544
  "relatime",
546
- "fd=33",
545
+ "fd=37",
547
546
  "pgrp=1",
548
547
  "timeout=0",
549
548
  "minproto=5",
550
549
  "maxproto=5",
551
550
  "direct",
552
- "pipe_ino=9491"
551
+ "pipe_ino=9612"
553
552
  ]
554
553
  },
555
554
  "/run": {
@@ -842,12 +841,12 @@
842
841
  "/dev/xvda1,/": {
843
842
  "device": "/dev/xvda1",
844
843
  "fs_type": "ext4",
845
- "inodes_available": "474128",
844
+ "inodes_available": "474546",
846
845
  "inodes_percent_used": "10%",
847
- "inodes_used": "50160",
848
- "kb_available": "6592316",
846
+ "inodes_used": "49742",
847
+ "kb_available": "6614400",
849
848
  "kb_size": "8190392",
850
- "kb_used": "1162316",
849
+ "kb_used": "1140232",
851
850
  "mount": "/",
852
851
  "mount_options": [
853
852
  "rw",
@@ -1090,13 +1089,13 @@
1090
1089
  "mount_options": [
1091
1090
  "rw",
1092
1091
  "relatime",
1093
- "fd=33",
1092
+ "fd=37",
1094
1093
  "pgrp=1",
1095
1094
  "timeout=0",
1096
1095
  "minproto=5",
1097
1096
  "maxproto=5",
1098
1097
  "direct",
1099
- "pipe_ino=9491"
1098
+ "pipe_ino=9612"
1100
1099
  ]
1101
1100
  },
1102
1101
  "tmpfs,/dev/shm": {
@@ -1425,7 +1424,18 @@
1425
1424
  "bin_dir": "/usr/local/bin",
1426
1425
  "gem_bin": "/usr/local/bin/gem",
1427
1426
  "gems_dir": "/usr/local/gems",
1428
- "ruby_bin": "/usr/local/bin/ruby"
1427
+ "host": "x86_64-pc-linux-gnu",
1428
+ "host_cpu": "x86_64",
1429
+ "host_os": "linux-gnu",
1430
+ "host_vendor": "pc",
1431
+ "platform": "x86_64-linux",
1432
+ "release_date": "2020-10-01",
1433
+ "ruby_bin": "/usr/local/bin/ruby",
1434
+ "target": "x86_64-pc-linux-gnu",
1435
+ "target_cpu": "x86_64",
1436
+ "target_os": "linux",
1437
+ "target_vendor": "pc",
1438
+ "version": "2.7.2"
1429
1439
  }
1430
1440
  },
1431
1441
  "lsb": {
@@ -1528,7 +1538,7 @@
1528
1538
  }
1529
1539
  }
1530
1540
  },
1531
- "ohai_time": 1588214433.8936298,
1541
+ "ohai_time": 1604985312.5831692,
1532
1542
  "os": "linux",
1533
1543
  "os_version": "4.9.0-9-amd64",
1534
1544
  "packages": {
@@ -1594,7 +1604,7 @@
1594
1604
  },
1595
1605
  "chef": {
1596
1606
  "arch": "amd64",
1597
- "version": "16.0.257-1"
1607
+ "version": "16.6.14-1"
1598
1608
  },
1599
1609
  "chrony": {
1600
1610
  "arch": "amd64",
@@ -2909,7 +2919,7 @@
2909
2919
  "platform_family": "debian",
2910
2920
  "platform_version": "9",
2911
2921
  "root_group": "root",
2912
- "shard_seed": 244792439,
2922
+ "shard_seed": 163158122,
2913
2923
  "shells": [
2914
2924
  "/bin/sh",
2915
2925
  "/bin/dash",
@@ -74,6 +74,7 @@
74
74
  "total": 1
75
75
  },
76
76
  "current_user": "fauxhai",
77
+ "deprecated": true,
77
78
  "dmi": {},
78
79
  "domain": "local",
79
80
  "filesystem": {