fauxhai 3.0.1 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +10 -0
  3. data/CHANGELOG.md +12 -0
  4. data/README.md +8 -11
  5. data/Rakefile +17 -0
  6. data/lib/fauxhai/platforms/aix/6.1.json +3 -2
  7. data/lib/fauxhai/platforms/aix/7.1.json +3 -2
  8. data/lib/fauxhai/platforms/amazon/2012.09.json +4 -2
  9. data/lib/fauxhai/platforms/amazon/2013.09.json +4 -2
  10. data/lib/fauxhai/platforms/amazon/2014.03.json +4 -2
  11. data/lib/fauxhai/platforms/amazon/2014.09.json +4 -2
  12. data/lib/fauxhai/platforms/amazon/2015.03.json +4 -2
  13. data/lib/fauxhai/platforms/amazon/2015.09.json +4 -2
  14. data/lib/fauxhai/platforms/arch/3.10.5-1-ARCH.json +3 -2
  15. data/lib/fauxhai/platforms/centos/5.0.json +4 -2
  16. data/lib/fauxhai/platforms/centos/5.1.json +4 -2
  17. data/lib/fauxhai/platforms/centos/5.10.json +4 -2
  18. data/lib/fauxhai/platforms/centos/5.11.json +4 -2
  19. data/lib/fauxhai/platforms/centos/5.2.json +4 -2
  20. data/lib/fauxhai/platforms/centos/5.3.json +4 -2
  21. data/lib/fauxhai/platforms/centos/5.4.json +4 -2
  22. data/lib/fauxhai/platforms/centos/5.5.json +4 -2
  23. data/lib/fauxhai/platforms/centos/5.6.json +4 -2
  24. data/lib/fauxhai/platforms/centos/5.7.json +4 -2
  25. data/lib/fauxhai/platforms/centos/5.8.json +4 -2
  26. data/lib/fauxhai/platforms/centos/5.9.json +4 -2
  27. data/lib/fauxhai/platforms/centos/6.0.json +4 -2
  28. data/lib/fauxhai/platforms/centos/6.1.json +4 -2
  29. data/lib/fauxhai/platforms/centos/6.2.json +4 -2
  30. data/lib/fauxhai/platforms/centos/6.3.json +4 -2
  31. data/lib/fauxhai/platforms/centos/6.4.json +4 -2
  32. data/lib/fauxhai/platforms/centos/6.5.json +4 -2
  33. data/lib/fauxhai/platforms/centos/6.6.json +4 -2
  34. data/lib/fauxhai/platforms/centos/6.7.json +4 -2
  35. data/lib/fauxhai/platforms/centos/7.0.1406.json +5 -2
  36. data/lib/fauxhai/platforms/centos/7.0.json +5 -2
  37. data/lib/fauxhai/platforms/centos/7.1.1503.json +5 -2
  38. data/lib/fauxhai/platforms/centos/7.2.1511.json +706 -0
  39. data/lib/fauxhai/platforms/debian/6.0.5.json +3 -1
  40. data/lib/fauxhai/platforms/debian/7.0.json +3 -1
  41. data/lib/fauxhai/platforms/debian/7.1.json +3 -1
  42. data/lib/fauxhai/platforms/debian/7.2.json +3 -1
  43. data/lib/fauxhai/platforms/debian/7.4.json +3 -1
  44. data/lib/fauxhai/platforms/debian/7.5.json +3 -1
  45. data/lib/fauxhai/platforms/debian/7.6.json +4 -2
  46. data/lib/fauxhai/platforms/debian/7.7.json +4 -2
  47. data/lib/fauxhai/platforms/debian/7.8.json +4 -2
  48. data/lib/fauxhai/platforms/debian/7.9.json +4 -2
  49. data/lib/fauxhai/platforms/debian/8.0.json +4 -2
  50. data/lib/fauxhai/platforms/debian/8.1.json +4 -2
  51. data/lib/fauxhai/platforms/debian/8.2.json +4 -2
  52. data/lib/fauxhai/platforms/debian/jessie/sid.json +3 -1
  53. data/lib/fauxhai/platforms/debian/stretch/sid.json +4 -2
  54. data/lib/fauxhai/platforms/dragonfly4/4.2-RELEASE.json +3 -2
  55. data/lib/fauxhai/platforms/fedora/18.json +17 -23
  56. data/lib/fauxhai/platforms/fedora/19.json +9 -16
  57. data/lib/fauxhai/platforms/fedora/20.json +9 -16
  58. data/lib/fauxhai/platforms/fedora/21.json +5 -2
  59. data/lib/fauxhai/platforms/fedora/22.json +5 -2
  60. data/lib/fauxhai/platforms/fedora/23.json +759 -0
  61. data/lib/fauxhai/platforms/freebsd/10.0.json +3 -2
  62. data/lib/fauxhai/platforms/freebsd/10.1.json +3 -2
  63. data/lib/fauxhai/platforms/freebsd/10.2.json +3 -2
  64. data/lib/fauxhai/platforms/freebsd/8.4.json +2 -1
  65. data/lib/fauxhai/platforms/freebsd/9.1.json +3 -2
  66. data/lib/fauxhai/platforms/freebsd/9.2.json +3 -2
  67. data/lib/fauxhai/platforms/freebsd/9.3.json +3 -2
  68. data/lib/fauxhai/platforms/gentoo/2.1.json +2 -1
  69. data/lib/fauxhai/platforms/ios_xr/6.0.0.14I.json +3 -2
  70. data/lib/fauxhai/platforms/mac_os_x/10.10.json +3 -2
  71. data/lib/fauxhai/platforms/mac_os_x/10.11.1.json +3 -2
  72. data/lib/fauxhai/platforms/mac_os_x/10.6.8.json +2 -1
  73. data/lib/fauxhai/platforms/mac_os_x/10.7.4.json +2 -1
  74. data/lib/fauxhai/platforms/mac_os_x/10.8.2.json +2 -1
  75. data/lib/fauxhai/platforms/nexus/5.json +3 -2
  76. data/lib/fauxhai/platforms/omnios/151002.json +2 -1
  77. data/lib/fauxhai/platforms/omnios/151006.json +2 -1
  78. data/lib/fauxhai/platforms/omnios/151008.json +2 -1
  79. data/lib/fauxhai/platforms/omnios/151014.json +3 -2
  80. data/lib/fauxhai/platforms/openbsd/5.4.json +2 -1
  81. data/lib/fauxhai/platforms/opensuse/12.3.json +4 -2
  82. data/lib/fauxhai/platforms/opensuse/13.1.json +6 -15
  83. data/lib/fauxhai/platforms/opensuse/13.2.json +4 -2
  84. data/lib/fauxhai/platforms/opensuse/42.1.json +546 -0
  85. data/lib/fauxhai/platforms/oracle/5.10.json +3 -1
  86. data/lib/fauxhai/platforms/oracle/6.5.json +3 -1
  87. data/lib/fauxhai/platforms/oracle/6.6.json +4 -2
  88. data/lib/fauxhai/platforms/oracle/7.0.json +4 -2
  89. data/lib/fauxhai/platforms/oracle/7.1.json +4 -2
  90. data/lib/fauxhai/platforms/redhat/5.10.json +3 -1
  91. data/lib/fauxhai/platforms/redhat/5.6.json +3 -1
  92. data/lib/fauxhai/platforms/redhat/5.7.json +3 -1
  93. data/lib/fauxhai/platforms/redhat/5.8.json +3 -1
  94. data/lib/fauxhai/platforms/redhat/5.9.json +3 -1
  95. data/lib/fauxhai/platforms/redhat/6.0.json +3 -1
  96. data/lib/fauxhai/platforms/redhat/6.1.json +3 -1
  97. data/lib/fauxhai/platforms/redhat/6.2.json +3 -1
  98. data/lib/fauxhai/platforms/redhat/6.3.json +3 -1
  99. data/lib/fauxhai/platforms/redhat/6.4.json +3 -1
  100. data/lib/fauxhai/platforms/redhat/6.5.json +3 -1
  101. data/lib/fauxhai/platforms/redhat/6.6.json +4 -2
  102. data/lib/fauxhai/platforms/redhat/7.0.json +3 -1
  103. data/lib/fauxhai/platforms/redhat/7.1.json +4 -2
  104. data/lib/fauxhai/platforms/slackware/14.1.json +3 -2
  105. data/lib/fauxhai/platforms/smartos/5.11.json +2 -1
  106. data/lib/fauxhai/platforms/smartos/joyent_20130111T180733Z.json +2 -1
  107. data/lib/fauxhai/platforms/solaris2/5.10.json +2447 -0
  108. data/lib/fauxhai/platforms/solaris2/5.11.json +2 -1
  109. data/lib/fauxhai/platforms/suse/11.1.json +2 -1
  110. data/lib/fauxhai/platforms/suse/11.2.json +2 -1
  111. data/lib/fauxhai/platforms/suse/11.3.json +2 -1
  112. data/lib/fauxhai/platforms/suse/12.0.json +3 -2
  113. data/lib/fauxhai/platforms/ubuntu/10.04.json +3 -1
  114. data/lib/fauxhai/platforms/ubuntu/12.04.json +4 -2
  115. data/lib/fauxhai/platforms/ubuntu/13.04.json +3 -1
  116. data/lib/fauxhai/platforms/ubuntu/13.10.json +3 -1
  117. data/lib/fauxhai/platforms/ubuntu/14.04.json +4 -2
  118. data/lib/fauxhai/platforms/ubuntu/14.10.json +4 -2
  119. data/lib/fauxhai/platforms/ubuntu/15.04.json +4 -2
  120. data/lib/fauxhai/platforms/ubuntu/15.10.json +4 -2
  121. data/lib/fauxhai/platforms/windows/10.json +3 -2
  122. data/lib/fauxhai/platforms/windows/2003R2.json +3 -2
  123. data/lib/fauxhai/platforms/windows/2008R2.json +3 -2
  124. data/lib/fauxhai/platforms/windows/2012.json +4 -3
  125. data/lib/fauxhai/platforms/windows/2012R2.json +3 -2
  126. data/lib/fauxhai/platforms/windows/8.1.json +3 -2
  127. data/lib/fauxhai/platforms/windows/8.json +3 -2
  128. data/lib/fauxhai/runner.rb +6 -3
  129. data/lib/fauxhai/version.rb +1 -1
  130. metadata +8 -3
