fauxhai 3.0.1 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +10 -0
- data/CHANGELOG.md +12 -0
- data/README.md +8 -11
- data/Rakefile +17 -0
- data/lib/fauxhai/platforms/aix/6.1.json +3 -2
- data/lib/fauxhai/platforms/aix/7.1.json +3 -2
- data/lib/fauxhai/platforms/amazon/2012.09.json +4 -2
- data/lib/fauxhai/platforms/amazon/2013.09.json +4 -2
- data/lib/fauxhai/platforms/amazon/2014.03.json +4 -2
- data/lib/fauxhai/platforms/amazon/2014.09.json +4 -2
- data/lib/fauxhai/platforms/amazon/2015.03.json +4 -2
- data/lib/fauxhai/platforms/amazon/2015.09.json +4 -2
- data/lib/fauxhai/platforms/arch/3.10.5-1-ARCH.json +3 -2
- data/lib/fauxhai/platforms/centos/5.0.json +4 -2
- data/lib/fauxhai/platforms/centos/5.1.json +4 -2
- data/lib/fauxhai/platforms/centos/5.10.json +4 -2
- data/lib/fauxhai/platforms/centos/5.11.json +4 -2
- data/lib/fauxhai/platforms/centos/5.2.json +4 -2
- data/lib/fauxhai/platforms/centos/5.3.json +4 -2
- data/lib/fauxhai/platforms/centos/5.4.json +4 -2
- data/lib/fauxhai/platforms/centos/5.5.json +4 -2
- data/lib/fauxhai/platforms/centos/5.6.json +4 -2
- data/lib/fauxhai/platforms/centos/5.7.json +4 -2
- data/lib/fauxhai/platforms/centos/5.8.json +4 -2
- data/lib/fauxhai/platforms/centos/5.9.json +4 -2
- data/lib/fauxhai/platforms/centos/6.0.json +4 -2
- data/lib/fauxhai/platforms/centos/6.1.json +4 -2
- data/lib/fauxhai/platforms/centos/6.2.json +4 -2
- data/lib/fauxhai/platforms/centos/6.3.json +4 -2
- data/lib/fauxhai/platforms/centos/6.4.json +4 -2
- data/lib/fauxhai/platforms/centos/6.5.json +4 -2
- data/lib/fauxhai/platforms/centos/6.6.json +4 -2
- data/lib/fauxhai/platforms/centos/6.7.json +4 -2
- data/lib/fauxhai/platforms/centos/7.0.1406.json +5 -2
- data/lib/fauxhai/platforms/centos/7.0.json +5 -2
- data/lib/fauxhai/platforms/centos/7.1.1503.json +5 -2
- data/lib/fauxhai/platforms/centos/7.2.1511.json +706 -0
- data/lib/fauxhai/platforms/debian/6.0.5.json +3 -1
- data/lib/fauxhai/platforms/debian/7.0.json +3 -1
- data/lib/fauxhai/platforms/debian/7.1.json +3 -1
- data/lib/fauxhai/platforms/debian/7.2.json +3 -1
- data/lib/fauxhai/platforms/debian/7.4.json +3 -1
- data/lib/fauxhai/platforms/debian/7.5.json +3 -1
- data/lib/fauxhai/platforms/debian/7.6.json +4 -2
- data/lib/fauxhai/platforms/debian/7.7.json +4 -2
- data/lib/fauxhai/platforms/debian/7.8.json +4 -2
- data/lib/fauxhai/platforms/debian/7.9.json +4 -2
- data/lib/fauxhai/platforms/debian/8.0.json +4 -2
- data/lib/fauxhai/platforms/debian/8.1.json +4 -2
- data/lib/fauxhai/platforms/debian/8.2.json +4 -2
- data/lib/fauxhai/platforms/debian/jessie/sid.json +3 -1
- data/lib/fauxhai/platforms/debian/stretch/sid.json +4 -2
- data/lib/fauxhai/platforms/dragonfly4/4.2-RELEASE.json +3 -2
- data/lib/fauxhai/platforms/fedora/18.json +17 -23
- data/lib/fauxhai/platforms/fedora/19.json +9 -16
- data/lib/fauxhai/platforms/fedora/20.json +9 -16
- data/lib/fauxhai/platforms/fedora/21.json +5 -2
- data/lib/fauxhai/platforms/fedora/22.json +5 -2
- data/lib/fauxhai/platforms/fedora/23.json +759 -0
- data/lib/fauxhai/platforms/freebsd/10.0.json +3 -2
- data/lib/fauxhai/platforms/freebsd/10.1.json +3 -2
- data/lib/fauxhai/platforms/freebsd/10.2.json +3 -2
- data/lib/fauxhai/platforms/freebsd/8.4.json +2 -1
- data/lib/fauxhai/platforms/freebsd/9.1.json +3 -2
- data/lib/fauxhai/platforms/freebsd/9.2.json +3 -2
- data/lib/fauxhai/platforms/freebsd/9.3.json +3 -2
- data/lib/fauxhai/platforms/gentoo/2.1.json +2 -1
- data/lib/fauxhai/platforms/ios_xr/6.0.0.14I.json +3 -2
- data/lib/fauxhai/platforms/mac_os_x/10.10.json +3 -2
- data/lib/fauxhai/platforms/mac_os_x/10.11.1.json +3 -2
- data/lib/fauxhai/platforms/mac_os_x/10.6.8.json +2 -1
- data/lib/fauxhai/platforms/mac_os_x/10.7.4.json +2 -1
- data/lib/fauxhai/platforms/mac_os_x/10.8.2.json +2 -1
- data/lib/fauxhai/platforms/nexus/5.json +3 -2
- data/lib/fauxhai/platforms/omnios/151002.json +2 -1
- data/lib/fauxhai/platforms/omnios/151006.json +2 -1
- data/lib/fauxhai/platforms/omnios/151008.json +2 -1
- data/lib/fauxhai/platforms/omnios/151014.json +3 -2
- data/lib/fauxhai/platforms/openbsd/5.4.json +2 -1
- data/lib/fauxhai/platforms/opensuse/12.3.json +4 -2
- data/lib/fauxhai/platforms/opensuse/13.1.json +6 -15
- data/lib/fauxhai/platforms/opensuse/13.2.json +4 -2
- data/lib/fauxhai/platforms/opensuse/42.1.json +546 -0
- data/lib/fauxhai/platforms/oracle/5.10.json +3 -1
- data/lib/fauxhai/platforms/oracle/6.5.json +3 -1
- data/lib/fauxhai/platforms/oracle/6.6.json +4 -2
- data/lib/fauxhai/platforms/oracle/7.0.json +4 -2
- data/lib/fauxhai/platforms/oracle/7.1.json +4 -2
- data/lib/fauxhai/platforms/redhat/5.10.json +3 -1
- data/lib/fauxhai/platforms/redhat/5.6.json +3 -1
- data/lib/fauxhai/platforms/redhat/5.7.json +3 -1
- data/lib/fauxhai/platforms/redhat/5.8.json +3 -1
- data/lib/fauxhai/platforms/redhat/5.9.json +3 -1
- data/lib/fauxhai/platforms/redhat/6.0.json +3 -1
- data/lib/fauxhai/platforms/redhat/6.1.json +3 -1
- data/lib/fauxhai/platforms/redhat/6.2.json +3 -1
- data/lib/fauxhai/platforms/redhat/6.3.json +3 -1
- data/lib/fauxhai/platforms/redhat/6.4.json +3 -1
- data/lib/fauxhai/platforms/redhat/6.5.json +3 -1
- data/lib/fauxhai/platforms/redhat/6.6.json +4 -2
- data/lib/fauxhai/platforms/redhat/7.0.json +3 -1
- data/lib/fauxhai/platforms/redhat/7.1.json +4 -2
- data/lib/fauxhai/platforms/slackware/14.1.json +3 -2
- data/lib/fauxhai/platforms/smartos/5.11.json +2 -1
- data/lib/fauxhai/platforms/smartos/joyent_20130111T180733Z.json +2 -1
- data/lib/fauxhai/platforms/solaris2/5.10.json +2447 -0
- data/lib/fauxhai/platforms/solaris2/5.11.json +2 -1
- data/lib/fauxhai/platforms/suse/11.1.json +2 -1
- data/lib/fauxhai/platforms/suse/11.2.json +2 -1
- data/lib/fauxhai/platforms/suse/11.3.json +2 -1
- data/lib/fauxhai/platforms/suse/12.0.json +3 -2
- data/lib/fauxhai/platforms/ubuntu/10.04.json +3 -1
- data/lib/fauxhai/platforms/ubuntu/12.04.json +4 -2
- data/lib/fauxhai/platforms/ubuntu/13.04.json +3 -1
- data/lib/fauxhai/platforms/ubuntu/13.10.json +3 -1
- data/lib/fauxhai/platforms/ubuntu/14.04.json +4 -2
- data/lib/fauxhai/platforms/ubuntu/14.10.json +4 -2
- data/lib/fauxhai/platforms/ubuntu/15.04.json +4 -2
- data/lib/fauxhai/platforms/ubuntu/15.10.json +4 -2
- data/lib/fauxhai/platforms/windows/10.json +3 -2
- data/lib/fauxhai/platforms/windows/2003R2.json +3 -2
- data/lib/fauxhai/platforms/windows/2008R2.json +3 -2
- data/lib/fauxhai/platforms/windows/2012.json +4 -3
- data/lib/fauxhai/platforms/windows/2012R2.json +3 -2
- data/lib/fauxhai/platforms/windows/8.1.json +3 -2
- data/lib/fauxhai/platforms/windows/8.json +3 -2
- data/lib/fauxhai/runner.rb +6 -3
- data/lib/fauxhai/version.rb +1 -1
- metadata +8 -3
@@ -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": "
|
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": "
|
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": "
|
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": "
|
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": "
|
651
|
+
"total": "1048576kB"
|
650
652
|
}
|
651
653
|
}
|
@@ -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",
|
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": "
|
3575
|
+
"total": "1048576kB"
|
3575
3576
|
}
|
3576
3577
|
}
|
data/lib/fauxhai/runner.rb
CHANGED
@@ -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' => '
|
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
|
data/lib/fauxhai/version.rb
CHANGED
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
|
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:
|
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.
|
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
|