fauxhai 4.1.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +3 -2
  3. data/CHANGELOG.md +71 -12
  4. data/CONTRIBUTING.md +32 -20
  5. data/PLATFORMS.md +13 -73
  6. data/README.md +4 -4
  7. data/Rakefile +5 -1
  8. data/fauxhai.gemspec +3 -3
  9. data/lib/fauxhai/fetcher.rb +1 -1
  10. data/lib/fauxhai/mocker.rb +19 -17
  11. data/lib/fauxhai/platforms/amazon/2012.09.json +526 -178
  12. data/lib/fauxhai/platforms/amazon/2013.09.json +561 -235
  13. data/lib/fauxhai/platforms/amazon/2014.03.json +586 -291
  14. data/lib/fauxhai/platforms/amazon/2014.09.json +552 -218
  15. data/lib/fauxhai/platforms/amazon/2015.03.json +576 -222
  16. data/lib/fauxhai/platforms/amazon/2015.09.json +542 -238
  17. data/lib/fauxhai/platforms/amazon/2016.03.json +552 -246
  18. data/lib/fauxhai/platforms/amazon/2016.09.json +539 -237
  19. data/lib/fauxhai/platforms/amazon/2017.03.json +667 -0
  20. data/lib/fauxhai/platforms/arch/4.10.13-1-ARCH.json +1674 -0
  21. data/lib/fauxhai/platforms/arch/4.5.4-1-ARCH.json +2 -1
  22. data/lib/fauxhai/platforms/arch/4.9.11-1-ARCH.json +1 -0
  23. data/lib/fauxhai/platforms/centos/5.0.json +1 -0
  24. data/lib/fauxhai/platforms/centos/5.1.json +1 -0
  25. data/lib/fauxhai/platforms/centos/5.10.json +4536 -496
  26. data/lib/fauxhai/platforms/centos/5.11.json +4485 -318
  27. data/lib/fauxhai/platforms/centos/5.2.json +1 -0
  28. data/lib/fauxhai/platforms/centos/5.3.json +1 -0
  29. data/lib/fauxhai/platforms/centos/5.4.json +1 -0
  30. data/lib/fauxhai/platforms/centos/5.5.json +1 -0
  31. data/lib/fauxhai/platforms/centos/5.6.json +1 -0
  32. data/lib/fauxhai/platforms/centos/5.7.json +1 -0
  33. data/lib/fauxhai/platforms/centos/5.8.json +1 -0
  34. data/lib/fauxhai/platforms/centos/5.9.json +1 -0
  35. data/lib/fauxhai/platforms/centos/6.0.json +1 -0
  36. data/lib/fauxhai/platforms/centos/6.1.json +1 -0
  37. data/lib/fauxhai/platforms/centos/6.2.json +1 -0
  38. data/lib/fauxhai/platforms/centos/6.3.json +1 -0
  39. data/lib/fauxhai/platforms/centos/6.4.json +1 -0
  40. data/lib/fauxhai/platforms/centos/6.5.json +1 -0
  41. data/lib/fauxhai/platforms/centos/6.6.json +1 -0
  42. data/lib/fauxhai/platforms/centos/6.8.json +2278 -422
  43. data/lib/fauxhai/platforms/centos/6.9.json +5910 -0
  44. data/lib/fauxhai/platforms/centos/7.0.1406.json +2 -1
  45. data/lib/fauxhai/platforms/centos/7.0.json +2 -1
  46. data/lib/fauxhai/platforms/centos/7.1.1503.json +2 -1
  47. data/lib/fauxhai/platforms/centos/7.2.1511.json +3620 -547
  48. data/lib/fauxhai/platforms/centos/7.3.1611.json +3781 -561
  49. data/lib/fauxhai/platforms/clearos/7.0.json +1985 -0
  50. data/lib/fauxhai/platforms/debian/7.0.json +1 -0
  51. data/lib/fauxhai/platforms/debian/7.1.json +1 -0
  52. data/lib/fauxhai/platforms/debian/7.10.json +3568 -522
  53. data/lib/fauxhai/platforms/debian/7.11.json +3340 -311
  54. data/lib/fauxhai/platforms/debian/7.2.json +1 -0
  55. data/lib/fauxhai/platforms/debian/7.4.json +1 -0
  56. data/lib/fauxhai/platforms/debian/7.5.json +1 -0
  57. data/lib/fauxhai/platforms/debian/7.6.json +1 -0
  58. data/lib/fauxhai/platforms/debian/7.7.json +1 -0
  59. data/lib/fauxhai/platforms/debian/7.8.json +1 -0
  60. data/lib/fauxhai/platforms/debian/7.9.json +1 -0
  61. data/lib/fauxhai/platforms/debian/8.0.json +1 -0
  62. data/lib/fauxhai/platforms/debian/8.1.json +2 -1
  63. data/lib/fauxhai/platforms/debian/8.2.json +2 -1
  64. data/lib/fauxhai/platforms/debian/8.4.json +2 -1
  65. data/lib/fauxhai/platforms/debian/8.5.json +1 -0
  66. data/lib/fauxhai/platforms/debian/8.6.json +1 -0
  67. data/lib/fauxhai/platforms/debian/8.7.json +3398 -544
  68. data/lib/fauxhai/platforms/debian/8.8.json +3620 -0
  69. data/lib/fauxhai/platforms/fedora/21.json +2 -1
  70. data/lib/fauxhai/platforms/fedora/22.json +2 -1
  71. data/lib/fauxhai/platforms/fedora/23.json +2 -1
  72. data/lib/fauxhai/platforms/fedora/24.json +5120 -668
  73. data/lib/fauxhai/platforms/fedora/25.json +5140 -560
  74. data/lib/fauxhai/platforms/freebsd/10.1.json +2 -1
  75. data/lib/fauxhai/platforms/freebsd/10.2.json +2 -1
  76. data/lib/fauxhai/platforms/freebsd/10.3.json +276 -137
  77. data/lib/fauxhai/platforms/freebsd/11.0.json +270 -137
  78. data/lib/fauxhai/platforms/freebsd/9.3.json +2 -1
  79. data/lib/fauxhai/platforms/linuxmint/18.1.json +10773 -0
  80. data/lib/fauxhai/platforms/mac_os_x/10.10.json +618 -542
  81. data/lib/fauxhai/platforms/mac_os_x/10.11.1.json +1 -0
  82. data/lib/fauxhai/platforms/mac_os_x/10.11.json +982 -0
  83. data/lib/fauxhai/platforms/mac_os_x/10.12.json +658 -645
  84. data/lib/fauxhai/platforms/mac_os_x/10.9.2.json +1 -0
  85. data/lib/fauxhai/platforms/omnios/151014.json +2 -1
  86. data/lib/fauxhai/platforms/opensuse/12.3.json +2 -1
  87. data/lib/fauxhai/platforms/opensuse/13.1.json +1 -0
  88. data/lib/fauxhai/platforms/opensuse/13.2.json +4667 -558
  89. data/lib/fauxhai/platforms/opensuse/42.1.json +5544 -461
  90. data/lib/fauxhai/platforms/opensuse/42.2.json +7674 -545
  91. data/lib/fauxhai/platforms/oracle/5.8.json +1 -0
  92. data/lib/fauxhai/platforms/oracle/6.5.json +1 -0
  93. data/lib/fauxhai/platforms/oracle/6.6.json +1 -0
  94. data/lib/fauxhai/platforms/oracle/7.0.json +1 -0
  95. data/lib/fauxhai/platforms/oracle/7.1.json +1 -0
  96. data/lib/fauxhai/platforms/redhat/5.6.json +2 -1
  97. data/lib/fauxhai/platforms/redhat/5.7.json +2 -1
  98. data/lib/fauxhai/platforms/redhat/5.8.json +2 -1
  99. data/lib/fauxhai/platforms/redhat/6.0.json +2 -1
  100. data/lib/fauxhai/platforms/redhat/6.1.json +2 -1
  101. data/lib/fauxhai/platforms/redhat/6.2.json +2 -1
  102. data/lib/fauxhai/platforms/redhat/6.3.json +2 -1
  103. data/lib/fauxhai/platforms/redhat/6.4.json +2 -1
  104. data/lib/fauxhai/platforms/redhat/6.5.json +2 -1
  105. data/lib/fauxhai/platforms/redhat/6.6.json +1 -0
  106. data/lib/fauxhai/platforms/redhat/7.0.json +1 -0
  107. data/lib/fauxhai/platforms/redhat/7.1.json +1 -0
  108. data/lib/fauxhai/platforms/smartos/joyent_20130111T180733Z.json +2 -1
  109. data/lib/fauxhai/platforms/solaris2/5.11.json +10884 -3268
  110. data/lib/fauxhai/platforms/suse/11.3.json +2 -1
  111. data/lib/fauxhai/platforms/suse/12.0.json +1 -0
  112. data/lib/fauxhai/platforms/ubuntu/12.04.json +2 -1
  113. data/lib/fauxhai/platforms/ubuntu/14.04.json +2800 -272
  114. data/lib/fauxhai/platforms/ubuntu/15.04.json +2 -1
  115. data/lib/fauxhai/platforms/ubuntu/15.10.json +2 -1
  116. data/lib/fauxhai/platforms/ubuntu/16.04.json +3487 -541
  117. data/lib/fauxhai/platforms/windows/10.json +119 -82
  118. data/lib/fauxhai/platforms/windows/2003R2.json +1 -0
  119. data/lib/fauxhai/platforms/windows/2008R2.json +156 -5734
  120. data/lib/fauxhai/platforms/windows/2012R2.json +157 -3592
  121. data/lib/fauxhai/platforms/windows/7.json +116 -77
  122. data/lib/fauxhai/platforms/windows/8.1.json +100 -98
  123. data/lib/fauxhai/platforms/windows/8.json +1 -0
  124. data/lib/fauxhai/runner.rb +6 -3
  125. data/lib/fauxhai/runner/default.rb +133 -67
  126. data/lib/fauxhai/version.rb +1 -1
  127. metadata +15 -8
