fauxhai 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/CHANGELOG.md +10 -2
  4. data/fauxhai.gemspec +1 -1
  5. data/lib/fauxhai/platforms/amazon/2012.09.json +33 -30
  6. data/lib/fauxhai/platforms/centos/5.8.json +33 -30
  7. data/lib/fauxhai/platforms/centos/5.9.json +33 -30
  8. data/lib/fauxhai/platforms/centos/6.0.json +33 -30
  9. data/lib/fauxhai/platforms/centos/6.2.json +34 -31
  10. data/lib/fauxhai/platforms/centos/6.3.json +34 -31
  11. data/lib/fauxhai/platforms/centos/6.4.json +33 -30
  12. data/lib/fauxhai/platforms/debian/6.0.5.json +33 -30
  13. data/lib/fauxhai/platforms/debian/7.0.json +33 -30
  14. data/lib/fauxhai/platforms/debian/7.1.json +34 -30
  15. data/lib/fauxhai/platforms/fedora/18.json +33 -30
  16. data/lib/fauxhai/platforms/freebsd/9.1.json +33 -30
  17. data/lib/fauxhai/platforms/gentoo/2.1.json +33 -30
  18. data/lib/fauxhai/platforms/mac_os_x/10.6.8.json +33 -30
  19. data/lib/fauxhai/platforms/mac_os_x/10.7.4.json +33 -30
  20. data/lib/fauxhai/platforms/mac_os_x/10.8.2.json +33 -30
  21. data/lib/fauxhai/platforms/omnios/151002.json +33 -30
  22. data/lib/fauxhai/platforms/opensuse/12.3.json +33 -30
  23. data/lib/fauxhai/platforms/redhat/5.8.json +33 -30
  24. data/lib/fauxhai/platforms/redhat/6.3.json +33 -30
  25. data/lib/fauxhai/platforms/smartos/joyent_20130111T180733Z.json +34 -31
  26. data/lib/fauxhai/platforms/suse/11.03.json +33 -30
  27. data/lib/fauxhai/platforms/ubuntu/10.04.json +33 -30
  28. data/lib/fauxhai/platforms/ubuntu/12.04.json +33 -30
  29. data/lib/fauxhai/platforms/ubuntu/13.04.json +2571 -0
  30. data/lib/fauxhai/platforms/windows/2008R2.json +33 -30
  31. data/lib/fauxhai/runner.rb +28 -25
  32. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a7255d1f6926c73a10a3b4a01b2cb9d3dd8a931a
4
- data.tar.gz: c72fd48c79410c165dc860f4a7015108b316cdde
3
+ metadata.gz: e3b35d5f04065ca371bc264f8930c18d61c4ff8c
4
+ data.tar.gz: 3c9054bb6a623abcecc941e19e46c320a4234736
5
5
  SHA512:
6
- metadata.gz: 0ea54914a406b17a62fe110fbb0dd699476475fa4c185e7adccfe83bd68444acf0d29df7f9621f3cec7f84e4f47e79bf925074d43c9f41a76ab66299a2cb6220
7
- data.tar.gz: f88fd006a1d983d080fce4ed93472111d2373b5f4bf7125c6f911f3d659b4717a0748397cf357337c282c85a79a7f5bcde0e9864f423490551117f381d6af319
6
+ metadata.gz: 7a0a168a35f13f9071fbb4f11fc799a9dee674ec34b5c2424f20b91d65ba7284d1c59776b9327e828cae73e050f43330fe3acdcd61cf2fefa3171d79b21a9c11
7
+ data.tar.gz: 43b57867bbe85d132df0eb403109dbef4e69d5fef2a4e673569d2a7808a0c2ead5cbc2dd37fbfdc273ad950a3560eecc1de7a0055c0d3a6ce57b664b3443d98e
data/.gitignore CHANGED
@@ -15,6 +15,7 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ vendor
18
19
 
19
20
  # ohai makes this file
20
21
  1
@@ -1,6 +1,12 @@
1
1
  Fauxhai Changelog
2
2
  =================
3
3
 