@@ -2698,7 +2698,8 @@
2698
2698
  "uptime_seconds": 2646450,
2699
2699
  "cpu": {
2700
2700
  "real": 1,
2701
- "total": 1
2701
+ "total": 1,
2702
+ "cores": 1
2702
2703
  },
2703
2704
  "memory": {
2704
2705
  "total": "512"
@@ -2551,7 +2551,8 @@
2551
2551
  "uptime_seconds": 2646450,
2552
2552
  "cpu": {
2553
2553
  "real": 1,
2554
- "total": 1
2554
+ "total": 1,
2555
+ "cores": 1
2555
2556
  },
2556
2557
  "memory": {
2557
2558
  "total": "524288kB"
@@ -2552,7 +2552,8 @@
2552
2552
  "uptime_seconds": 2646450,
2553
2553
  "cpu": {
2554
2554
  "real": 1,
2555
- "total": 1
2555
+ "total": 1,
2556
+ "cores": 1
2556
2557
  },
2557
2558
  "memory": {
2558
2559
  "total": "524288kB"
@@ -2513,7 +2513,8 @@
2513
2513
  "uptime_seconds": 2646450,
2514
2514
  "cpu": {
2515
2515
  "real": 1,
2516
- "total": 1
2516
+ "total": 1,
2517
+ "cores": 1
2517
2518
  },
2518
2519
  "memory": {
2519
2520
  "total": "524288kB"
@@ -697,9 +697,10 @@
697
697
  "uptime_seconds": 2646450,
698
698
  "cpu": {
699
699
  "real": 1,
700
- "total": 1
700
+ "total": 1,
701
+ "cores": 1
701
702
  },
702
703
  "memory": {
703
- "total": "1024MB"
704
+ "total": "1048576kB"
704
705
  }
705
706
  }
@@ -123,7 +123,8 @@
123
123
  },
124
124
  "cpu": {
125
125
  "real": 1,
126
- "total": 1
126
+ "total": 1,
127
+ "cores": 1
127
128
  },
128
129
  "memory": {
129
130
  "total": "524288kB"
@@ -385,6 +386,7 @@
385
386
  ]
386
387
  }
387
388
  },
