fauxhai 0.0.4 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 1.9.3-p362
data/fauxhai.gemspec CHANGED
@@ -2,7 +2,7 @@ lib = File.expand_path('../lib', __FILE__)
2
2
  $:.unshift(lib) unless $:.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
- gem.version = '0.0.4'
5
+ gem.version = '0.1.1'
6
6
  gem.authors = ['Seth Vargo']
7
7
  gem.email = ['svargo@customink.com']
8
8
  gem.description = %q{Easily mock out ohai data}
@@ -18,4 +18,6 @@ Gem::Specification.new do |gem|
18
18
  gem.add_runtime_dependency 'chef'
19
19
  gem.add_runtime_dependency 'httparty'
20
20
  gem.add_runtime_dependency 'net-ssh'
21
+
22
+ gem.add_development_dependency 'rake'
21
23
  end
@@ -3,13 +3,24 @@ require 'httparty'
3
3
 
4
4
  module Fauxhai
5
5
  class Mocker
6
+ # @return [Hash] The raw ohai data for the given Mock
7
+ attr_reader :data
8
+
9
+ # Create a new Ohai Mock with fauxhai.
10
+ #
11
+ # @param [Hash] options
12
+ # the options for the mocker
13
+ # @option options [String] :platform
14
+ # the platform to mock
15
+ # @option options [String] :version
16
+ # the version of the platform to mock
6
17
  def initialize(options = {}, &override_attributes)
7
18
  @options = options
8
19
 
9
20
  @data = fauxhai_data
10
21
  yield(@data) if block_given?
11
22
 
12
- if defined?(ChefSpec)
23
+ if defined?(::ChefSpec) && ::ChefSpec::VERSION <= '0.9.0'
13
24
  data = @data
14
25
  ::ChefSpec::ChefRunner.send :define_method, :fake_ohai do |ohai|
15
26
  data.each_pair do |attribute, value|
@@ -21,13 +32,6 @@ module Fauxhai
21
32
  @data
22
33
  end
23
34
 
24
- # Return the given `@data` attribute as a Ruby hash instead of a JSON object
25
- #
26
- # @return [Hash] the `@data` represented as a Ruby hash
27
- def to_hash(*args)
28
- @data.to_hash(*args)
29
- end
30
-
31
35
  private
32
36
  def default_version
33
37
  @default_version ||= lambda do