4
+ v2.0.1
5
+ ------
6
+ Released 2013-12-12
7
+
8
+ - Fix critical error on networking interfaces ([@benbytheway][], [#51][])
9
+
4
10
  v2.0.0
5
11
  ------
6
12
  Released 2013-11-06
@@ -12,7 +18,7 @@ v1.1.1
12
18
  ------
13
19
  Released 2013-06-03
14
20
 
15
- - Add new LSB release information([@pschultz][], [#32][])
21
+ - Add new LSB release information ([@pschultz][], [#32][])
16
22
 
17
23
  v1.1.0
18
24
  ------
@@ -45,8 +51,10 @@ Released: 2013-05-09
45
51
  [#29]: https://github.com/customink/fauxhai/issues/29
46
52
  [#30]: https://github.com/customink/fauxhai/issues/30
47
53
  [#32]: https://github.com/customink/fauxhai/issues/32
54
+ [#51]: https://github.com/customink/fauxhai/issues/51
48
55
  [@anujbiyani]: https://github.com/anujbiyani
56
+ [@benbytheway]: https://github.com/benbytheway
49
57
  [@mapleoin]: https://github.com/mapleoin
58
+ [@pschultz]: https://github.com/pschultz
50
59
  [@sax]: https://github.com/sax
51
60
  [@tmatilai]: https://github.com/tmatilai
52
- [@pschultz]: https://github.com/pschultz
@@ -3,7 +3,7 @@ $:.unshift(lib) unless $:.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = 'fauxhai'
6
- spec.version = '2.0.0'
6
+ spec.version = '2.0.1'
7
7
  spec.authors = ['Seth Vargo']
8
8
  spec.email = ['sethvargo@gmail.com']
9
9
  spec.description = %q{Easily mock out ohai data}
@@ -254,36 +254,39 @@
254
254
  "network": {
255
255
  "default_gateway": "10.0.0.1",
256
256
  "default_interface": "eth0",
257
- "eth0": {
258
- "addresses": {
259
- "10.0.0.2": {
260
- "broadcast": "10.0.0.255",
261
- "family": "inet",
262
- "netmask": "255.255.255.0",
263
- "prefixlen": "23",
264
- "scope": "Global"
265
- }
266
- },
267
- "arp": {
268
- "10.0.0.1": "fe:ff:ff:ff:ff:ff"
269
- },
270
- "encapsulation": "Ethernet",
271
- "flags": [
272
- "BROADCAST",
273
- "MULTICAST",
274
- "UP",
275
- "LOWER_UP"
276
- ],
277
- "mtu": "1500",
278
- "number": "0",
279
- "routes": {
280
- "10.0.0.0/255": {
281
- "scope": "link",
282
- "src": "10.0.0.2"
283
- }
284
- },
285
- "state": "up",
286
- "type": "eth"
257
+ "settings": {},
258
+ "interfaces": {
259
+ "eth0": {
260
+ "addresses": {
261
+ "10.0.0.2": {
262
+ "broadcast": "10.0.0.255",
263
+ "family": "inet",
264
+ "netmask": "255.255.255.0",
265
+ "prefixlen": "23",
266
+ "scope": "Global"
267
+ }
268
+ },
269
+ "arp": {
270
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
271
+ },
272
+ "encapsulation": "Ethernet",
273
+ "flags": [
274
+ "BROADCAST",
275
+ "MULTICAST",
276
+ "UP",
277
+ "LOWER_UP"
278
+ ],
279
+ "mtu": "1500",
280
+ "number": "0",
281
+ "routes": {
282
+ "10.0.0.0/255": {
283
+ "scope": "link",
284
+ "src": "10.0.0.2"
285
+ }
286
+ },
287
+ "state": "up",
288
+ "type": "eth"
289
+ }
287
290
  }
288
291
  },
289
292
  "uptime": "30 days 15 hours 07 minutes 30 seconds",
@@ -720,36 +720,39 @@
720
720
  "network": {
721
721
  "default_gateway": "10.0.0.1",
722
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"
723
+ "settings": {},
724
+ "interfaces": {
725
+ "eth0": {
726
+ "addresses": {
727
+ "10.0.0.2": {
728
+ "broadcast": "10.0.0.255",
729
+ "family": "inet",
730
+ "netmask": "255.255.255.0",
731
+ "prefixlen": "23",
732
+ "scope": "Global"
733
+ }
734
+ },
735
+ "arp": {
736
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
737
+ },
738
+ "encapsulation": "Ethernet",
739
+ "flags": [
740
+ "BROADCAST",
741
+ "MULTICAST",
742
+ "UP",
743
+ "LOWER_UP"
744
+ ],
745
+ "mtu": "1500",
746
+ "number": "0",
747
+ "routes": {
748
+ "10.0.0.0/255": {
749
+ "scope": "link",
750
+ "src": "10.0.0.2"
751
+ }
752
+ },
753
+ "state": "up",
754
+ "type": "eth"
755
+ }
753
756
  }
754
757
  },
755
758
  "uptime": "30 days 15 hours 07 minutes 30 seconds",
@@ -720,36 +720,39 @@
720
720
  "network": {
721
721
  "default_gateway": "10.0.0.1",
722
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"
723
+ "settings": {},
724
+ "interfaces": {
725
+ "eth0": {
726
+ "addresses": {
727
+ "10.0.0.2": {
728
+ "broadcast": "10.0.0.255",
729
+ "family": "inet",
730
+ "netmask": "255.255.255.0",
731
+ "prefixlen": "23",
732
+ "scope": "Global"
733
+ }
734
+ },
735
+ "arp": {
736
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
737
+ },
738
+ "encapsulation": "Ethernet",
739
+ "flags": [
740
+ "BROADCAST",
741
+ "MULTICAST",
742
+ "UP",
743
+ "LOWER_UP"
744
+ ],
745
+ "mtu": "1500",
746
+ "number": "0",
747
+ "routes": {
748
+ "10.0.0.0/255": {
749
+ "scope": "link",
750
+ "src": "10.0.0.2"
751
+ }
752
+ },
753
+ "state": "up",
754
+ "type": "eth"
755
+ }
753
756
  }
754
757
  },
755
758
  "uptime": "30 days 15 hours 07 minutes 30 seconds",
@@ -368,36 +368,39 @@
368
368
  "network": {
369
369
  "default_gateway": "10.0.0.1",
370
370
  "default_interface": "eth0",
371
- "eth0": {
372
- "addresses": {
373
- "10.0.0.2": {
374
- "broadcast": "10.0.0.255",
375
- "family": "inet",
376
- "netmask": "255.255.255.0",
377
- "prefixlen": "23",
378
- "scope": "Global"
379
- }
380
- },
381
- "arp": {
382
- "10.0.0.1": "fe:ff:ff:ff:ff:ff"
383
- },
384
- "encapsulation": "Ethernet",
385
- "flags": [
386
- "BROADCAST",
387
- "MULTICAST",
388
- "UP",
389
- "LOWER_UP"
390
- ],
391
- "mtu": "1500",
392
- "number": "0",
393
- "routes": {
394
- "10.0.0.0/255": {
395
- "scope": "link",
396
- "src": "10.0.0.2"
397
- }
398
- },
399
- "state": "up",
400
- "type": "eth"
371
+ "settings": {},
372
+ "interfaces": {
373
+ "eth0": {
374
+ "addresses": {
375
+ "10.0.0.2": {
376
+ "broadcast": "10.0.0.255",
377
+ "family": "inet",
378
+ "netmask": "255.255.255.0",
379
+ "prefixlen": "23",
380
+ "scope": "Global"
381
+ }
382
+ },
383
+ "arp": {
384
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
385
+ },
386
+ "encapsulation": "Ethernet",
387
+ "flags": [
388
+ "BROADCAST",
389
+ "MULTICAST",
390
+ "UP",
391
+ "LOWER_UP"
392
+ ],
393
+ "mtu": "1500",
394
+ "number": "0",
395
+ "routes": {
396
+ "10.0.0.0/255": {
397
+ "scope": "link",
398
+ "src": "10.0.0.2"
399
+ }
400
+ },
401
+ "state": "up",
402
+ "type": "eth"
403
+ }
401
404
  }
402
405
  },
403
406
  "uptime": "30 days 15 hours 07 minutes 30 seconds",
@@ -494,39 +494,42 @@
494
494
  "domain": "local",
495
495
  "os": "linux",
496
496
  "network": {
497
- "eth0": {
498
- "flags": [
499
- "BROADCAST",
500
- "MULTICAST",
501
- "UP",
502
- "LOWER_UP"
503
- ],
504
- "number": "0",
505
- "addresses": {
506
- "10.0.0.2": {
507
- "netmask": "255.255.255.0",
508
- "scope": "Global",
509
- "broadcast": "10.0.0.255",
510
- "prefixlen": "23",
511
- "family": "inet"
512
- }
513
- },
514
- "mtu": "1500",
515
- "routes": {
516
- "10.0.0.0/255": {
517
- "scope": "link",
518
- "src": "10.0.0.2"
519
- }
520
- },
521
- "type": "eth",
522
- "arp": {
523
- "10.0.0.1": "fe:ff:ff:ff:ff:ff"
524
- },
525
- "encapsulation": "Ethernet",
526
- "state": "up"
497
+ "interfaces": {
498
+ "eth0": {
499
+ "flags": [
500
+ "BROADCAST",
501
+ "MULTICAST",
502
+ "UP",
503
+ "LOWER_UP"
504
+ ],
505
+ "number": "0",
506
+ "addresses": {
507
+ "10.0.0.2": {
508
+ "netmask": "255.255.255.0",
509
+ "scope": "Global",
510
+ "broadcast": "10.0.0.255",
511
+ "prefixlen": "23",
512
+ "family": "inet"
513
+ }
514
+ },
515
+ "mtu": "1500",
516
+ "routes": {
517
+ "10.0.0.0/255": {
518
+ "scope": "link",
519
+ "src": "10.0.0.2"
520
+ }
521
+ },
522
+ "type": "eth",
523
+ "arp": {
524
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
525
+ },
526
+ "encapsulation": "Ethernet",
527
+ "state": "up"
528
+ }
527
529
  },
528
530
  "default_interface": "eth0",
529
- "default_gateway": "10.0.0.1"
531
+ "default_gateway": "10.0.0.1",
532
+ "settings": {}
530
533
  },
531
534
  "chef_packages": {
532
535
  "ohai": {
@@ -6,39 +6,42 @@
6
6
  "platform": "centos",
7
7
  "domain": "local",
8
8
  "network": {
9
- "eth0": {
10
- "arp": {
11
- "10.0.0.1": "fe:ff:ff:ff:ff:ff"
12
- },
13
- "encapsulation": "Ethernet",
14
- "flags": [
15
- "BROADCAST",
16
- "MULTICAST",
17
- "UP",
18
- "LOWER_UP"
19
- ],
20
- "routes": {
21
- "10.0.0.0/255": {
22
- "scope": "link",
23
- "src": "10.0.0.2"
24
- }
25
- },
26
- "type": "eth",
27
- "addresses": {
28
- "10.0.0.2": {
29
- "scope": "Global",
30
- "broadcast": "10.0.0.255",
31
- "netmask": "255.255.255.0",
32
- "prefixlen": "23",
33
- "family": "inet"
34
- }
35
- },
36
- "mtu": "1500",
37
- "state": "up",
38
- "number": "0"
9
+ "interfaces": {
10
+ "eth0": {
11
+ "arp": {
12
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
13
+ },
14
+ "encapsulation": "Ethernet",
15
+ "flags": [
16
+ "BROADCAST",
17
+ "MULTICAST",
18
+ "UP",
19
+ "LOWER_UP"
20
+ ],
21
+ "routes": {
22
+ "10.0.0.0/255": {
23
+ "scope": "link",
24
+ "src": "10.0.0.2"
25
+ }
26
+ },
27
+ "type": "eth",
28
+ "addresses": {
29
+ "10.0.0.2": {
30
+ "scope": "Global",
31
+ "broadcast": "10.0.0.255",
32
+ "netmask": "255.255.255.0",
33
+ "prefixlen": "23",
34
+ "family": "inet"
35
+ }
36
+ },
37
+ "mtu": "1500",
38
+ "state": "up",
39
+ "number": "0"
40
+ }
39
41
  },
40
42
  "default_interface": "eth0",
41
- "default_gateway": "10.0.0.1"
43
+ "default_gateway": "10.0.0.1",
44
+ "settings": {}
42
45
  },
43
46
  "platform_family": "rhel",
44
47
  "kernel": {