@@ -1,14 +1,455 @@
1
1
  {
2
+ "block_device": {
3
+ "xvda": {
4
+ "size": "4194304",
5
+ "removable": "0",
6
+ "rotational": "0",
7
+ "physical_block_size": "512",
8
+ "logical_block_size": "512"
9
+ }
10
+ },
11
+ "chef_packages": {
12
+ "chef": {
13
+ "version": "13.0.118",
14
+ "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.0.118/lib"
15
+ },
16
+ "ohai": {
17
+ "version": "13.0.1",
18
+ "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.0.1/lib/ohai"
19
+ }
20
+ },
21
+ "command": {
22
+ "ps": "ps -ef"
23
+ },
24
+ "counters": {
25
+ "network": {
26
+ "interfaces": {
27
+ "lo": {
28
+ "tx": {
29
+ "queuelen": "1",
30
+ "bytes": 0,
31
+ "packets": 0,
32
+ "errors": 0,
33
+ "drop": 0,
34
+ "carrier": 0,
35
+ "collisions": 0
36
+ },
37
+ "rx": {
38
+ "bytes": 0,
39
+ "packets": 0,
40
+ "errors": 0,
41
+ "drop": 0,
42
+ "overrun": 0
43
+ }
44
+ },
45
+ "eth0": {
46
+ "rx": {
47
+ "bytes": 0,
48
+ "packets": 0,
49
+ "errors": 0,
50
+ "drop": 0,
51
+ "overrun": 0,
52
+ "frame": 0,
53
+ "compressed": 0,
54
+ "multicast": 0
55
+ },
56
+ "tx": {
57
+ "bytes": 0,
58
+ "packets": 0,
59
+ "errors": 0,
60
+ "drop": 0,
61
+ "overrun": 0,
62
+ "collisions": 0,
63
+ "carrier": 0,
64
+ "compressed": 0
65
+ }
66
+ }
67
+ }
68
+ }
69
+ },
70
+ "cpu": {
71
+ "real": 1,
72
+ "total": 1,
73
+ "cores": 1
74
+ },
75
+ "current_user": "fauxhai",
76
+ "dmi": {
77
+ },
78
+ "domain": "local",
79
+ "etc": {
80
+ "passwd": {
81
+ "fauxhai": {
82
+ "dir": "/home/fauxhai",
83
+ "gid": 0,
84
+ "uid": 0,
85
+ "shell": "/bin/bash",
86
+ "gecos": "Fauxhai"
87
+ }
88
+ },
89
+ "group": {
90
+ "fauxhai": {
91
+ "gid": 0,
92
+ "members": [
93
+ "fauxhai"
94
+ ]
95
+ }
96
+ }
97
+ },
98
+ "filesystem": {
99
+ "by_device": {
100
+ "/dev/xvda1": {
101
+ "kb_size": "2029372",
102
+ "kb_used": "916524",
103
+ "kb_available": "1075516",
104
+ "percent_used": "47%",
105
+ "total_inodes": "131072",
106
+ "inodes_used": "35172",
107
+ "inodes_available": "95900",
108
+ "inodes_percent_used": "27%",
109
+ "fs_type": "ext4",
110
+ "mount_options": [
111
+ "rw",
112
+ "noatime",
113
+ "data=ordered"
114
+ ],
115
+ "uuid": "097a55a1-a932-4efe-b98c-4c6f26c489ed",
116
+ "label": "/",
117
+ "mounts": [
118
+ "/"
119
+ ]
120
+ },
121
+ "devtmpfs": {
122
+ "kb_size": "503472",
123
+ "kb_used": "56",
124
+ "kb_available": "503416",
125
+ "percent_used": "1%",
126
+ "total_inodes": "125868",
127
+ "inodes_used": "426",
128
+ "inodes_available": "125442",
129
+ "inodes_percent_used": "1%",
130
+ "fs_type": "devtmpfs",
131
+ "mount_options": [
132
+ "rw",
133
+ "relatime",
134
+ "size=503472k",
135
+ "nr_inodes=125868",
136
+ "mode=755"
137
+ ],
138
+ "mounts": [
139
+ "/dev"
140
+ ]
141
+ },
142
+ "tmpfs": {
143
+ "kb_size": "510096",
144
+ "kb_used": "0",
145
+ "kb_available": "510096",
146
+ "percent_used": "0%",
147
+ "total_inodes": "127524",
148
+ "inodes_used": "1",
149
+ "inodes_available": "127523",
150
+ "inodes_percent_used": "1%",
151
+ "fs_type": "tmpfs",
152
+ "mount_options": [
153
+ "rw",
154
+ "relatime"
155
+ ],
156
+ "mounts": [
157
+ "/dev/shm"
158
+ ]
159
+ },
160
+ "proc": {
161
+ "fs_type": "proc",
162
+ "mount_options": [
163
+ "rw",
164
+ "relatime"
165
+ ],
166
+ "mounts": [
167
+ "/proc"
168
+ ]
169
+ },
170
+ "sysfs": {
171
+ "fs_type": "sysfs",
172
+ "mount_options": [
173
+ "rw",
174
+ "relatime"
175
+ ],
176
+ "mounts": [
177
+ "/sys"
178
+ ]
179
+ },
180
+ "devpts": {
181
+ "fs_type": "devpts",
182
+ "mount_options": [
183
+ "rw",
184
+ "relatime",
185
+ "gid=5",
186
+ "mode=620",
187
+ "ptmxmode=000"
188
+ ],
189
+ "mounts": [
190
+ "/dev/pts"
191
+ ]
192
+ },
193
+ "none": {
194
+ "fs_type": "binfmt_misc",
195
+ "mount_options": [
196
+ "rw",
197
+ "relatime"
198
+ ],
199
+ "mounts": [
200
+ "/proc/sys/fs/binfmt_misc"
201
+ ]
202
+ },
203
+ "/dev/xvda": {
204
+ "mounts": [
205
+
206
+ ]
207
+ },
208
+ "rootfs": {
209
+ "fs_type": "rootfs",
210
+ "mount_options": [
211
+ "rw"
212
+ ],
213
+ "mounts": [
214
+ "/"
215
+ ]
216
+ }
217
+ },
218
+ "by_mountpoint": {
219
+ "/": {
220
+ "kb_size": "2029372",
221
+ "kb_used": "916524",
222
+ "kb_available": "1075516",
223
+ "percent_used": "47%",
224
+ "total_inodes": "131072",
225
+ "inodes_used": "35172",
226
+ "inodes_available": "95900",
227
+ "inodes_percent_used": "27%",
228
+ "fs_type": "rootfs",
229
+ "mount_options": [
230
+ "rw"
231
+ ],
232
+ "uuid": "097a55a1-a932-4efe-b98c-4c6f26c489ed",
233
+ "label": "/",
234
+ "devices": [
235
+ "/dev/xvda1",
236
+ "rootfs"
237
+ ]
238
+ },
239
+ "/dev": {
240
+ "kb_size": "503472",
241
+ "kb_used": "56",
242
+ "kb_available": "503416",
243
+ "percent_used": "1%",
244
+ "total_inodes": "125868",
245
+ "inodes_used": "426",
246
+ "inodes_available": "125442",
247
+ "inodes_percent_used": "1%",
248
+ "fs_type": "devtmpfs",
249
+ "mount_options": [
250
+ "rw",
251
+ "relatime",
252
+ "size=503472k",
253
+ "nr_inodes=125868",
254
+ "mode=755"
255
+ ],
256
+ "devices": [
257
+ "devtmpfs"
258
+ ]
259
+ },
260
+ "/dev/shm": {
261
+ "kb_size": "510096",
262
+ "kb_used": "0",
263
+ "kb_available": "510096",
264
+ "percent_used": "0%",
265
+ "total_inodes": "127524",
266
+ "inodes_used": "1",
267
+ "inodes_available": "127523",
268
+ "inodes_percent_used": "1%",
269
+ "fs_type": "tmpfs",
270
+ "mount_options": [
271
+ "rw",
272
+ "relatime"
273
+ ],
274
+ "devices": [
275
+ "tmpfs"
276
+ ]
277
+ },
278
+ "/proc": {
279
+ "fs_type": "proc",
280
+ "mount_options": [
281
+ "rw",
282
+ "relatime"
283
+ ],
284
+ "devices": [
285
+ "proc"
286
+ ]
287
+ },
288
+ "/sys": {
289
+ "fs_type": "sysfs",
290
+ "mount_options": [
291
+ "rw",
292
+ "relatime"
293
+ ],
294
+ "devices": [
295
+ "sysfs"
296
+ ]
297
+ },
298
+ "/dev/pts": {
299
+ "fs_type": "devpts",
300
+ "mount_options": [
301
+ "rw",
302
+ "relatime",
303
+ "gid=5",
304
+ "mode=620",
305
+ "ptmxmode=000"
306
+ ],
307
+ "devices": [
308
+ "devpts"
309
+ ]
310
+ },
311
+ "/proc/sys/fs/binfmt_misc": {
312
+ "fs_type": "binfmt_misc",
313
+ "mount_options": [
314
+ "rw",
315
+ "relatime"
316
+ ],
317
+ "devices": [
318
+ "none"
319
+ ]
320
+ }
321
+ },
322
+ "by_pair": {
323
+ "/dev/xvda1,/": {
324
+ "device": "/dev/xvda1",
325
+ "kb_size": "2029372",
326
+ "kb_used": "916524",
327
+ "kb_available": "1075516",
328
+ "percent_used": "47%",
329
+ "mount": "/",
330
+ "total_inodes": "131072",
331
+ "inodes_used": "35172",
332
+ "inodes_available": "95900",
333
+ "inodes_percent_used": "27%",
334
+ "fs_type": "ext4",
335
+ "mount_options": [
336
+ "rw",
337
+ "noatime",
338
+ "data=ordered"
339
+ ],
340
+ "uuid": "097a55a1-a932-4efe-b98c-4c6f26c489ed",
341
+ "label": "/"
342
+ },
343
+ "devtmpfs,/dev": {
344
+ "device": "devtmpfs",
345
+ "kb_size": "503472",
346
+ "kb_used": "56",
347
+ "kb_available": "503416",
348
+ "percent_used": "1%",
349
+ "mount": "/dev",
350
+ "total_inodes": "125868",
351
+ "inodes_used": "426",
352
+ "inodes_available": "125442",
353
+ "inodes_percent_used": "1%",
354
+ "fs_type": "devtmpfs",
355
+ "mount_options": [
356
+ "rw",
357
+ "relatime",
358
+ "size=503472k",
359
+ "nr_inodes=125868",
360
+ "mode=755"
361
+ ]
362
+ },
363
+ "tmpfs,/dev/shm": {
364
+ "device": "tmpfs",
365
+ "kb_size": "510096",
366
+ "kb_used": "0",
367
+ "kb_available": "510096",
368
+ "percent_used": "0%",
369
+ "mount": "/dev/shm",
370
+ "total_inodes": "127524",
371
+ "inodes_used": "1",
372
+ "inodes_available": "127523",
373
+ "inodes_percent_used": "1%",
374
+ "fs_type": "tmpfs",
375
+ "mount_options": [
376
+ "rw",
377
+ "relatime"
378
+ ]
379
+ },
380
+ "proc,/proc": {
381
+ "device": "proc",
382
+ "mount": "/proc",
383
+ "fs_type": "proc",
384
+ "mount_options": [
385
+ "rw",
386
+ "relatime"
387
+ ]
388
+ },
389
+ "sysfs,/sys": {
390
+ "device": "sysfs",
391
+ "mount": "/sys",
392
+ "fs_type": "sysfs",
393
+ "mount_options": [
394
+ "rw",
395
+ "relatime"
396
+ ]
397
+ },
398
+ "devpts,/dev/pts": {
399
+ "device": "devpts",
400
+ "mount": "/dev/pts",
401
+ "fs_type": "devpts",
402
+ "mount_options": [
403
+ "rw",
404
+ "relatime",
405
+ "gid=5",
406
+ "mode=620",
407
+ "ptmxmode=000"
408
+ ]
409
+ },
410
+ "none,/proc/sys/fs/binfmt_misc": {
411
+ "device": "none",
412
+ "mount": "/proc/sys/fs/binfmt_misc",
413
+ "fs_type": "binfmt_misc",
414
+ "mount_options": [
415
+ "rw",
416
+ "relatime"
417
+ ]
418
+ },
419
+ "/dev/xvda,": {
420
+ "device": "/dev/xvda"
421
+ },
422
+ "rootfs,/": {
423
+ "device": "rootfs",
424
+ "mount": "/",
425
+ "fs_type": "rootfs",
426
+ "mount_options": [
427
+ "rw"
428
+ ]
429
+ }
430
+ }
431
+ },
432
+ "fips": {
433
+ "kernel": {
434
+ "enabled": false
435
+ }
436
+ },
437
+ "fqdn": "fauxhai.local",
438
+ "hostname": "Fauxhai",
439
+ "idle": "30 days 15 hours 07 minutes 30 seconds",
440
+ "idletime_seconds": 2646450,
441
+ "init_package": "init",
442
+ "ipaddress": "10.0.0.2",
2
443
  "kernel": {
3
444
  "name": "Linux",
4
- "release": "3.14.20-20.44.amzn1.x86_64",
5
- "version": "#1 SMP Mon Oct 6 22:52:46 UTC 2014",
445
+ "release": "3.14.27-25.47.amzn1.x86_64",
446
+ "version": "#1 SMP Wed Dec 17 18:36:15 UTC 2014",
6
447
  "machine": "x86_64",
7
448
  "processor": "x86_64",
8
449
  "os": "GNU/Linux",
9
450
  "modules": {
10
451
  "ipv6": {
11
- "size": "353059",
452
+ "size": "353507",
12
453
  "refcount": "38"
13
454
  },
14
455
  "binfmt_misc": {
@@ -27,24 +468,24 @@
27
468
  "size": "9435",
28
469
  "refcount": "0"
29
470
  },
30
- "psmouse": {
31
- "size": "92613",
32
- "refcount": "0"
33
- },
34
471
  "evbug": {
35
472
  "size": "2125",
36
473
  "refcount": "0"
37
474
  },
38
- "i2c_core": {
39
- "size": "27053",
40
- "refcount": "1"
475
+ "psmouse": {
476
+ "size": "92754",
477
+ "refcount": "0"
41
478
  },
42
479
  "evdev": {
43
480
  "size": "11276",
44
481
  "refcount": "0"
45
482
  },
483
+ "i2c_core": {
484
+ "size": "27053",
485
+ "refcount": "1"
486
+ },
46
487
  "ext4": {
47
- "size": "538232",
488
+ "size": "543542",
48
489
  "refcount": "1"
49
490
  },
50
491
  "crc16": {
@@ -52,7 +493,7 @@
52
493
  "refcount": "1"
53
494
  },
54
495
  "jbd2": {
55
- "size": "106020",
496
+ "size": "106052",
56
497
  "refcount": "1"
57
498
  },
58
499
  "mbcache": {
@@ -61,119 +502,12 @@
61
502
  }
62
503
  }
63
504
  },
64
- "os": "linux",
65
- "os_version": "3.14.20-20.44.amzn1.x86_64",
66
- "lsb": {
67
- },
68
- "platform": "amazon",
69
- "platform_version": "2014.09",
70
- "platform_family": "rhel",
71
- "filesystem": {
72
- "/dev/xvda1": {
73
- "kb_size": "2029372",
74
- "kb_used": "936124",
75
- "kb_available": "1055916",
76
- "percent_used": "47%",
77
- "mount": "/",
78
- "total_inodes": "131072",
79
- "inodes_used": "38845",
80
- "inodes_available": "92227",
81
- "inodes_percent_used": "30%",
82
- "fs_type": "ext4",
83
- "mount_options": [
84
- "rw",
85
- "noatime",
86
- "data=ordered"
87
- ],
88
- "uuid": "071afad0-1349-444f-a54e-903ff62c9cf6",
89
- "label": "/"
90
- },
91
- "devtmpfs": {
92
- "kb_size": "503440",
93
- "kb_used": "56",
94
- "kb_available": "503384",
95
- "percent_used": "1%",
96
- "mount": "/dev",
97
- "total_inodes": "125860",
98
- "inodes_used": "426",
99
- "inodes_available": "125434",
100
- "inodes_percent_used": "1%",
101
- "fs_type": "devtmpfs",
102
- "mount_options": [
103
- "rw",
104
- "relatime",
105
- "size=503440k",
106
- "nr_inodes=125860",
107
- "mode=755"
108
- ]
109
- },
110
- "tmpfs": {
111
- "kb_size": "510068",
112
- "kb_used": "0",
113
- "kb_available": "510068",
114
- "percent_used": "0%",
115
- "mount": "/dev/shm",
116
- "total_inodes": "127517",
117
- "inodes_used": "1",
118
- "inodes_available": "127516",
119
- "inodes_percent_used": "1%",
120
- "fs_type": "tmpfs",
121
- "mount_options": [
122
- "rw",
123
- "relatime"
124
- ]
125
- },
126
- "proc": {
127
- "mount": "/proc",
128
- "fs_type": "proc",
129
- "mount_options": [
130
- "rw",
131
- "relatime"
132
- ]
133
- },
134
- "sysfs": {
135
- "mount": "/sys",
136
- "fs_type": "sysfs",
137
- "mount_options": [
138
- "rw",
139
- "relatime"
140
- ]
141
- },
142
- "devpts": {
143
- "mount": "/dev/pts",
144
- "fs_type": "devpts",
145
- "mount_options": [
146
- "rw",
147
- "relatime",
148
- "gid=5",
149
- "mode=620",
150
- "ptmxmode=000"
151
- ]
152
- },
153
- "none": {
154
- "mount": "/proc/sys/fs/binfmt_misc",
155
- "fs_type": "binfmt_misc",
156
- "mount_options": [
157
- "rw",
158
- "relatime"
159
- ]
160
- },
161
- "rootfs": {
162
- "mount": "/",
163
- "fs_type": "rootfs",
164
- "mount_options": [
165
- "rw"
166
- ]
505
+ "keys": {
506
+ "ssh": {
507
+ "host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
508
+ "host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
167
509
  }
168
510
  },
169
- "dmi": {
170
- },
171
- "command": {
172
- "ps": "ps -ef"
173
- },
174
- "init_package": "init",
175
- "root_group": "root",
176
- "ohai_time": 1458948998.8147397,
177
511
  "languages": {
178
512
  "ruby": {
179
513
  "bin_dir": "/usr/local/bin",
@@ -183,129 +517,129 @@
183
517
  },
184
518
  "powershell": null
185
519
  },
186
- "chef_packages": {
187
- "chef": {
188
- "version": "12.8.1",
189
- "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib"
190
- },
191
- "ohai": {
192
- "version": "8.11.1",
193
- "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.11.1/lib/ohai"
194
- }
195
- },
196
- "counters": {
197
- "network": {
198
- "interfaces": {
199
- "eth0": {
200
- "rx": {
201
- "bytes": "0",
202
- "packets": "0",
203
- "errors": "0",
204
- "drop": 0,
205
- "overrun": 0,
206
- "frame": 0,
207
- "compressed": 0,
208
- "multicast": 0
209
- },
210
- "tx": {
211
- "bytes": "342",
212
- "packets": "0",
213
- "errors": "0",
214
- "drop": 0,
215
- "overrun": 0,
216
- "collisions": "0",
217
- "carrier": 0,
218
- "compressed": 0
219
- }
220
- }
221
- }
222
- }
223
- },
224
- "current_user": "fauxhai",
225
- "domain": "local",
226
- "etc": {
227
- "passwd": {
228
- "fauxhai": {
229
- "dir": "/home/fauxhai",
230
- "gid": 0,
231
- "uid": 0,
232
- "shell": "/bin/bash",
233
- "gecos": "Fauxhai"
234
- }
235
- },
236
- "group": {
237
- "fauxhai": {
238
- "gid": 0,
239
- "members": [
240
- "fauxhai"
241
- ]
242
- }
243
- }
244
- },
245
- "hostname": "Fauxhai",
246
- "fqdn": "fauxhai.local",
247
- "ipaddress": "10.0.0.2",
248
- "keys": {
249
- "ssh": {
250
- "host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
251
- "host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
252
- }
520
+ "lsb": {
253
521
  },
254
522
  "macaddress": "11:11:11:11:11:11",
523
+ "machinename": "Fauxhai",
524
+ "memory": {
525
+ "total": "1048576kB"
526
+ },
255
527
  "network": {
256
- "default_gateway": "10.0.0.1",
257
- "default_interface": "eth0",
258
- "settings": {
259
- },
260
528
  "interfaces": {
261
- "eth0": {
529
+ "lo": {
530
+ "mtu": "65536",
531
+ "flags": [
532
+ "LOOPBACK",
533
+ "UP",
534
+ "LOWER_UP"
535
+ ],
536
+ "encapsulation": "Loopback",
262
537
  "addresses": {
263
- "10.0.0.2": {
264
- "broadcast": "10.0.0.255",
538
+ "127.0.0.1": {
265
539
  "family": "inet",
266
- "netmask": "255.255.255.0",
267
- "prefixlen": "24",
268
- "scope": "Global"
540
+ "prefixlen": "8",
541
+ "netmask": "255.0.0.0",
542
+ "scope": "Node",
543
+ "ip_scope": "LOOPBACK"
544
+ },
545
+ "::1": {
546
+ "family": "inet6",
547
+ "prefixlen": "128",
548
+ "scope": "Node",
549
+ "tags": [
550
+
551
+ ],
552
+ "ip_scope": "LINK LOCAL LOOPBACK"
269
553
  }
270
554
  },
271
- "arp": {
272
- "10.0.0.1": "fe:ff:ff:ff:ff:ff"
273
- },
274
- "encapsulation": "Ethernet",
555
+ "state": "unknown"
556
+ },
557
+ "eth0": {
558
+ "type": "eth",
559
+ "number": "0",
560
+ "mtu": "1500",
275
561
  "flags": [
276
562
  "BROADCAST",
277
563
  "MULTICAST",
278
564
  "UP",
279
565
  "LOWER_UP"
280
566
  ],
281
- "mtu": "1500",
282
- "number": "0",
567
+ "encapsulation": "Ethernet",
568
+ "addresses": {
569
+ "11:11:11:11:11:11": {
570
+ "family": "lladdr"
571
+ },
572
+ "10.0.0.2": {
573
+ "family": "inet",
574
+ "prefixlen": "24",
575
+ "netmask": "255.255.255.0",
576
+ "broadcast": "10.0.0.255",
577
+ "scope": "Global",
578
+ "ip_scope": "RFC1918 PRIVATE"
579
+ },
580
+ "fe80::11:1111:1111:1111": {
581
+ "family": "inet6",
582
+ "prefixlen": "64",
583
+ "scope": "Link",
584
+ "tags": [
585
+
586
+ ],
587
+ "ip_scope": "LINK LOCAL UNICAST"
588
+ }
589
+ },
590
+ "state": "up",
591
+ "arp": {
592
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
593
+ },
283
594
  "routes": [
595
+ {
596
+ "destination": "default",
597
+ "family": "inet",
598
+ "via": "10.0.0.1"
599
+ },
284
600
  {
285
601
  "destination": "10.0.0.0/24",
286
602
  "family": "inet",
287
603
  "scope": "link",
288
604
  "proto": "kernel",
289
605
  "src": "10.0.0.2"
606
+ },
607
+ {
608
+ "destination": "fe80::/64",
609
+ "family": "inet6",
610
+ "metric": "256",
611
+ "proto": "kernel"
290
612
  }
291
613
  ],
292
- "state": "up",
293
- "type": "eth"
614
+ "ring_params": {
615
+ }
294
616
  }
295
- }
617
+ },
618
+ "default_interface": "eth0",
619
+ "default_gateway": "10.0.0.1"
296
620
  },
297
- "uptime": "30 days 15 hours 07 minutes 30 seconds",
298
- "uptime_seconds": 2646450,
299
- "cpu": {
300
- "real": 1,
301
- "total": 1,
302
- "cores": 1
621
+ "ohai_time": 1492225442.1905272,
622
+ "os": "linux",
623
+ "os_version": "3.14.27-25.47.amzn1.x86_64",
624
+ "packages": {
303
625
  },
304
- "memory": {
305
- "total": "1048576kB"
626
+ "platform": "amazon",
627
+ "platform_family": "amazon",
628
+ "platform_version": "2014.09",
629
+ "root_group": "root",
630
+ "shells": [
631
+ "/bin/sh",
632
+ "/bin/bash",
633
+ "/sbin/nologin",
634
+ "/bin/dash"
635
+ ],
636
+ "time": {
637
+ "timezone": "GMT"
306
638
  },
639
+ "uptime": "30 days 15 hours 07 minutes 30 seconds",
640
+ "uptime_seconds": 2646450,
307
641
  "virtualization": {
308
642
  "systems": {
309
643
  }
310
644
  }
311
- }
645
+ }