@@ -0,0 +1,757 @@
1
+ {
2
+ "kernel": {
3
+ "name": "Linux",
4
+ "release": "2.6.18-308.el5",
5
+ "version": "#1 SMP Tue Feb 21 20:06:06 EST 2012",
6
+ "machine": "x86_64",
7
+ "modules": {
8
+ "loop": {
9
+ "size": "48593",
10
+ "refcount": "0"
11
+ },
12
+ "vboxsf": {
13
+ "size": "71520",
14
+ "refcount": "1"
15
+ },
16
+ "autofs4": {
17
+ "size": "62281",
18
+ "refcount": "3"
19
+ },
20
+ "lockd": {
21
+ "size": "101425",
22
+ "refcount": "0"
23
+ },
24
+ "sunrpc": {
25
+ "size": "203145",
26
+ "refcount": "2"
27
+ },
28
+ "be2iscsi": {
29
+ "size": "94685",
30
+ "refcount": "0"
31
+ },
32
+ "ib_iser": {
33
+ "size": "68161",
34
+ "refcount": "0"
35
+ },
36
+ "rdma_cm": {
37
+ "size": "68689",
38
+ "refcount": "1"
39
+ },
40
+ "ib_cm": {
41
+ "size": "72809",
42
+ "refcount": "1"
43
+ },
44
+ "iw_cm": {
45
+ "size": "43465",
46
+ "refcount": "1"
47
+ },
48
+ "ib_sa": {
49
+ "size": "74953",
50
+ "refcount": "2"
51
+ },
52
+ "ib_mad": {
53
+ "size": "70757",
54
+ "refcount": "2"
55
+ },
56
+ "ib_core": {
57
+ "size": "104901",
58
+ "refcount": "6"
59
+ },
60
+ "ib_addr": {
61
+ "size": "41673",
62
+ "refcount": "1"
63
+ },
64
+ "iscsi_tcp": {
65
+ "size": "50893",
66
+ "refcount": "0"
67
+ },
68
+ "bnx2i": {
69
+ "size": "81249",
70
+ "refcount": "0"
71
+ },
72
+ "cnic": {
73
+ "size": "85481",
74
+ "refcount": "1"
75
+ },
76
+ "ipv6": {
77
+ "size": "437857",
78
+ "refcount": "11"
79
+ },
80
+ "xfrm_nalgo": {
81
+ "size": "43333",
82
+ "refcount": "1"
83
+ },
84
+ "crypto_api": {
85
+ "size": "42945",
86
+ "refcount": "1"
87
+ },
88
+ "uio": {
89
+ "size": "45777",
90
+ "refcount": "1"
91
+ },
92
+ "cxgb3i": {
93
+ "size": "64849",
94
+ "refcount": "0"
95
+ },
96
+ "libcxgbi": {
97
+ "size": "91597",
98
+ "refcount": "1"
99
+ },
100
+ "cxgb3": {
101
+ "size": "216241",
102
+ "refcount": "1"
103
+ },
104
+ "8021q": {
105
+ "size": "58449",
106
+ "refcount": "1"
107
+ },
108
+ "libiscsi_tcp": {
109
+ "size": "53573",
110
+ "refcount": "3"
111
+ },
112
+ "libiscsi2": {
113
+ "size": "77765",
114
+ "refcount": "7"
115
+ },
116
+ "scsi_transport_iscsi2": {
117
+ "size": "73945",
118
+ "refcount": "8"
119
+ },
120
+ "scsi_transport_iscsi": {
121
+ "size": "35017",
122
+ "refcount": "1"
123
+ },
124
+ "dm_multipath": {
125
+ "size": "58969",
126
+ "refcount": "0"
127
+ },
128
+ "scsi_dh": {
129
+ "size": "42561",
130
+ "refcount": "1"
131
+ },
132
+ "video": {
133
+ "size": "53197",
134
+ "refcount": "0"
135
+ },
136
+ "backlight": {
137
+ "size": "39872",
138
+ "refcount": "1"
139
+ },
140
+ "sbs": {
141
+ "size": "49921",
142
+ "refcount": "0"
143
+ },
144
+ "power_meter": {
145
+ "size": "47053",
146
+ "refcount": "0"
147
+ },
148
+ "hwmon": {
149
+ "size": "36553",
150
+ "refcount": "1"
151
+ },
152
+ "i2c_ec": {
153
+ "size": "38593",
154
+ "refcount": "1"
155
+ },
156
+ "dell_wmi": {
157
+ "size": "37601",
158
+ "refcount": "0"
159
+ },
160
+ "wmi": {
161
+ "size": "41985",
162
+ "refcount": "1"
163
+ },
164
+ "button": {
165
+ "size": "40545",
166
+ "refcount": "0"
167
+ },
168
+ "battery": {
169
+ "size": "43849",
170
+ "refcount": "0"
171
+ },
172
+ "asus_acpi": {
173
+ "size": "50917",
174
+ "refcount": "0"
175
+ },
176
+ "acpi_memhotplug": {
177
+ "size": "40517",
178
+ "refcount": "0"
179
+ },
180
+ "ac": {
181
+ "size": "38729",
182
+ "refcount": "0"
183
+ },
184
+ "lp": {
185
+ "size": "47121",
186
+ "refcount": "0"
187
+ },
188
+ "sg": {
189
+ "size": "70649",
190
+ "refcount": "0"
191
+ },
192
+ "i2c_piix4": {
193
+ "size": "43725",
194
+ "refcount": "0"
195
+ },
196
+ "i2c_core": {
197
+ "size": "57537",
198
+ "refcount": "2"
199
+ },
200
+ "serio_raw": {
201
+ "size": "40517",
202
+ "refcount": "0"
203
+ },
204
+ "pcspkr": {
205
+ "size": "36289",
206
+ "refcount": "0"
207
+ },
208
+ "ide_cd": {
209
+ "size": "73825",
210
+ "refcount": "0"
211
+ },
212
+ "parport_pc": {
213
+ "size": "62953",
214
+ "refcount": "0"
215
+ },
216
+ "parport": {
217
+ "size": "73165",
218
+ "refcount": "2"
219
+ },
220
+ "e1000": {
221
+ "size": "162665",
222
+ "refcount": "0"
223
+ },
224
+ "vboxguest": {
225
+ "size": "260364",
226
+ "refcount": "2"
227
+ },
228
+ "tpm_tis": {
229
+ "size": "48077",
230
+ "refcount": "0"
231
+ },
232
+ "tpm": {
233
+ "size": "50273",
234
+ "refcount": "1"
235
+ },
236
+ "tpm_bios": {
237
+ "size": "40897",
238
+ "refcount": "1"
239
+ },
240
+ "cdrom": {
241
+ "size": "68713",
242
+ "refcount": "1"
243
+ },
244
+ "dm_raid45": {
245
+ "size": "99785",
246
+ "refcount": "0"
247
+ },
248
+ "dm_message": {
249
+ "size": "36289",
250
+ "refcount": "1"
251
+ },
252
+ "dm_region_hash": {
253
+ "size": "46145",
254
+ "refcount": "1"
255
+ },
256
+ "dm_mem_cache": {
257
+ "size": "38977",
258
+ "refcount": "1"
259
+ },
260
+ "dm_snapshot": {
261
+ "size": "52233",
262
+ "refcount": "0"
263
+ },
264
+ "dm_zero": {
265
+ "size": "35265",
266
+ "refcount": "0"
267
+ },
268
+ "dm_mirror": {
269
+ "size": "54737",
270
+ "refcount": "0"
271
+ },
272
+ "dm_log": {
273
+ "size": "44993",
274
+ "refcount": "3"
275
+ },
276
+ "dm_mod": {
277
+ "size": "102417",
278
+ "refcount": "11"
279
+ },
280
+ "ata_piix": {
281
+ "size": "57925",
282
+ "refcount": "0"
283
+ },
284
+ "ahci": {
285
+ "size": "73805",
286
+ "refcount": "2"
287
+ },
288
+ "libata": {
289
+ "size": "208977",
290
+ "refcount": "2"
291
+ },
292
+ "sd_mod": {
293
+ "size": "56513",
294
+ "refcount": "3"
295
+ },
296
+ "scsi_mod": {
297
+ "size": "199641",
298
+ "refcount": "11"
299
+ },
300
+ "ext3": {
301
+ "size": "169297",
302
+ "refcount": "2"
303
+ },
304
+ "jbd": {
305
+ "size": "94897",
306
+ "refcount": "1"
307
+ },
308
+ "uhci_hcd": {
309
+ "size": "57433",
310
+ "refcount": "0"
311
+ },
312
+ "ohci_hcd": {
313
+ "size": "56181",
314
+ "refcount": "0"
315
+ },
316
+ "ehci_hcd": {
317
+ "size": "66765",
318
+ "refcount": "0"
319
+ }
320
+ },
321
+ "os": "GNU/Linux"
322
+ },
323
+ "os": "linux",
324
+ "os_version": "2.6.18-308.el5",
325
+ "command": {
326
+ "ps": "ps -ef"
327
+ },
328
+ "ohai_time": 1355198209.604956,
329
+ "platform": "centos",
330
+ "platform_version": "5.8",
331
+ "platform_family": "rhel",
332
+ "dmi": {
333
+ "dmidecode_version": "2.11",
334
+ "smbios_version": "2.5",
335
+ "structures": {
336
+ "count": "9",
337
+ "size": "438"
338
+ },
339
+ "table_location": "0x000E1000",
340
+ "bios": {
341
+ "all_records": [
342
+ {
343
+ "record_id": "0x0000",
344
+ "size": "0",
345
+ "application_identifier": "BIOS Information",
346
+ "Vendor": "innotek GmbH",
347
+ "Version": "VirtualBox",
348
+ "Release Date": "12/01/2006",
349
+ "Address": "0xE0000",
350
+ "Runtime Size": "128 kB",
351
+ "ROM Size": "128 kB",
352
+ "Characteristics": {
353
+ "ISA is supported": null,
354
+ "PCI is supported": null,
355
+ "Boot from CD is supported": null,
356
+ "Selectable boot is supported": null,
357
+ "8042 keyboard services are supported (int 9h)": null,
358
+ "CGA/mono video services are supported (int 10h)": null,
359
+ "ACPI is supported": null
360
+ }
361
+ }
362
+ ],
363
+ "vendor": "innotek GmbH",
364
+ "version": "VirtualBox",
365
+ "release_date": "12/01/2006",
366
+ "address": "0xE0000",
367
+ "runtime_size": "128 kB",
368
+ "rom_size": "128 kB"
369
+ },
370
+ "system": {
371
+ "all_records": [
372
+ {
373
+ "record_id": "0x0001",
374
+ "size": "1",
375
+ "application_identifier": "System Information",
376
+ "Manufacturer": "innotek GmbH",
377
+ "Product Name": "VirtualBox",
378
+ "Version": "1.2",
379
+ "Serial Number": "0",
380
+ "UUID": "9C31075B-7780-40F5-BD00-A956C9DD60FC",
381
+ "Wake-up Type": "Power Switch",
382
+ "SKU Number": "Not Specified",
383
+ "Family": "Virtual Machine"
384
+ }
385
+ ],
386
+ "manufacturer": "innotek GmbH",
387
+ "product_name": "VirtualBox",
388
+ "version": "1.2",
389
+ "serial_number": "0",
390
+ "uuid": "9C31075B-7780-40F5-BD00-A956C9DD60FC",
391
+ "wake_up_type": "Power Switch",
392
+ "sku_number": "Not Specified",
393
+ "family": "Virtual Machine"
394
+ },
395
+ "base_board": {
396
+ "all_records": [
397
+ {
398
+ "record_id": "0x0008",
399
+ "size": "2",
400
+ "application_identifier": "Base Board Information",
401
+ "Manufacturer": "Oracle Corporation",
402
+ "Product Name": "VirtualBox",
403
+ "Version": "1.2",
404
+ "Serial Number": "0",
405
+ "Asset Tag": "Not Specified",
406
+ "Features": {
407
+ "Board is a hosting board": null
408
+ },
409
+ "Location In Chassis": "Not Specified",
410
+ "Chassis Handle": "0x0003",
411
+ "Type": "Motherboard",
412
+ "Contained Object Handles": "0"
413
+ }
414
+ ],
415
+ "manufacturer": "Oracle Corporation",
416
+ "product_name": "VirtualBox",
417
+ "version": "1.2",
418
+ "serial_number": "0",
419
+ "asset_tag": "Not Specified",
420
+ "location_in_chassis": "Not Specified",
421
+ "chassis_handle": "0x0003",
422
+ "type": "Motherboard",
423
+ "contained_object_handles": "0"
424
+ },
425
+ "chassis": {
426
+ "all_records": [
427
+ {
428
+ "record_id": "0x0003",
429
+ "size": "3",
430
+ "application_identifier": "Inactive",
431
+ "Manufacturer": "Oracle Corporation",
432
+ "Type": "Other",
433
+ "Lock": "Not Present",
434
+ "Version": "Not Specified",
435
+ "Serial Number": "Not Specified",
436
+ "Asset Tag": "Not Specified",
437
+ "Boot-up State": "Safe",
438
+ "Power Supply State": "Safe",
439
+ "Thermal State": "Safe",
440
+ "Security Status": "None"
441
+ }
442
+ ],
443
+ "manufacturer": "Oracle Corporation",
444
+ "type": "Other",
445
+ "lock": "Not Present",
446
+ "version": "Not Specified",
447
+ "serial_number": "Not Specified",
448
+ "asset_tag": "Not Specified",
449
+ "boot_up_state": "Safe",
450
+ "power_supply_state": "Safe",
451
+ "thermal_state": "Safe",
452
+ "security_status": "None"
453
+ },
454
+ "oem_strings": {
455
+ "all_records": [
456
+ {
457
+ "record_id": "0x0002",
458
+ "size": "11",
459
+ "application_identifier": "End Of Table",
460
+ "String 1": "vboxVer_4.2.4",
461
+ "String 2": "vboxRev_81684"
462
+ }
463
+ ],
464
+ "string_1": "vboxVer_4.2.4",
465
+ "string_2": "vboxRev_81684"
466
+ }
467
+ },
468
+ "filesystem": {
469
+ "/dev/mapper/VolGroup00-LogVol00": {
470
+ "kb_size": "39740792",
471
+ "kb_used": "1487588",
472
+ "kb_available": "36201928",
473
+ "percent_used": "4%",
474
+ "mount": "/",
475
+ "fs_type": "ext3",
476
+ "mount_options": [
477
+ "rw"
478
+ ],
479
+ "uuid": "9afc232f-1505-4448-8e66-ce203cd5a49c"
480
+ },
481
+ "/dev/sda1": {
482
+ "kb_size": "101086",
483
+ "kb_used": "12955",
484
+ "kb_available": "82912",
485
+ "percent_used": "14%",
486
+ "mount": "/boot",
487
+ "fs_type": "ext3",
488
+ "mount_options": [
489
+ "rw"
490
+ ],
491
+ "uuid": "6b8d2a29-bfc7-4ac3-860b-40ba6fba1e22",
492
+ "label": "/boot"
493
+ },
494
+ "tmpfs": {
495
+ "kb_size": "190232",
496
+ "kb_used": "0",
497
+ "kb_available": "190232",
498
+ "percent_used": "0%",
499
+ "mount": "/dev/shm",
500
+ "fs_type": "tmpfs",
501
+ "mount_options": [
502
+ "rw"
503
+ ]
504
+ },
505
+ "v-root": {
506
+ "kb_size": "244277768",
507
+ "kb_used": "86355068",
508
+ "kb_available": "157922700",
509
+ "percent_used": "36%",
510
+ "mount": "/vagrant",
511
+ "fs_type": "vboxsf",
512
+ "mount_options": [
513
+ "uid=900",
514
+ "gid=999",
515
+ "rw"
516
+ ]
517
+ },
518
+ "proc": {
519
+ "mount": "/proc",
520
+ "fs_type": "proc",
521
+ "mount_options": [
522
+ "rw"
523
+ ]
524
+ },
525
+ "sysfs": {
526
+ "mount": "/sys",
527
+ "fs_type": "sysfs",
528
+ "mount_options": [
529
+ "rw"
530
+ ]
531
+ },
532
+ "devpts": {
533
+ "mount": "/dev/pts",
534
+ "fs_type": "devpts",
535
+ "mount_options": [
536
+ "rw",
537
+ "gid=5",
538
+ "mode=620"
539
+ ]
540
+ },
541
+ "none": {
542
+ "mount": "/proc/sys/fs/binfmt_misc",
543
+ "fs_type": "binfmt_misc",
544
+ "mount_options": [
545
+ "rw"
546
+ ]
547
+ },
548
+ "sunrpc": {
549
+ "mount": "/var/lib/nfs/rpc_pipefs",
550
+ "fs_type": "rpc_pipefs",
551
+ "mount_options": [
552
+ "rw"
553
+ ]
554
+ },
555
+ "/dev/mapper/VolGroup00-LogVol01": {
556
+ "fs_type": "swap"
557
+ },
558
+ "/dev/hdc": {
559
+ "fs_type": "iso9660",
560
+ "label": "VBOXADDITIONS_4.1.22_80657"
561
+ },
562
+ "/dev/hda": {
563
+ "fs_type": "iso9660",
564
+ "label": "CentOS_5.8_Final"
565
+ },
566
+ "/dev/VolGroup00/LogVol00": {
567
+ "fs_type": "ext3",
568
+ "uuid": "9afc232f-1505-4448-8e66-ce203cd5a49c"
569
+ },
570
+ "/dev/VolGroup00/LogVol01": {
571
+ "fs_type": "swap"
572
+ },
573
+ "rootfs": {
574
+ "mount": "/",
575
+ "fs_type": "rootfs",
576
+ "mount_options": [
577
+ "rw"
578
+ ]
579
+ },
580
+ "/dev/root": {
581
+ "mount": "/",
582
+ "fs_type": "ext3",
583
+ "mount_options": [
584
+ "rw",
585
+ "data=ordered"
586
+ ]
587
+ },
588
+ "/dev": {
589
+ "mount": "/dev",
590
+ "fs_type": "tmpfs",
591
+ "mount_options": [
592
+ "rw"
593
+ ]
594
+ },
595
+ "/proc": {
596
+ "mount": "/proc",
597
+ "fs_type": "proc",
598
+ "mount_options": [
599
+ "rw"
600
+ ]
601
+ },
602
+ "/sys": {
603
+ "mount": "/sys",
604
+ "fs_type": "sysfs",
605
+ "mount_options": [
606
+ "rw"
607
+ ]
608
+ },
609
+ "/proc/bus/usb": {
610
+ "mount": "/proc/bus/usb",
611
+ "fs_type": "usbfs",
612
+ "mount_options": [
613
+ "rw"
614
+ ]
615
+ },
616
+ "/etc/auto.misc": {
617
+ "mount": "/misc",
618
+ "fs_type": "autofs",
619
+ "mount_options": [
620
+ "rw",
621
+ "fd=7",
622
+ "pgrp=2022",
623
+ "timeout=300",
624
+ "minproto=5",
625
+ "maxproto=5",
626
+ "indirect"
627
+ ]
628
+ },
629
+ "-hosts": {
630
+ "mount": "/net",
631
+ "fs_type": "autofs",
632
+ "mount_options": [
633
+ "rw",
634
+ "fd=13",
635
+ "pgrp=2022",
636
+ "timeout=300",
637
+ "minproto=5",
638
+ "maxproto=5",
639
+ "indirect"
640
+ ]
641
+ }
642
+ },
643
+ "languages": {
644
+ "ruby": {
645
+ "bin_dir": "/usr/local/bin",
646
+ "gem_bin": "/usr/local/bin/gem",
647
+ "gems_dir": "/usr/local/gems",
648
+ "ruby_bin": "/usr/local/bin/ruby"
649
+ }
650
+ },
651
+ "chef_packages": {
652
+ "chef": {
653
+ "version": "10.14.4",
654
+ "chef_root": "/usr/local/gems/chef-10.14.4/lib"
655
+ },
656
+ "ohai": {
657
+ "version": "6.14.0",
658
+ "ohai_root": "/usr/local/gems/ohai-6.14.0/lib/ohai"
659
+ }
660
+ },
661
+ "counters": {
662
+ "network": {
663
+ "interfaces": {
664
+ "eth0": {
665
+ "rx": {
666
+ "bytes": "0",
667
+ "packets": "0",
668
+ "errors": "0",
669
+ "drop": 0,
670
+ "overrun": 0,
671
+ "frame": 0,
672
+ "compressed": 0,
673
+ "multicast": 0
674
+ },
675
+ "tx": {
676
+ "bytes": "342",
677
+ "packets": "0",
678
+ "errors": "0",
679
+ "drop": 0,
680
+ "overrun": 0,
681
+ "collisions": "0",
682
+ "carrier": 0,
683
+ "compressed": 0
684
+ }
685
+ }
686
+ }
687
+ }
688
+ },
689
+ "current_user": "fauxhai",
690
+ "domain": "local",
691
+ "etc": {
692
+ "passwd": {
693
+ "fauxhai": {
694
+ "dir": "/home/fauxhai",
695
+ "gid": 0,
696
+ "uid": 0,
697
+ "shell": "/bin/bash",
698
+ "gecos": "Fauxhai"
699
+ }
700
+ },
701
+ "group": {
702
+ "fauxhai": {
703
+ "gid": 0,
704
+ "members": [
705
+ "fauxhai"
706
+ ]
707
+ }
708
+ }
709
+ },
710
+ "hostname": "Fauxhai",
711
+ "fqdn": "fauxhai.local",
712
+ "ipaddress": "10.0.0.2",
713
+ "keys": {
714
+ "ssh": {
715
+ "host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
716
+ "host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
717
+ }
718
+ },
719
+ "macaddress": "11:11:11:11:11:11",
720
+ "network": {
721
+ "default_gateway": "10.0.0.1",
722
+ "default_interface": "eth0",
723
+ "eth0": {
724
+ "addresses": {
725
+ "10.0.0.2": {
726
+ "broadcast": "10.0.0.255",
727
+ "family": "inet",
728
+ "netmask": "255.255.255.0",
729
+ "prefixlen": "23",
730
+ "scope": "Global"
731
+ }
732
+ },
733
+ "arp": {
734
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
735
+ },
736
+ "encapsulation": "Ethernet",
737
+ "flags": [
738
+ "BROADCAST",
739
+ "MULTICAST",
740
+ "UP",
741
+ "LOWER_UP"
742
+ ],
743
+ "mtu": "1500",
744
+ "number": "0",
745
+ "routes": {
746
+ "10.0.0.0/255": {
747
+ "scope": "link",
748
+ "src": "10.0.0.2"
749
+ }
750
+ },
751
+ "state": "up",
752
+ "type": "eth"
753
+ }
754
+ },
755
+ "uptime": "30 days 15 hours 07 minutes 30 seconds",
756
+ "uptime_seconds": 2646450
757
+ }