389
+ "root_group": "root",
388
390
  "languages": {
389
391
  "ruby": {
390
392
  "platform": "x86_64-linux",
@@ -376,6 +376,7 @@
376
376
  "command": {
377
377
  "ps": "ps -ef"
378
378
  },
379
+ "root_group": "root",
379
380
  "languages": {
380
381
  "ruby": {
381
382
  "bin_dir": "/usr/local/bin",
@@ -497,9 +498,10 @@
497
498
  "uptime_seconds": 2646450,
498
499
  "cpu": {
499
500
  "real": 1,
500
- "total": 1
501
+ "total": 1,
502
+ "cores": 1
501
503
  },
502
504
  "memory": {
503
- "total": "1024MB"
505
+ "total": "1048576kB"
504
506
  }
505
507
  }
@@ -2310,7 +2310,8 @@
2310
2310
  },
2311
2311
  "cpu": {
2312
2312
  "real": 1,
2313
- "total": 1
2313
+ "total": 1,
2314
+ "cores": 1
2314
2315
  },
2315
2316
  "memory": {
2316
2317
  "total": "524288kB"
@@ -2458,6 +2459,7 @@
2458
2459
  ]
2459
2460
  }
2460
2461
  },
2462
+ "root_group": "root",
2461
2463
  "languages": {
2462
2464
  "ruby": {
2463
2465
  "bin_dir": "/usr/local/bin",
@@ -377,6 +377,7 @@
377
377
  ]
378
378
  }
