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,119 +1,451 @@
1
1
  {
2
- "lsb": {
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
+ }
3
10
  },
4
- "filesystem": {
5
- "/dev/xvda1": {
6
- "kb_size": "8123812",
7
- "kb_used": "1355996",
8
- "kb_available": "6667568",
9
- "percent_used": "17%",
10
- "mount": "/",
11
- "total_inodes": "524288",
12
- "inodes_used": "54557",
13
- "inodes_available": "469731",
14
- "inodes_percent_used": "11%",
15
- "fs_type": "ext4",
16
- "mount_options": [
17
- "rw",
18
- "noatime",
19
- "data=ordered"
20
- ],
21
- "uuid": "7715e0d4-454d-4844-857b-5ef65f06b574",
22
- "label": "/"
23
- },
24
- "devtmpfs": {
25
- "kb_size": "500712",
26
- "kb_used": "56",
27
- "kb_available": "500656",
28
- "percent_used": "1%",
29
- "mount": "/dev",
30
- "total_inodes": "125178",
31
- "inodes_used": "430",
32
- "inodes_available": "124748",
33
- "inodes_percent_used": "1%",
34
- "fs_type": "devtmpfs",
35
- "mount_options": [
36
- "rw",
37
- "relatime",
38
- "size=500712k",
39
- "nr_inodes=125178",
40
- "mode=755"
41
- ]
42
- },
43
- "tmpfs": {
44
- "kb_size": "509724",
45
- "kb_used": "0",
46
- "kb_available": "509724",
47
- "percent_used": "0%",
48
- "mount": "/dev/shm",
49
- "total_inodes": "127431",
50
- "inodes_used": "1",
51
- "inodes_available": "127430",
52
- "inodes_percent_used": "1%",
53
- "fs_type": "tmpfs",
54
- "mount_options": [
55
- "rw",
56
- "relatime"
57
- ]
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"
58
15
  },
59
- "proc": {
60
- "mount": "/proc",
61
- "fs_type": "proc",
62
- "mount_options": [
63
- "rw",
64
- "relatime"
65
- ]
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
+ }
66
88
  },
67
- "sysfs": {
68
- "mount": "/sys",
69
- "fs_type": "sysfs",
70
- "mount_options": [
71
- "rw",
72
- "relatime"
73
- ]
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": "819568",
103
+ "kb_available": "1172472",
104
+ "percent_used": "42%",
105
+ "total_inodes": "131072",
106
+ "inodes_used": "30367",
107
+ "inodes_available": "100705",
108
+ "inodes_percent_used": "24%",
109
+ "fs_type": "ext4",
110
+ "mount_options": [
111
+ "rw",
112
+ "noatime",
113
+ "data=ordered"
114
+ ],
115
+ "uuid": "60b4bf2e-3bac-4ed3-a870-34edb073fd96",
116
+ "label": "/",
117
+ "mounts": [
118
+ "/"
119
+ ]
120
+ },
121
+ "devtmpfs": {
122
+ "kb_size": "502188",
123
+ "kb_used": "56",
124
+ "kb_available": "502132",
125
+ "percent_used": "1%",
126
+ "total_inodes": "125547",
127
+ "inodes_used": "429",
128
+ "inodes_available": "125118",
129
+ "inodes_percent_used": "1%",
130
+ "fs_type": "devtmpfs",
131
+ "mount_options": [
132
+ "rw",
133
+ "relatime",
134
+ "size=502188k",
135
+ "nr_inodes=125547",
136
+ "mode=755"
137
+ ],
138
+ "mounts": [
139
+ "/dev"
140
+ ]
141
+ },
142
+ "tmpfs": {
143
+ "kb_size": "509720",
144
+ "kb_used": "0",
145
+ "kb_available": "509720",
146
+ "percent_used": "0%",
147
+ "total_inodes": "127430",
148
+ "inodes_used": "1",
149
+ "inodes_available": "127429",
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
+ }
74
208
  },
