fauxhai 3.8.0 → 3.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/fauxhai/mocker.rb +4 -1
- data/lib/fauxhai/platforms/debian/7.11.json +673 -0
- data/lib/fauxhai/platforms/debian/8.5.json +230 -265
- data/lib/fauxhai/platforms/mac_os_x/10.12.json +968 -0
- data/lib/fauxhai/platforms/redhat/7.2.json +653 -0
- data/lib/fauxhai/platforms/suse/11.4.json +640 -0
- data/lib/fauxhai/platforms/suse/12.1.json +695 -0
- data/lib/fauxhai/platforms/windows/10.json +385 -3615
- data/lib/fauxhai/platforms/windows/7.json +372 -0
- data/lib/fauxhai/platforms/windows/8.1.json +134 -3339
- data/lib/fauxhai/platforms/windows/8.json +136 -3757
- data/lib/fauxhai/version.rb +1 -1
- metadata +9 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dff7909ea56f8dd5d425e7d5944740328f65136
|
4
|
+
data.tar.gz: da8c7519ecb9dc3902d41be718b28fab507aa4d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4217212634b01f4c9dca4fe0ea3005ae891a020eb88ba767aad69018457ff2369465172eb88bfa2398882cd50d504da6f3563f8b35ed51d35b104415c125286
|
7
|
+
data.tar.gz: cbf008266ee56289611ec4491a4479bae2a48a08006dd709db21e1fab35b68ce18d2eb7433d92e57660c8f19bc5ff99fa6a7ec3ef4a69db0722e9a62b5f0374b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Fauxhai Changelog
|
2
2
|
|
3
|
+
## v3.9.0
|
4
|
+
|
5
|
+
- Added a new deprecation warning when someone doesn't provide a platform to mock. Previously we silently returned the Chefspec platform, which is probably not what anyone wanted / expected.
|
6
|
+
- Added macOS 10.12
|
7
|
+
- Added Redhat 7.2
|
8
|
+
- Added Suse 12.1 and 11.4
|
9
|
+
- Added Windows 7
|
10
|
+
- Regenerated Windows 8, 8.1, and 10
|
11
|
+
|
3
12
|
## v3.8.0
|
4
13
|
|
5
14
|
- Added init_package attribute to existing CentOS/Oracle/Ubuntu/Debian platforms
|
data/lib/fauxhai/mocker.rb
CHANGED
@@ -79,7 +79,10 @@ module Fauxhai
|
|
79
79
|
end
|
80
80
|
|
81
81
|
def platform
|
82
|
-
@options[:platform] ||=
|
82
|
+
@options[:platform] ||= begin
|
83
|
+
STDERR.puts "WARNING: you must specify a platform and platform_version to your ChefSpec Runner and/or Fauxhai constructor, in the future omitting these will become a hard error"
|
84
|
+
'chefspec'
|
85
|
+
end
|
83
86
|
end
|
84
87
|
|
85
88
|
def platform_path
|
@@ -0,0 +1,673 @@
|
|
1
|
+
{
|
2
|
+
"dmi": {
|
3
|
+
"dmidecode_version": "2.11",
|
4
|
+
"smbios_version": "2.5",
|
5
|
+
"structures": {
|
6
|
+
"count": "10",
|
7
|
+
"size": "450"
|
8
|
+
},
|
9
|
+
"table_location": "0x000E1000",
|
10
|
+
"bios": {
|
11
|
+
"all_records": [
|
12
|
+
{
|
13
|
+
"record_id": "0x0000",
|
14
|
+
"size": "0",
|
15
|
+
"application_identifier": "BIOS Information",
|
16
|
+
"Vendor": "innotek GmbH",
|
17
|
+
"Version": "VirtualBox",
|
18
|
+
"Release Date": "12/01/2006",
|
19
|
+
"Address": "0xE0000",
|
20
|
+
"Runtime Size": "128 kB",
|
21
|
+
"ROM Size": "128 kB",
|
22
|
+
"Characteristics": {
|
23
|
+
"ISA is supported": null,
|
24
|
+
"PCI is supported": null,
|
25
|
+
"Boot from CD is supported": null,
|
26
|
+
"Selectable boot is supported": null,
|
27
|
+
"8042 keyboard services are supported (int 9h)": null,
|
28
|
+
"CGA/mono video services are supported (int 10h)": null,
|
29
|
+
"ACPI is supported": null
|
30
|
+
}
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"vendor": "innotek GmbH",
|
34
|
+
"version": "VirtualBox",
|
35
|
+
"release_date": "12/01/2006",
|
36
|
+
"address": "0xE0000",
|
37
|
+
"runtime_size": "128 kB",
|
38
|
+
"rom_size": "128 kB"
|
39
|
+
},
|
40
|
+
"system": {
|
41
|
+
"all_records": [
|
42
|
+
{
|
43
|
+
"record_id": "0x0001",
|
44
|
+
"size": "1",
|
45
|
+
"application_identifier": "System Information",
|
46
|
+
"Manufacturer": "innotek GmbH",
|
47
|
+
"Product Name": "VirtualBox",
|
48
|
+
"Version": "1.2",
|
49
|
+
"Serial Number": "0",
|
50
|
+
"UUID": "1B4B488F-2EB1-4ABF-AA9A-54454A656AA2",
|
51
|
+
"Wake-up Type": "Power Switch",
|
52
|
+
"SKU Number": "Not Specified",
|
53
|
+
"Family": "Virtual Machine"
|
54
|
+
}
|
55
|
+
],
|
56
|
+
"manufacturer": "innotek GmbH",
|
57
|
+
"product_name": "VirtualBox",
|
58
|
+
"version": "1.2",
|
59
|
+
"serial_number": "0",
|
60
|
+
"uuid": "1B4B488F-2EB1-4ABF-AA9A-54454A656AA2",
|
61
|
+
"wake_up_type": "Power Switch",
|
62
|
+
"sku_number": "Not Specified",
|
63
|
+
"family": "Virtual Machine"
|
64
|
+
},
|
65
|
+
"base_board": {
|
66
|
+
"all_records": [
|
67
|
+
{
|
68
|
+
"record_id": "0x0008",
|
69
|
+
"size": "2",
|
70
|
+
"application_identifier": "Base Board Information",
|
71
|
+
"Manufacturer": "Oracle Corporation",
|
72
|
+
"Product Name": "VirtualBox",
|
73
|
+
"Version": "1.2",
|
74
|
+
"Serial Number": "0",
|
75
|
+
"Asset Tag": "Not Specified",
|
76
|
+
"Features": {
|
77
|
+
"Board is a hosting board": null
|
78
|
+
},
|
79
|
+
"Location In Chassis": "Not Specified",
|
80
|
+
"Chassis Handle": "0x0003",
|
81
|
+
"Type": "Motherboard",
|
82
|
+
"Contained Object Handles": "0"
|
83
|
+
}
|
84
|
+
],
|
85
|
+
"manufacturer": "Oracle Corporation",
|
86
|
+
"product_name": "VirtualBox",
|
87
|
+
"version": "1.2",
|
88
|
+
"serial_number": "0",
|
89
|
+
"asset_tag": "Not Specified",
|
90
|
+
"location_in_chassis": "Not Specified",
|
91
|
+
"chassis_handle": "0x0003",
|
92
|
+
"type": "Motherboard",
|
93
|
+
"contained_object_handles": "0"
|
94
|
+
},
|
95
|
+
"chassis": {
|
96
|
+
"all_records": [
|
97
|
+
{
|
98
|
+
"record_id": "0x0003",
|
99
|
+
"size": "3",
|
100
|
+
"application_identifier": "Chassis Information",
|
101
|
+
"Manufacturer": "Oracle Corporation",
|
102
|
+
"Type": "Other",
|
103
|
+
"Lock": "Not Present",
|
104
|
+
"Version": "Not Specified",
|
105
|
+
"Serial Number": "Not Specified",
|
106
|
+
"Asset Tag": "Not Specified",
|
107
|
+
"Boot-up State": "Safe",
|
108
|
+
"Power Supply State": "Safe",
|
109
|
+
"Thermal State": "Safe",
|
110
|
+
"Security Status": "None"
|
111
|
+
}
|
112
|
+
],
|
113
|
+
"manufacturer": "Oracle Corporation",
|
114
|
+
"type": "Other",
|
115
|
+
"lock": "Not Present",
|
116
|
+
"version": "Not Specified",
|
117
|
+
"serial_number": "Not Specified",
|
118
|
+
"asset_tag": "Not Specified",
|
119
|
+
"boot_up_state": "Safe",
|
120
|
+
"power_supply_state": "Safe",
|
121
|
+
"thermal_state": "Safe",
|
122
|
+
"security_status": "None"
|
123
|
+
},
|
124
|
+
"oem_strings": {
|
125
|
+
"all_records": [
|
126
|
+
{
|
127
|
+
"record_id": "0x0002",
|
128
|
+
"size": "11",
|
129
|
+
"application_identifier": "OEM Strings",
|
130
|
+
"String 1": "vboxVer_5.0.26",
|
131
|
+
"String 2": "vboxRev_108824"
|
132
|
+
}
|
133
|
+
],
|
134
|
+
"string_1": "vboxVer_5.0.26",
|
135
|
+
"string_2": "vboxRev_108824"
|
136
|
+
}
|
137
|
+
},
|
138
|
+
"kernel": {
|
139
|
+
"name": "Linux",
|
140
|
+
"release": "3.2.0-4-amd64",
|
141
|
+
"version": "#1 SMP Debian 3.2.81-1",
|
142
|
+
"machine": "x86_64",
|
143
|
+
"processor": "unknown",
|
144
|
+
"os": "GNU/Linux",
|
145
|
+
"modules": {
|
146
|
+
"isofs": {
|
147
|
+
"size": "35173",
|
148
|
+
"refcount": "0"
|
149
|
+
},
|
150
|
+
"udf": {
|
151
|
+
"size": "67954",
|
152
|
+
"refcount": "0"
|
153
|
+
},
|
154
|
+
"crc_itu_t": {
|
155
|
+
"size": "12347",
|
156
|
+
"refcount": "1"
|
157
|
+
},
|
158
|
+
"nfsd": {
|
159
|
+
"size": "216052",
|
160
|
+
"refcount": "2"
|
161
|
+
},
|
162
|
+
"nfs": {
|
163
|
+
"size": "308353",
|
164
|
+
"refcount": "0"
|
165
|
+
},
|
166
|
+
"nfs_acl": {
|
167
|
+
"size": "12511",
|
168
|
+
"refcount": "2"
|
169
|
+
},
|
170
|
+
"auth_rpcgss": {
|
171
|
+
"size": "37136",
|
172
|
+
"refcount": "2"
|
173
|
+
},
|
174
|
+
"fscache": {
|
175
|
+
"size": "36739",
|
176
|
+
"refcount": "1"
|
177
|
+
},
|
178
|
+
"lockd": {
|
179
|
+
"size": "67306",
|
180
|
+
"refcount": "2"
|
181
|
+
},
|
182
|
+
"sunrpc": {
|
183
|
+
"size": "173736",
|
184
|
+
"refcount": "6"
|
185
|
+
},
|
186
|
+
"loop": {
|
187
|
+
"size": "22634",
|
188
|
+
"refcount": "0"
|
189
|
+
},
|
190
|
+
"crc32c_intel": {
|
191
|
+
"size": "12747",
|
192
|
+
"refcount": "0"
|
193
|
+
},
|
194
|
+
"snd_intel8x0": {
|
195
|
+
"size": "30903",
|
196
|
+
"refcount": "0"
|
197
|
+
},
|
198
|
+
"snd_ac97_codec": {
|
199
|
+
"size": "106942",
|
200
|
+
"refcount": "1"
|
201
|
+
},
|
202
|
+
"snd_pcm": {
|
203
|
+
"size": "68083",
|
204
|
+
"refcount": "2"
|
205
|
+
},
|
206
|
+
"snd_page_alloc": {
|
207
|
+
"size": "13003",
|
208
|
+
"refcount": "2"
|
209
|
+
},
|
210
|
+
"snd_timer": {
|
211
|
+
"size": "22930",
|
212
|
+
"refcount": "1"
|
213
|
+
},
|
214
|
+
"joydev": {
|
215
|
+
"size": "17266",
|
216
|
+
"refcount": "0"
|
217
|
+
},
|
218
|
+
"ac": {
|
219
|
+
"size": "12624",
|
220
|
+
"refcount": "0"
|
221
|
+
},
|
222
|
+
"battery": {
|
223
|
+
"size": "13146",
|
224
|
+
"refcount": "0"
|
225
|
+
},
|
226
|
+
"power_supply": {
|
227
|
+
"size": "13475",
|
228
|
+
"refcount": "2"
|
229
|
+
},
|
230
|
+
"evdev": {
|
231
|
+
"size": "17562",
|
232
|
+
"refcount": "4"
|
233
|
+
},
|
234
|
+
"aesni_intel": {
|
235
|
+
"size": "50667",
|
236
|
+
"refcount": "0"
|
237
|
+
},
|
238
|
+
"video": {
|
239
|
+
"size": "17683",
|
240
|
+
"refcount": "0"
|
241
|
+
},
|
242
|
+
"aes_x86_64": {
|
243
|
+
"size": "16843",
|
244
|
+
"refcount": "1"
|
245
|
+
},
|
246
|
+
"processor": {
|
247
|
+
"size": "28149",
|
248
|
+
"refcount": "0"
|
249
|
+
},
|
250
|
+
"snd": {
|
251
|
+
"size": "52893",
|
252
|
+
"refcount": "4"
|
253
|
+
},
|
254
|
+
"thermal_sys": {
|
255
|
+
"size": "18040",
|
256
|
+
"refcount": "2"
|
257
|
+
},
|
258
|
+
"aes_generic": {
|
259
|
+
"size": "33026",
|
260
|
+
"refcount": "2"
|
261
|
+
},
|
262
|
+
"button": {
|
263
|
+
"size": "12937",
|
264
|
+
"refcount": "0"
|
265
|
+
},
|
266
|
+
"cryptd": {
|
267
|
+
"size": "14517",
|
268
|
+
"refcount": "1"
|
269
|
+
},
|
270
|
+
"usbhid": {
|
271
|
+
"size": "36418",
|
272
|
+
"refcount": "0"
|
273
|
+
},
|
274
|
+
"i2c_piix4": {
|
275
|
+
"size": "12536",
|
276
|
+
"refcount": "0"
|
277
|
+
},
|
278
|
+
"psmouse": {
|
279
|
+
"size": "69322",
|
280
|
+
"refcount": "0"
|
281
|
+
},
|
282
|
+
"hid": {
|
283
|
+
"size": "81372",
|
284
|
+
"refcount": "1"
|
285
|
+
},
|
286
|
+
"serio_raw": {
|
287
|
+
"size": "12931",
|
288
|
+
"refcount": "0"
|
289
|
+
},
|
290
|
+
"i2c_core": {
|
291
|
+
"size": "23876",
|
292
|
+
"refcount": "1"
|
293
|
+
},
|
294
|
+
"pcspkr": {
|
295
|
+
"size": "12579",
|
296
|
+
"refcount": "0"
|
297
|
+
},
|
298
|
+
"vboxguest": {
|
299
|
+
"size": "148569",
|
300
|
+
"refcount": "1",
|
301
|
+
"version": "4.1.42_Debian"
|
302
|
+
},
|
303
|
+
"soundcore": {
|
304
|
+
"size": "13065",
|
305
|
+
"refcount": "1"
|
306
|
+
},
|
307
|
+
"ac97_bus": {
|
308
|
+
"size": "12510",
|
309
|
+
"refcount": "1"
|
310
|
+
},
|
311
|
+
"ext4": {
|
312
|
+
"size": "355088",
|
313
|
+
"refcount": "1"
|
314
|
+
},
|
315
|
+
"crc16": {
|
316
|
+
"size": "12343",
|
317
|
+
"refcount": "1"
|
318
|
+
},
|
319
|
+
"jbd2": {
|
320
|
+
"size": "62388",
|
321
|
+
"refcount": "1"
|
322
|
+
},
|
323
|
+
"mbcache": {
|
324
|
+
"size": "13082",
|
325
|
+
"refcount": "1"
|
326
|
+
},
|
327
|
+
"sg": {
|
328
|
+
"size": "25874",
|
329
|
+
"refcount": "0",
|
330
|
+
"version": "3.5.34"
|
331
|
+
},
|
332
|
+
"sr_mod": {
|
333
|
+
"size": "21899",
|
334
|
+
"refcount": "0"
|
335
|
+
},
|
336
|
+
"sd_mod": {
|
337
|
+
"size": "36187",
|
338
|
+
"refcount": "3"
|
339
|
+
},
|
340
|
+
"cdrom": {
|
341
|
+
"size": "35401",
|
342
|
+
"refcount": "1"
|
343
|
+
},
|
344
|
+
"crc_t10dif": {
|
345
|
+
"size": "12348",
|
346
|
+
"refcount": "1"
|
347
|
+
},
|
348
|
+
"ata_generic": {
|
349
|
+
"size": "12479",
|
350
|
+
"refcount": "0",
|
351
|
+
"version": "0.2.15"
|
352
|
+
},
|
353
|
+
"ahci": {
|
354
|
+
"size": "29136",
|
355
|
+
"refcount": "2",
|
356
|
+
"version": "3.0"
|
357
|
+
},
|
358
|
+
"libahci": {
|
359
|
+
"size": "22941",
|
360
|
+
"refcount": "1"
|
361
|
+
},
|
362
|
+
"ata_piix": {
|
363
|
+
"size": "29535",
|
364
|
+
"refcount": "0",
|
365
|
+
"version": "2.13"
|
366
|
+
},
|
367
|
+
"ohci_hcd": {
|
368
|
+
"size": "26563",
|
369
|
+
"refcount": "0"
|
370
|
+
},
|
371
|
+
"ehci_hcd": {
|
372
|
+
"size": "40249",
|
373
|
+
"refcount": "0"
|
374
|
+
},
|
375
|
+
"usbcore": {
|
376
|
+
"size": "128741",
|
377
|
+
"refcount": "4"
|
378
|
+
},
|
379
|
+
"usb_common": {
|
380
|
+
"size": "12354",
|
381
|
+
"refcount": "1"
|
382
|
+
},
|
383
|
+
"e1000": {
|
384
|
+
"size": "86209",
|
385
|
+
"refcount": "0",
|
386
|
+
"version": "7.3.21-k8-NAPI"
|
387
|
+
},
|
388
|
+
"libata": {
|
389
|
+
"size": "140721",
|
390
|
+
"refcount": "4",
|
391
|
+
"version": "3.00"
|
392
|
+
},
|
393
|
+
"scsi_mod": {
|
394
|
+
"size": "162321",
|
395
|
+
"refcount": "4"
|
396
|
+
}
|
397
|
+
}
|
398
|
+
},
|
399
|
+
"lsb": {
|
400
|
+
"id": "Debian",
|
401
|
+
"description": "Debian GNU/Linux 7.11 (wheezy)",
|
402
|
+
"release": "7.11",
|
403
|
+
"codename": "wheezy"
|
404
|
+
},
|
405
|
+
"os": "linux",
|
406
|
+
"os_version": "3.2.0-4-amd64",
|
407
|
+
"platform": "debian",
|
408
|
+
"platform_version": "7.11",
|
409
|
+
"platform_family": "debian",
|
410
|
+
"filesystem": {
|
411
|
+
"rootfs": {
|
412
|
+
"kb_size": "9848352",
|
413
|
+
"kb_used": "1305672",
|
414
|
+
"kb_available": "8042408",
|
415
|
+
"percent_used": "14%",
|
416
|
+
"mount": "/",
|
417
|
+
"total_inodes": "625856",
|
418
|
+
"inodes_used": "59876",
|
419
|
+
"inodes_available": "565980",
|
420
|
+
"inodes_percent_used": "10%"
|
421
|
+
},
|
422
|
+
"udev": {
|
423
|
+
"kb_size": "10240",
|
424
|
+
"kb_used": "0",
|
425
|
+
"kb_available": "10240",
|
426
|
+
"percent_used": "0%",
|
427
|
+
"mount": "/dev",
|
428
|
+
"total_inodes": "126884",
|
429
|
+
"inodes_used": "356",
|
430
|
+
"inodes_available": "126528",
|
431
|
+
"inodes_percent_used": "1%",
|
432
|
+
"fs_type": "devtmpfs",
|
433
|
+
"mount_options": [
|
434
|
+
"rw",
|
435
|
+
"relatime",
|
436
|
+
"size=10240k",
|
437
|
+
"nr_inodes=126884",
|
438
|
+
"mode=755"
|
439
|
+
]
|
440
|
+
},
|
441
|
+
"tmpfs": {
|
442
|
+
"kb_size": "300820",
|
443
|
+
"kb_used": "0",
|
444
|
+
"kb_available": "300820",
|
445
|
+
"percent_used": "0%",
|
446
|
+
"mount": "/run/shm",
|
447
|
+
"total_inodes": "128373",
|
448
|
+
"inodes_used": "2",
|
449
|
+
"inodes_available": "128371",
|
450
|
+
"inodes_percent_used": "1%",
|
451
|
+
"fs_type": "tmpfs",
|
452
|
+
"mount_options": [
|
453
|
+
"rw",
|
454
|
+
"nosuid",
|
455
|
+
"nodev",
|
456
|
+
"noexec",
|
457
|
+
"relatime",
|
458
|
+
"size=300820k"
|
459
|
+
]
|
460
|
+
},
|
461
|
+
"/dev/disk/by-uuid/f64c1398-0c3a-43a4-9354-8ea7cde05ba4": {
|
462
|
+
"kb_size": "9848352",
|
463
|
+
"kb_used": "1305672",
|
464
|
+
"kb_available": "8042408",
|
465
|
+
"percent_used": "14%",
|
466
|
+
"mount": "/",
|
467
|
+
"total_inodes": "625856",
|
468
|
+
"inodes_used": "59876",
|
469
|
+
"inodes_available": "565980",
|
470
|
+
"inodes_percent_used": "10%",
|
471
|
+
"fs_type": "ext4",
|
472
|
+
"mount_options": [
|
473
|
+
"rw",
|
474
|
+
"relatime",
|
475
|
+
"errors=remount-ro",
|
476
|
+
"user_xattr",
|
477
|
+
"barrier=1",
|
478
|
+
"data=ordered"
|
479
|
+
]
|
480
|
+
},
|
481
|
+
"sysfs": {
|
482
|
+
"mount": "/sys",
|
483
|
+
"fs_type": "sysfs",
|
484
|
+
"mount_options": [
|
485
|
+
"rw",
|
486
|
+
"nosuid",
|
487
|
+
"nodev",
|
488
|
+
"noexec",
|
489
|
+
"relatime"
|
490
|
+
]
|
491
|
+
},
|
492
|
+
"proc": {
|
493
|
+
"mount": "/proc",
|
494
|
+
"fs_type": "proc",
|
495
|
+
"mount_options": [
|
496
|
+
"rw",
|
497
|
+
"nosuid",
|
498
|
+
"nodev",
|
499
|
+
"noexec",
|
500
|
+
"relatime"
|
501
|
+
]
|
502
|
+
},
|
503
|
+
"devpts": {
|
504
|
+
"mount": "/dev/pts",
|
505
|
+
"fs_type": "devpts",
|
506
|
+
"mount_options": [
|
507
|
+
"rw",
|
508
|
+
"nosuid",
|
509
|
+
"noexec",
|
510
|
+
"relatime",
|
511
|
+
"gid=5",
|
512
|
+
"mode=620",
|
513
|
+
"ptmxmode=000"
|
514
|
+
]
|
515
|
+
},
|
516
|
+
"rpc_pipefs": {
|
517
|
+
"mount": "/var/lib/nfs/rpc_pipefs",
|
518
|
+
"fs_type": "rpc_pipefs",
|
519
|
+
"mount_options": [
|
520
|
+
"rw",
|
521
|
+
"relatime"
|
522
|
+
]
|
523
|
+
},
|
524
|
+
"/dev/sda1": {
|
525
|
+
"fs_type": "ext4",
|
526
|
+
"uuid": "f64c1398-0c3a-43a4-9354-8ea7cde05ba4"
|
527
|
+
},
|
528
|
+
"/dev/sda5": {
|
529
|
+
"fs_type": "swap",
|
530
|
+
"uuid": "d740a157-95e0-4166-ba28-dedf688d618d"
|
531
|
+
}
|
532
|
+
},
|
533
|
+
"root_group": "root",
|
534
|
+
"ohai_time": 1471128740.7481866,
|
535
|
+
"init_package": "init",
|
536
|
+
"command": {
|
537
|
+
"ps": "ps -ef"
|
538
|
+
},
|
539
|
+
"languages": {
|
540
|
+
"ruby": {
|
541
|
+
"bin_dir": "/usr/local/bin",
|
542
|
+
"gem_bin": "/usr/local/bin/gem",
|
543
|
+
"gems_dir": "/usr/local/gems",
|
544
|
+
"ruby_bin": "/usr/local/bin/ruby"
|
545
|
+
},
|
546
|
+
"powershell": null
|
547
|
+
},
|
548
|
+
"chef_packages": {
|
549
|
+
"chef": {
|
550
|
+
"version": "12.13.30",
|
551
|
+
"chef_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.13.30/lib"
|
552
|
+
},
|
553
|
+
"ohai": {
|
554
|
+
"version": "8.18.0",
|
555
|
+
"ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.18.0/lib/ohai"
|
556
|
+
}
|
557
|
+
},
|
558
|
+
"counters": {
|
559
|
+
"network": {
|
560
|
+
"interfaces": {
|
561
|
+
"eth0": {
|
562
|
+
"rx": {
|
563
|
+
"bytes": "0",
|
564
|
+
"packets": "0",
|
565
|
+
"errors": "0",
|
566
|
+
"drop": 0,
|
567
|
+
"overrun": 0,
|
568
|
+
"frame": 0,
|
569
|
+
"compressed": 0,
|
570
|
+
"multicast": 0
|
571
|
+
},
|
572
|
+
"tx": {
|
573
|
+
"bytes": "342",
|
574
|
+
"packets": "0",
|
575
|
+
"errors": "0",
|
576
|
+
"drop": 0,
|
577
|
+
"overrun": 0,
|
578
|
+
"collisions": "0",
|
579
|
+
"carrier": 0,
|
580
|
+
"compressed": 0
|
581
|
+
}
|
582
|
+
}
|
583
|
+
}
|
584
|
+
}
|
585
|
+
},
|
586
|
+
"current_user": "fauxhai",
|
587
|
+
"domain": "local",
|
588
|
+
"etc": {
|
589
|
+
"passwd": {
|
590
|
+
"fauxhai": {
|
591
|
+
"dir": "/home/fauxhai",
|
592
|
+
"gid": 0,
|
593
|
+
"uid": 0,
|
594
|
+
"shell": "/bin/bash",
|
595
|
+
"gecos": "Fauxhai"
|
596
|
+
}
|
597
|
+
},
|
598
|
+
"group": {
|
599
|
+
"fauxhai": {
|
600
|
+
"gid": 0,
|
601
|
+
"members": [
|
602
|
+
"fauxhai"
|
603
|
+
]
|
604
|
+
}
|
605
|
+
}
|
606
|
+
},
|
607
|
+
"hostname": "Fauxhai",
|
608
|
+
"fqdn": "fauxhai.local",
|
609
|
+
"ipaddress": "10.0.0.2",
|
610
|
+
"keys": {
|
611
|
+
"ssh": {
|
612
|
+
"host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
|
613
|
+
"host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
|
614
|
+
}
|
615
|
+
},
|
616
|
+
"macaddress": "11:11:11:11:11:11",
|
617
|
+
"network": {
|
618
|
+
"default_gateway": "10.0.0.1",
|
619
|
+
"default_interface": "eth0",
|
620
|
+
"settings": {
|
621
|
+
},
|
622
|
+
"interfaces": {
|
623
|
+
"eth0": {
|
624
|
+
"addresses": {
|
625
|
+
"10.0.0.2": {
|
626
|
+
"broadcast": "10.0.0.255",
|
627
|
+
"family": "inet",
|
628
|
+
"netmask": "255.255.255.0",
|
629
|
+
"prefixlen": "24",
|
630
|
+
"scope": "Global"
|
631
|
+
}
|
632
|
+
},
|
633
|
+
"arp": {
|
634
|
+
"10.0.0.1": "fe:ff:ff:ff:ff:ff"
|
635
|
+
},
|
636
|
+
"encapsulation": "Ethernet",
|
637
|
+
"flags": [
|
638
|
+
"BROADCAST",
|
639
|
+
"MULTICAST",
|
640
|
+
"UP",
|
641
|
+
"LOWER_UP"
|
642
|
+
],
|
643
|
+
"mtu": "1500",
|
644
|
+
"number": "0",
|
645
|
+
"routes": [
|
646
|
+
{
|
647
|
+
"destination": "10.0.0.0/24",
|
648
|
+
"family": "inet",
|
649
|
+
"scope": "link",
|
650
|
+
"proto": "kernel",
|
651
|
+
"src": "10.0.0.2"
|
652
|
+
}
|
653
|
+
],
|
654
|
+
"state": "up",
|
655
|
+
"type": "eth"
|
656
|
+
}
|
657
|
+
}
|
658
|
+
},
|
659
|
+
"uptime": "30 days 15 hours 07 minutes 30 seconds",
|
660
|
+
"uptime_seconds": 2646450,
|
661
|
+
"cpu": {
|
662
|
+
"real": 1,
|
663
|
+
"total": 1,
|
664
|
+
"cores": 1
|
665
|
+
},
|
666
|
+
"memory": {
|
667
|
+
"total": "1048576kB"
|
668
|
+
},
|
669
|
+
"virtualization": {
|
670
|
+
"systems": {
|
671
|
+
}
|
672
|
+
}
|
673
|
+
}
|