379
379
  },
380
+ "root_group": "root",
380
381
  "languages": {
381
382
  "ruby": {
382
383
  "bin_dir": "/usr/local/bin",
@@ -497,7 +498,8 @@
497
498
  "uptime_seconds": 2646450,
498
499
  "cpu": {
499
500
  "real": 1,
500
- "total": 1
501
+ "total": 1,
502
+ "cores": 1
501
503
  },
502
504
  "memory": {
503
505
  "total": "524288kB"
@@ -434,6 +434,7 @@
434
434
  "ps": "ps -ef"
435
435
  },
436
436
  "ohai_time": 1445839848.4040508,
437
+ "root_group": "root",
437
438
  "languages": {
438
439
  "ruby": {
439
440
  "bin_dir": "/usr/local/bin",
@@ -555,9 +556,10 @@
555
556
  "uptime_seconds": 2646450,
556
557
  "cpu": {
557
558
  "real": 1,
558
- "total": 1
559
+ "total": 1,
560
+ "cores": 1
559
561
  },
560
562
  "memory": {
561
- "total": "1024MB"
563
+ "total": "1048576kB"
562
564
  }
563
565
  }
@@ -469,6 +469,7 @@
469
469
  "ps": "ps -ef"
470
470
  },
471
471
  "ohai_time": 1416072775.5422797,
472
+ "root_group": "root",
472
473
  "languages": {
473
474
  "ruby": {
474
475
  "platform": "x86_64-linux-gnu",
@@ -601,9 +602,10 @@
601
602
  "uptime_seconds": 2646450,
602
603
  "cpu": {
603
604
  "real": 1,
604
- "total": 1
605
+ "total": 1,
606
+ "cores": 1
605
607
  },
606
608
  "memory": {
607
- "total": "1024MB"
609
+ "total": "1048576kB"
608
610
  }
609
611
  }
@@ -514,6 +514,7 @@
514
514
  "command": {
515
515
  "ps": "ps -ef"
516
516
  },
517
+ "root_group": "root",
517
518
  "languages": {
518
519
  "ruby": {
519
520
  "bin_dir": "/usr/local/bin",
@@ -635,9 +636,10 @@
635
636
  "uptime_seconds": 2646450,
636
637
  "cpu": {
637
638
  "real": 1,
638
- "total": 1
639
+ "total": 1,
640
+ "cores": 1
639
641
  },
640
642
  "memory": {
641
- "total": "1024MB"
643
+ "total": "1048576kB"
642
644
  }
643
645
  }
@@ -522,6 +522,7 @@
522
522
  }
523
523
  },
524
524
  "ohai_time": 1445976952.7006872,
525
+ "root_group": "root",
525
526
  "languages": {
526
527
  "ruby": {
527
528
  "bin_dir": "/usr/local/bin",
@@ -643,9 +644,10 @@
643
644
  "uptime_seconds": 2646450,
644
645
  "cpu": {
645
646
  "real": 1,
646
- "total": 1
647
+ "total": 1,
648
+ "cores": 1
647
649
  },
648
650
  "memory": {
649
- "total": "1024MB"
651
+ "total": "1048576kB"
650
652
  }
651
653
  }
@@ -3537,9 +3537,10 @@
3537
3537
  "uptime_seconds": 2646450,
3538
3538
  "cpu": {
3539
3539
  "real": 1,
3540
- "total": 1
3540
+ "total": 1,
3541
+ "cores": 1
3541
3542
  },
3542
3543
  "memory": {
3543
- "total": "1024MB"
3544
+ "total": "1048576kB"
3544
3545
  }
3545
3546
  }
@@ -7879,9 +7879,10 @@
7879
7879
  "uptime_seconds": 2646450,
7880
7880
  "cpu": {
7881
7881
  "real": 1,
7882
- "total": 1
7882
+ "total": 1,
7883
+ "cores": 1
7883
7884
  },
7884
7885
  "memory": {
7885
- "total": "1024MB"
7886
+ "total": "1048576kB"
7886
7887
  }
7887
7888
  }
@@ -5912,9 +5912,10 @@
5912
5912
  "uptime_seconds": 2646450,
5913
5913
  "cpu": {
5914
5914
  "real": 1,
5915
- "total": 1
5915
+ "total": 1,
5916
+ "cores": 1
5916
5917
  },
5917
5918
  "memory": {
5918
- "total": "1024MB"
5919
+ "total": "1048576kB"
5919
5920
  }
5920
5921
  }