75
- "devpts": {
76
- "mount": "/dev/pts",
77
- "fs_type": "devpts",
78
- "mount_options": [
79
- "rw",
80
- "relatime",
81
- "gid=5",
82
- "mode=620",
83
- "ptmxmode=000"
84
- ]
209
+ "by_mountpoint": {
210
+ "/": {
211
+ "kb_size": "2029372",
212
+ "kb_used": "819568",
213
+ "kb_available": "1172472",
214
+ "percent_used": "42%",
215
+ "total_inodes": "131072",
216
+ "inodes_used": "30367",
217
+ "inodes_available": "100705",
218
+ "inodes_percent_used": "24%",
219
+ "fs_type": "ext4",
220
+ "mount_options": [
221
+ "rw",
222
+ "noatime",
223
+ "data=ordered"
224
+ ],
225
+ "uuid": "60b4bf2e-3bac-4ed3-a870-34edb073fd96",
226
+ "label": "/",
227
+ "devices": [
228
+ "/dev/xvda1"
229
+ ]
230
+ },
231
+ "/dev": {
232
+ "kb_size": "502188",
233
+ "kb_used": "56",
234
+ "kb_available": "502132",
235
+ "percent_used": "1%",
236
+ "total_inodes": "125547",
237
+ "inodes_used": "429",
238
+ "inodes_available": "125118",
239
+ "inodes_percent_used": "1%",
240
+ "fs_type": "devtmpfs",
241
+ "mount_options": [
242
+ "rw",
243
+ "relatime",
244
+ "size=502188k",
245
+ "nr_inodes=125547",
246
+ "mode=755"
247
+ ],
248
+ "devices": [
249
+ "devtmpfs"
250
+ ]
251
+ },
252
+ "/dev/shm": {
253
+ "kb_size": "509720",
254
+ "kb_used": "0",
255
+ "kb_available": "509720",
256
+ "percent_used": "0%",
257
+ "total_inodes": "127430",
258
+ "inodes_used": "1",
259
+ "inodes_available": "127429",
260
+ "inodes_percent_used": "1%",
261
+ "fs_type": "tmpfs",
262
+ "mount_options": [
263
+ "rw",
264
+ "relatime"
265
+ ],
266
+ "devices": [
267
+ "tmpfs"
268
+ ]
269
+ },
270
+ "/proc": {
271
+ "fs_type": "proc",
272
+ "mount_options": [
273
+ "rw",
274
+ "relatime"
275
+ ],
276
+ "devices": [
277
+ "proc"
278
+ ]
279
+ },
280
+ "/sys": {
281
+ "fs_type": "sysfs",
282
+ "mount_options": [
283
+ "rw",
284
+ "relatime"
285
+ ],
286
+ "devices": [
287
+ "sysfs"
288
+ ]
289
+ },
290
+ "/dev/pts": {
291
+ "fs_type": "devpts",
292
+ "mount_options": [
293
+ "rw",
294
+ "relatime",
295
+ "gid=5",
296
+ "mode=620",
297
+ "ptmxmode=000"
298
+ ],
299
+ "devices": [
300
+ "devpts"
301
+ ]
302
+ },
303
+ "/proc/sys/fs/binfmt_misc": {
304
+ "fs_type": "binfmt_misc",
305
+ "mount_options": [
306
+ "rw",
307
+ "relatime"
308
+ ],
309
+ "devices": [
310
+ "none"
311
+ ]
312
+ }
85
313
  },
86
- "none": {
87
- "mount": "/proc/sys/fs/binfmt_misc",
88
- "fs_type": "binfmt_misc",
89
- "mount_options": [
90
- "rw",
91
- "relatime"
92
- ]
314
+ "by_pair": {
315
+ "/dev/xvda1,/": {
316
+ "device": "/dev/xvda1",
317
+ "kb_size": "2029372",
318
+ "kb_used": "819568",
319
+ "kb_available": "1172472",
320
+ "percent_used": "42%",
321
+ "mount": "/",
322
+ "total_inodes": "131072",
323
+ "inodes_used": "30367",
324
+ "inodes_available": "100705",
325
+ "inodes_percent_used": "24%",
326
+ "fs_type": "ext4",
327
+ "mount_options": [
328
+ "rw",
329
+ "noatime",
330
+ "data=ordered"
331
+ ],
332
+ "uuid": "60b4bf2e-3bac-4ed3-a870-34edb073fd96",
333
+ "label": "/"
334
+ },
335
+ "devtmpfs,/dev": {
336
+ "device": "devtmpfs",
337
+ "kb_size": "502188",
338
+ "kb_used": "56",
339
+ "kb_available": "502132",
340
+ "percent_used": "1%",
341
+ "mount": "/dev",
342
+ "total_inodes": "125547",
343
+ "inodes_used": "429",
344
+ "inodes_available": "125118",
345
+ "inodes_percent_used": "1%",
346
+ "fs_type": "devtmpfs",
347
+ "mount_options": [
348
+ "rw",
349
+ "relatime",
350
+ "size=502188k",
351
+ "nr_inodes=125547",
352
+ "mode=755"
353
+ ]
354
+ },
355
+ "tmpfs,/dev/shm": {
356
+ "device": "tmpfs",
357
+ "kb_size": "509720",
358
+ "kb_used": "0",
359
+ "kb_available": "509720",
360
+ "percent_used": "0%",
361
+ "mount": "/dev/shm",
362
+ "total_inodes": "127430",
363
+ "inodes_used": "1",
364
+ "inodes_available": "127429",
365
+ "inodes_percent_used": "1%",
366
+ "fs_type": "tmpfs",
367
+ "mount_options": [
368
+ "rw",
369
+ "relatime"
370
+ ]
371
+ },
372
+ "proc,/proc": {
373
+ "device": "proc",
374
+ "mount": "/proc",
375
+ "fs_type": "proc",
376
+ "mount_options": [
377
+ "rw",
378
+ "relatime"
379
+ ]
380
+ },
381
+ "sysfs,/sys": {
382
+ "device": "sysfs",
383
+ "mount": "/sys",
384
+ "fs_type": "sysfs",
385
+ "mount_options": [
386
+ "rw",
387
+ "relatime"
388
+ ]
389
+ },
390
+ "devpts,/dev/pts": {
391
+ "device": "devpts",
392
+ "mount": "/dev/pts",
393
+ "fs_type": "devpts",
394
+ "mount_options": [
395
+ "rw",
396
+ "relatime",
397
+ "gid=5",
398
+ "mode=620",
399
+ "ptmxmode=000"
400
+ ]
401
+ },
402
+ "none,/proc/sys/fs/binfmt_misc": {
403
+ "device": "none",
404
+ "mount": "/proc/sys/fs/binfmt_misc",
405
+ "fs_type": "binfmt_misc",
406
+ "mount_options": [
407
+ "rw",
408
+ "relatime"
409
+ ]
410
+ },
411
+ "/dev/xvda,": {
412
+ "device": "/dev/xvda"
413
+ }
414
+ }
415
+ },
416
+ "fips": {
417
+ "kernel": {
418
+ "enabled": false
93
419
  }
94
420
  },
421
+ "fqdn": "fauxhai.local",
422
+ "hostname": "Fauxhai",
423
+ "idle": "30 days 15 hours 07 minutes 30 seconds",
424
+ "idletime_seconds": 2646450,
425
+ "init_package": "init",
426
+ "ipaddress": "10.0.0.2",
95
427
  "kernel": {
96
428
  "name": "Linux",
97
- "release": "4.1.10-17.31.amzn1.x86_64",
98
- "version": "#1 SMP Sat Oct 24 01:31:37 UTC 2015",
429
+ "release": "4.1.17-22.30.amzn1.x86_64",
430
+ "version": "#1 SMP Fri Feb 5 23:44:22 UTC 2016",
99
431
  "machine": "x86_64",
100
432
  "processor": "x86_64",
101
433
  "os": "GNU/Linux",
102
434
  "modules": {
103
435
  "ipv6": {
104
- "size": "371645",
105
- "refcount": "52"
436
+ "size": "373126",
437
+ "refcount": "40"
106
438
  },
107
439
  "binfmt_misc": {
108
440
  "size": "7136",
109
441
  "refcount": "1"
110
442
  },
111
- "evbug": {
112
- "size": "2168",
443
+ "dm_mod": {
444
+ "size": "101315",
113
445
  "refcount": "0"
114
446
  },
115
- "evdev": {
116
- "size": "11201",
447
+ "evbug": {
448
+ "size": "2168",
117
449
  "refcount": "0"
118
450
  },
119
451
  "i2c_piix4": {
@@ -124,16 +456,20 @@
124
456
  "size": "44840",
125
457
  "refcount": "1"
126
458
  },
127
- "button": {
128
- "size": "5662",
459
+ "evdev": {
460
+ "size": "11201",
461
+ "refcount": "0"
462
+ },
463
+ "acpi_cpufreq": {
464
+ "size": "7894",
129
465
  "refcount": "0"
130
466
  },
131
467
  "psmouse": {
132
- "size": "104421",
468
+ "size": "106177",
133
469
  "refcount": "0"
134
470
  },
135
- "acpi_cpufreq": {
136
- "size": "7894",
471
+ "button": {
472
+ "size": "5662",
137
473
  "refcount": "0"
138
474
  },
139
475
  "ext4": {
@@ -145,7 +481,7 @@
145
481
  "refcount": "1"
146
482
  },
147
483
  "jbd2": {
148
- "size": "102882",
484
+ "size": "102874",
149
485
  "refcount": "1"
150
486
  },
151
487
  "mbcache": {
@@ -154,190 +490,158 @@
154
490
  },
155
491
  "ata_piix": {
156
492
  "size": "26764",
157
- "refcount": "0"
493
+ "refcount": "0",
494
+ "version": "2.13"
158
495
  },
159
496
  "libata": {
160
497
  "size": "230366",
161
- "refcount": "1"
498
+ "refcount": "1",
499
+ "version": "3.00"
162
500
  },
163
501
  "scsi_mod": {
164
502
  "size": "224784",
165
503
  "refcount": "1"
166
- },
167
- "dm_mirror": {
168
- "size": "14078",
169
- "refcount": "0"
170
- },
171
- "dm_region_hash": {
172
- "size": "11365",
173
- "refcount": "1"
174
- },
175
- "dm_log": {
176
- "size": "9515",
177
- "refcount": "2"
178
- },
179
- "dm_mod": {
180
- "size": "101315",
181
- "refcount": "2"
182
504
  }
183
505
  }
184
506
  },
185
- "os": "linux",
186
- "os_version": "4.1.10-17.31.amzn1.x86_64",
187
- "platform": "amazon",
188
- "platform_version": "2015.09",
189
- "platform_family": "rhel",
190
- "init_package": "init",
191
- "ohai_time": 1458950444.3732939,
192
- "dmi": {
193
- },
194
- "command": {
195
- "ps": "ps -ef"
507
+ "keys": {
508
+ "ssh": {
509
+ "host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
510
+ "host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
511
+ }
196
512
  },
197
- "root_group": "root",
198
513
  "languages": {
199
514
  "ruby": {
200
- "platform": "x86_64-linux",
201
- "version": "2.0.0",
202
- "release_date": "2015-08-18",
203
- "target": "x86_64-amazon-linux-gnu",
204
- "target_cpu": "x86_64",
205
- "target_vendor": "amazon",
206
- "target_os": "linux",
207
- "host": "x86_64-redhat-linux-gnu",
208
- "host_cpu": "x86_64",
209
- "host_os": "linux-gnu",
210
- "host_vendor": "redhat",
211
515
  "bin_dir": "/usr/local/bin",
212
- "ruby_bin": "/usr/local/bin/ruby",
516
+ "gem_bin": "/usr/local/bin/gem",
213
517
  "gems_dir": "/usr/local/gems",
214
- "gem_bin": "/usr/local/bin/gem"
518
+ "ruby_bin": "/usr/local/bin/ruby"
215
519
  },
216
520
  "powershell": null
217
521
  },
218
- "chef_packages": {
219
- "chef": {
220
- "version": "12.8.1",
221
- "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.8.1/lib"
222
- },
223
- "ohai": {
224
- "version": "8.11.1",
225
- "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.11.1/lib/ohai"
226
- }
227
- },
228
- "counters": {
229
- "network": {
230
- "interfaces": {
231
- "eth0": {
232
- "rx": {
233
- "bytes": "0",
234
- "packets": "0",
235
- "errors": "0",
236
- "drop": 0,
237
- "overrun": 0,
238
- "frame": 0,
239
- "compressed": 0,
240
- "multicast": 0
241
- },
242
- "tx": {
243
- "bytes": "342",
244
- "packets": "0",
245
- "errors": "0",
246
- "drop": 0,
247
- "overrun": 0,
248
- "collisions": "0",
249
- "carrier": 0,
250
- "compressed": 0
251
- }
252
- }
253
- }
254
- }
255
- },
256
- "current_user": "fauxhai",
257
- "domain": "local",
258
- "etc": {
259
- "passwd": {
260
- "fauxhai": {
261
- "dir": "/home/fauxhai",
262
- "gid": 0,
263
- "uid": 0,
264
- "shell": "/bin/bash",
265
- "gecos": "Fauxhai"
266
- }
267
- },
268
- "group": {
269
- "fauxhai": {
270
- "gid": 0,
271
- "members": [
272
- "fauxhai"
273
- ]
274
- }
275
- }
276
- },
277
- "hostname": "Fauxhai",
278
- "fqdn": "fauxhai.local",
279
- "ipaddress": "10.0.0.2",
280
- "keys": {
281
- "ssh": {
282
- "host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
283
- "host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
284
- }
522
+ "lsb": {
285
523
  },
286
524
  "macaddress": "11:11:11:11:11:11",
525
+ "machinename": "Fauxhai",
526
+ "memory": {
527
+ "total": "1048576kB"
528
+ },
287
529
  "network": {
288
- "default_gateway": "10.0.0.1",
289
- "default_interface": "eth0",
290
- "settings": {
291
- },
292
530
  "interfaces": {
293
- "eth0": {
531
+ "lo": {
532
+ "mtu": "65536",
533
+ "flags": [
534
+ "LOOPBACK",
535
+ "UP",
536
+ "LOWER_UP"
537
+ ],
538
+ "encapsulation": "Loopback",
294
539
  "addresses": {
295
- "10.0.0.2": {
296
- "broadcast": "10.0.0.255",
540
+ "127.0.0.1": {
297
541
  "family": "inet",
298
- "netmask": "255.255.255.0",
299
- "prefixlen": "24",
300
- "scope": "Global"
542
+ "prefixlen": "8",
543
+ "netmask": "255.0.0.0",
544
+ "scope": "Node",
545
+ "ip_scope": "LOOPBACK"
546
+ },
547
+ "::1": {
548
+ "family": "inet6",
549
+ "prefixlen": "128",
550
+ "scope": "Node",
551
+ "tags": [
552
+
553
+ ],
554
+ "ip_scope": "LINK LOCAL LOOPBACK"
301
555
  }
302
556
  },
303
- "arp": {
304
- "10.0.0.1": "fe:ff:ff:ff:ff:ff"
305
- },
306
- "encapsulation": "Ethernet",
557
+ "state": "unknown"
558
+ },
559
+ "eth0": {
560
+ "type": "eth",
561
+ "number": "0",
562
+ "mtu": "1500",
307
563
  "flags": [
308
564
  "BROADCAST",
309
565
  "MULTICAST",
310
566
  "UP",
311
567
  "LOWER_UP"
312
568
  ],
313
- "mtu": "1500",
314
- "number": "0",
569
+ "encapsulation": "Ethernet",
570
+ "addresses": {
571
+ "11:11:11:11:11:11": {
572
+ "family": "lladdr"
573
+ },
574
+ "10.0.0.2": {
575
+ "family": "inet",
576
+ "prefixlen": "24",
577
+ "netmask": "255.255.255.0",
578
+ "broadcast": "10.0.0.255",
579
+ "scope": "Global",
580
+ "ip_scope": "RFC1918 PRIVATE"
581
+ },
582
+ "fe80::11:1111:1111:1111": {
583
+ "family": "inet6",
584
+ "prefixlen": "64",
585
+ "scope": "Link",
586
+ "tags": [
587
+
588
+ ],
589
+ "ip_scope": "LINK LOCAL UNICAST"
590
+ }
591
+ },
592
+ "state": "up",
593
+ "arp": {
594
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
595
+ },
315
596
  "routes": [
597
+ {
598
+ "destination": "default",
599
+ "family": "inet",
600
+ "via": "10.0.0.1"
601
+ },
316
602
  {
317
603
  "destination": "10.0.0.0/24",
318
604
  "family": "inet",
319
605
  "scope": "link",
320
606
  "proto": "kernel",
321
607
  "src": "10.0.0.2"
608
+ },
609
+ {
610
+ "destination": "fe80::/64",
611
+ "family": "inet6",
612
+ "metric": "256",
613
+ "proto": "kernel"
322
614
  }
323
615
  ],
324
- "state": "up",
325
- "type": "eth"
616
+ "ring_params": {
617
+ }
326
618
  }
327
- }
619
+ },
620
+ "default_interface": "eth0",
621
+ "default_gateway": "10.0.0.1"
328
622
  },
329
- "uptime": "30 days 15 hours 07 minutes 30 seconds",
330
- "uptime_seconds": 2646450,
331
- "cpu": {
332
- "real": 1,
333
- "total": 1,
334
- "cores": 1
623
+ "ohai_time": 1492225446.8238776,
624
+ "os": "linux",
625
+ "os_version": "4.1.17-22.30.amzn1.x86_64",
626
+ "packages": {
335
627
  },
336
- "memory": {
337
- "total": "1048576kB"
628
+ "platform": "amazon",
629
+ "platform_family": "amazon",
630
+ "platform_version": "2015.09",
631
+ "root_group": "root",
632
+ "shells": [
633
+ "/bin/sh",
634
+ "/bin/bash",
635
+ "/sbin/nologin",
636
+ "/bin/dash"
637
+ ],
638
+ "time": {
639
+ "timezone": "GMT"
338
640
  },
641
+ "uptime": "30 days 15 hours 07 minutes 30 seconds",
642
+ "uptime_seconds": 2646450,
339
643
  "virtualization": {
340
644
  "systems": {
341
645
  }
342
646
  }
343
- }
647
+ }