@@ -50,7 +50,7 @@
50
50
  "locale": "0409",
51
51
  "manufacturer": "Microsoft Corporation",
52
52
  "max_number_of_processes": -1,
53
- "max_process_memory_size": "8589934464", d
53
+ "max_process_memory_size": "8589934464",
54
54
  "mui_languages": [
55
55
  "en-US"
56
56
  ],
@@ -3568,9 +3568,10 @@
3568
3568
  "uptime_seconds": 2646450,
3569
3569
  "cpu": {
3570
3570
  "real": 1,
3571
- "total": 1
3571
+ "total": 1,
3572
+ "cores": 1
3572
3573
  },
3573
3574
  "memory": {
3574
- "total": "1024MB"
3575
+ "total": "1048576kB"
3575
3576
  }
3576
3577
  }
@@ -3762,9 +3762,10 @@
3762
3762
  "uptime_seconds": 2646450,
3763
3763
  "cpu": {
3764
3764
  "real": 1,
3765
- "total": 1
3765
+ "total": 1,
3766
+ "cores": 1
3766
3767
  },
3767
3768
  "memory": {
3768
- "total": "1024MB"
3769
+ "total": "1048576kB"
3769
3770
  }
3770
3771
  }
@@ -3504,9 +3504,10 @@
3504
3504
  "uptime_seconds": 2646450,
3505
3505
  "cpu": {
3506
3506
  "real": 1,
3507
- "total": 1
3507
+ "total": 1,
3508
+ "cores": 1
3508
3509
  },
3509
3510
  "memory": {
3510
- "total": "1024MB"
3511
+ "total": "1048576kB"
3511
3512
  }
3512
3513
  }
@@ -3918,9 +3918,10 @@
3918
3918
  "uptime_seconds": 2646450,
3919
3919
  "cpu": {
3920
3920
  "real": 1,
3921
- "total": 1
3921
+ "total": 1,
3922
+ "cores": 1
3922
3923
  },
3923
3924
  "memory": {
3924
- "total": "1024MB"
3925
+ "total": "1048576kB"
3925
3926
  }
3926
3927
  }
@@ -225,13 +225,14 @@ module Fauxhai
225
225
  def cpu
226
226
  {
227
227
  'real' => 1,
228
- 'total' => 1
228
+ 'total' => 1,
229
+ 'cores' => 1
229
230
  }
230
231
  end
231
232
 
232
233
  def memory
233
234
  {
234
- 'total' => '1024MB'
235
+ 'total' => '1048576kB'
235
236
  }
236
237
  end
237
238
 
@@ -252,7 +253,9 @@ module Fauxhai
252
253
  'platform',
253
254
  'platform_version',
254
255
  'platform_build',
255
- 'platform_family'
256
+ 'platform_family',
257
+ 'init_package',
258
+ 'root_group'
256
259
  ]
257
260
  end
258
261
  end
@@ -1,3 +1,3 @@
1
1
  module Fauxhai
2
- VERSION = '3.0.1'
2
+ VERSION = '3.1.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fauxhai
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Vargo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-04 00:00:00.000000000 Z
11
+ date: 2016-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh
@@ -75,6 +75,7 @@ extensions: []
75
75
  extra_rdoc_files: []
76
76
  files:
77
77
  - ".gitignore"
78
+ - ".travis.yml"
78
79
  - CHANGELOG.md
79
80
  - CONTRIBUTING.md
80
81
  - Gemfile
@@ -125,6 +126,7 @@ files:
125
126
  - lib/fauxhai/platforms/centos/7.0.1406.json
126
127
  - lib/fauxhai/platforms/centos/7.0.json
127
128
  - lib/fauxhai/platforms/centos/7.1.1503.json
129
+ - lib/fauxhai/platforms/centos/7.2.1511.json
128
130
  - lib/fauxhai/platforms/chefspec/0.6.1.json
129
131
  - lib/fauxhai/platforms/debian/6.0.5.json
130
132
  - lib/fauxhai/platforms/debian/7.0.json
@@ -147,6 +149,7 @@ files:
147
149
  - lib/fauxhai/platforms/fedora/20.json
148
150
  - lib/fauxhai/platforms/fedora/21.json
149
151
  - lib/fauxhai/platforms/fedora/22.json
152
+ - lib/fauxhai/platforms/fedora/23.json
150
153
  - lib/fauxhai/platforms/freebsd/10.0.json
151
154
  - lib/fauxhai/platforms/freebsd/10.1.json
152
155
  - lib/fauxhai/platforms/freebsd/10.2.json
@@ -171,6 +174,7 @@ files:
171
174
  - lib/fauxhai/platforms/opensuse/12.3.json
172
175
  - lib/fauxhai/platforms/opensuse/13.1.json
173
176
  - lib/fauxhai/platforms/opensuse/13.2.json
177
+ - lib/fauxhai/platforms/opensuse/42.1.json
174
178
  - lib/fauxhai/platforms/oracle/5.10.json
175
179
  - lib/fauxhai/platforms/oracle/6.5.json
176
180
  - lib/fauxhai/platforms/oracle/6.6.json
@@ -193,6 +197,7 @@ files:
193
197
  - lib/fauxhai/platforms/slackware/14.1.json
194
198
  - lib/fauxhai/platforms/smartos/5.11.json
195
199
  - lib/fauxhai/platforms/smartos/joyent_20130111T180733Z.json
200
+ - lib/fauxhai/platforms/solaris2/5.10.json
196
201
  - lib/fauxhai/platforms/solaris2/5.11.json
197
202
  - lib/fauxhai/platforms/suse/11.1.json
198
203
  - lib/fauxhai/platforms/suse/11.2.json
@@ -236,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
236
241
  version: '0'
237
242
  requirements: []
238
243
  rubyforge_project:
239
- rubygems_version: 2.4.5.1
244
+ rubygems_version: 2.5.1
240
245
  signing_key:
241
246
  specification_version: 4
242
247
  summary: Fauxhai provides an easy way to mock out your ohai data for testing with