fauxhai 3.4.0 → 3.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,413 @@
1
+ {
2
+ "kernel": {
3
+ "name": "Linux",
4
+ "release": "3.18.7-gentoo",
5
+ "version": "#1 SMP Wed Mar 11 17:58:50 GMT 2015",
6
+ "machine": "x86_64",
7
+ "processor": "Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz",
8
+ "os": "GNU/Linux",
9
+ "modules": {
10
+ }
11
+ },
12
+ "dmi": {
13
+ },
14
+ "ohai_time": 1464391550.7510288,
15
+ "command": {
16
+ "ps": "ps -ef"
17
+ },
18
+ "lsb": {
19
+ },
20
+ "os": "linux",
21
+ "os_version": "3.18.7-gentoo",
22
+ "platform": "gentoo",
23
+ "platform_version": "2.2",
24
+ "platform_family": "gentoo",
25
+ "filesystem": {
26
+ "/dev/sda1": {
27
+ "kb_size": "49410864",
28
+ "kb_used": "3209684",
29
+ "kb_available": "43668216",
30
+ "percent_used": "7%",
31
+ "mount": "/",
32
+ "total_inodes": "3145728",
33
+ "inodes_used": "356466",
34
+ "inodes_available": "2789262",
35
+ "inodes_percent_used": "12%",
36
+ "fs_type": "ext4",
37
+ "mount_options": [
38
+ "rw",
39
+ "noatime",
40
+ "data=ordered"
41
+ ],
42
+ "uuid": "5574b18c-a6c2-4b01-ad08-4b5811d3cc0a"
43
+ },
44
+ "devtmpfs": {
45
+ "kb_size": "10240",
46
+ "kb_used": "0",
47
+ "kb_available": "10240",
48
+ "percent_used": "0%",
49
+ "mount": "/dev",
50
+ "total_inodes": "94611",
51
+ "inodes_used": "360",
52
+ "inodes_available": "94251",
53
+ "inodes_percent_used": "1%",
54
+ "fs_type": "devtmpfs",
55
+ "mount_options": [
56
+ "rw",
57
+ "nosuid",
58
+ "relatime",
59
+ "size=10240k",
60
+ "nr_inodes=94611",
61
+ "mode=755"
62
+ ]
63
+ },
64
+ "tmpfs": {
65
+ "kb_size": "75948",
66
+ "kb_used": "248",
67
+ "kb_available": "75700",
68
+ "percent_used": "1%",
69
+ "mount": "/run",
70
+ "total_inodes": "94934",
71
+ "inodes_used": "295",
72
+ "inodes_available": "94639",
73
+ "inodes_percent_used": "1%",
74
+ "fs_type": "tmpfs",
75
+ "mount_options": [
76
+ "rw",
77
+ "nodev",
78
+ "relatime",
79
+ "size=75948k",
80
+ "mode=755"
81
+ ]
82
+ },
83
+ "shm": {
84
+ "kb_size": "379736",
85
+ "kb_used": "0",
86
+ "kb_available": "379736",
87
+ "percent_used": "0%",
88
+ "mount": "/dev/shm",
89
+ "total_inodes": "94934",
90
+ "inodes_used": "1",
91
+ "inodes_available": "94933",
92
+ "inodes_percent_used": "1%",
93
+ "fs_type": "tmpfs",
94
+ "mount_options": [
95
+ "rw",
96
+ "nosuid",
97
+ "nodev",
98
+ "noexec",
99
+ "relatime"
100
+ ]
101
+ },
102
+ "cgroup_root": {
103
+ "kb_size": "10240",
104
+ "kb_used": "0",
105
+ "kb_available": "10240",
106
+ "percent_used": "0%",
107
+ "mount": "/sys/fs/cgroup",
108
+ "total_inodes": "94934",
109
+ "inodes_used": "6",
110
+ "inodes_available": "94928",
111
+ "inodes_percent_used": "1%",
112
+ "fs_type": "tmpfs",
113
+ "mount_options": [
114
+ "rw",
115
+ "nosuid",
116
+ "nodev",
117
+ "noexec",
118
+ "relatime",
119
+ "size=10240k",
120
+ "mode=755"
121
+ ]
122
+ },
123
+ "rootfs": {
124
+ "mount": "/",
125
+ "fs_type": "rootfs",
126
+ "mount_options": [
127
+ "rw"
128
+ ]
129
+ },
130
+ "proc": {
131
+ "mount": "/proc",
132
+ "fs_type": "proc",
133
+ "mount_options": [
134
+ "rw",
135
+ "nosuid",
136
+ "nodev",
137
+ "noexec",
138
+ "relatime"
139
+ ]
140
+ },
141
+ "mqueue": {
142
+ "mount": "/dev/mqueue",
143
+ "fs_type": "mqueue",
144
+ "mount_options": [
145
+ "rw",
146
+ "nosuid",
147
+ "nodev",
148
+ "noexec",
149
+ "relatime"
150
+ ]
151
+ },
152
+ "devpts": {
153
+ "mount": "/dev/pts",
154
+ "fs_type": "devpts",
155
+ "mount_options": [
156
+ "rw",
157
+ "nosuid",
158
+ "noexec",
159
+ "relatime",
160
+ "gid=5",
161
+ "mode=620"
162
+ ]
163
+ },
164
+ "sysfs": {
165
+ "mount": "/sys",
166
+ "fs_type": "sysfs",
167
+ "mount_options": [
168
+ "rw",
169
+ "nosuid",
170
+ "nodev",
171
+ "noexec",
172
+ "relatime"
173
+ ]
174
+ },
175
+ "debugfs": {
176
+ "mount": "/sys/kernel/debug",
177
+ "fs_type": "debugfs",
178
+ "mount_options": [
179
+ "rw",
180
+ "nosuid",
181
+ "nodev",
182
+ "noexec",
183
+ "relatime"
184
+ ]
185
+ },
186
+ "openrc": {
187
+ "mount": "/sys/fs/cgroup/openrc",
188
+ "fs_type": "cgroup",
189
+ "mount_options": [
190
+ "rw",
191
+ "nosuid",
192
+ "nodev",
193
+ "noexec",
194
+ "relatime",
195
+ "release_agent=/lib64/rc/sh/cgroup-release-agent.sh",
196
+ "name=openrc"
197
+ ]
198
+ },
199
+ "cpuset": {
200
+ "mount": "/sys/fs/cgroup/cpuset",
201
+ "fs_type": "cgroup",
202
+ "mount_options": [
203
+ "rw",
204
+ "nosuid",
205
+ "nodev",
206
+ "noexec",
207
+ "relatime",
208
+ "cpuset"
209
+ ]
210
+ },
211
+ "cpu": {
212
+ "mount": "/sys/fs/cgroup/cpu",
213
+ "fs_type": "cgroup",
214
+ "mount_options": [
215
+ "rw",
216
+ "nosuid",
217
+ "nodev",
218
+ "noexec",
219
+ "relatime",
220
+ "cpu"
221
+ ]
222
+ },
223
+ "cpuacct": {
224
+ "mount": "/sys/fs/cgroup/cpuacct",
225
+ "fs_type": "cgroup",
226
+ "mount_options": [
227
+ "rw",
228
+ "nosuid",
229
+ "nodev",
230
+ "noexec",
231
+ "relatime",
232
+ "cpuacct"
233
+ ]
234
+ },
235
+ "freezer": {
236
+ "mount": "/sys/fs/cgroup/freezer",
237
+ "fs_type": "cgroup",
238
+ "mount_options": [
239
+ "rw",
240
+ "nosuid",
241
+ "nodev",
242
+ "noexec",
243
+ "relatime",
244
+ "freezer"
245
+ ]
246
+ },
247
+ "binfmt_misc": {
248
+ "mount": "/proc/sys/fs/binfmt_misc",
249
+ "fs_type": "binfmt_misc",
250
+ "mount_options": [
251
+ "rw",
252
+ "nodev",
253
+ "noexec",
254
+ "nosuid"
255
+ ]
256
+ },
257
+ "selinuxfs": {
258
+ "mount": "/sys/fs/selinux",
259
+ "fs_type": "selinuxfs",
260
+ "mount_options": [
261
+ "rw"
262
+ ]
263
+ },
264
+ "/dev/sda2": {
265
+ "fs_type": "swap",
266
+ "uuid": "b806df0c-7367-41b7-b99c-507b52ddf033"
267
+ }
268
+ },
269
+ "init_package": "init",
270
+ "root_group": "root",
271
+ "languages": {
272
+ "ruby": {
273
+ "platform": "x86_64-linux",
274
+ "version": "2.3.1",
275
+ "release_date": "2016-04-26",
276
+ "target": "x86_64-pc-linux-gnu",
277
+ "target_cpu": "x86_64",
278
+ "target_vendor": "pc",
279
+ "target_os": "linux",
280
+ "host": "x86_64-pc-linux-gnu",
281
+ "host_cpu": "x86_64",
282
+ "host_os": "linux-gnu",
283
+ "host_vendor": "pc",
284
+ "bin_dir": "/usr/local/bin",
285
+ "ruby_bin": "/usr/local/bin/ruby",
286
+ "gems_dir": "/usr/local/gems",
287
+ "gem_bin": "/usr/local/bin/gem"
288
+ },
289
+ "powershell": null
290
+ },
291
+ "chef_packages": {
292
+ "chef": {
293
+ "version": "12.10.24",
294
+ "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.10.24/lib"
295
+ },
296
+ "ohai": {
297
+ "version": "8.16.0",
298
+ "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.16.0/lib/ohai"
299
+ }
300
+ },
301
+ "counters": {
302
+ "network": {
303
+ "interfaces": {
304
+ "eth0": {
305
+ "rx": {
306
+ "bytes": "0",
307
+ "packets": "0",
308
+ "errors": "0",
309
+ "drop": 0,
310
+ "overrun": 0,
311
+ "frame": 0,
312
+ "compressed": 0,
313
+ "multicast": 0
314
+ },
315
+ "tx": {
316
+ "bytes": "342",
317
+ "packets": "0",
318
+ "errors": "0",
319
+ "drop": 0,
320
+ "overrun": 0,
321
+ "collisions": "0",
322
+ "carrier": 0,
323
+ "compressed": 0
324
+ }
325
+ }
326
+ }
327
+ }
328
+ },
329
+ "current_user": "fauxhai",
330
+ "domain": "local",
331
+ "etc": {
332
+ "passwd": {
333
+ "fauxhai": {
334
+ "dir": "/home/fauxhai",
335
+ "gid": 0,
336
+ "uid": 0,
337
+ "shell": "/bin/bash",
338
+ "gecos": "Fauxhai"
339
+ }
340
+ },
341
+ "group": {
342
+ "fauxhai": {
343
+ "gid": 0,
344
+ "members": [
345
+ "fauxhai"
346
+ ]
347
+ }
348
+ }
349
+ },
350
+ "hostname": "Fauxhai",
351
+ "fqdn": "fauxhai.local",
352
+ "ipaddress": "10.0.0.2",
353
+ "keys": {
354
+ "ssh": {
355
+ "host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
356
+ "host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
357
+ }
358
+ },
359
+ "macaddress": "11:11:11:11:11:11",
360
+ "network": {
361
+ "default_gateway": "10.0.0.1",
362
+ "default_interface": "eth0",
363
+ "settings": {
364
+ },
365
+ "interfaces": {
366
+ "eth0": {
367
+ "addresses": {
368
+ "10.0.0.2": {
369
+ "broadcast": "10.0.0.255",
370
+ "family": "inet",
371
+ "netmask": "255.255.255.0",
372
+ "prefixlen": "23",
373
+ "scope": "Global"
374
+ }
375
+ },
376
+ "arp": {
377
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
378
+ },
379
+ "encapsulation": "Ethernet",
380
+ "flags": [
381
+ "BROADCAST",
382
+ "MULTICAST",
383
+ "UP",
384
+ "LOWER_UP"
385
+ ],
386
+ "mtu": "1500",
387
+ "number": "0",
388
+ "routes": {
389
+ "10.0.0.0/255": {
390
+ "scope": "link",
391
+ "src": "10.0.0.2"
392
+ }
393
+ },
394
+ "state": "up",
395
+ "type": "eth"
396
+ }
397
+ }
398
+ },
399
+ "uptime": "30 days 15 hours 07 minutes 30 seconds",
400
+ "uptime_seconds": 2646450,
401
+ "cpu": {
402
+ "real": 1,
403
+ "total": 1,
404
+ "cores": 1
405
+ },
406
+ "memory": {
407
+ "total": "1048576kB"
408
+ },
409
+ "virtualization": {
410
+ "systems": {
411
+ }
412
+ }
413
+ }
@@ -1,3 +1,3 @@
1
1
  module Fauxhai
2
- VERSION = '3.4.0'
2
+ VERSION = '3.5.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.4.0
4
+ version: 3.5.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: 2016-04-22 00:00:00.000000000 Z
11
+ date: 2016-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh
@@ -102,8 +102,9 @@ files:
102
102
  - lib/fauxhai/platforms/amazon/2014.09.json
103
103
  - lib/fauxhai/platforms/amazon/2015.03.json
104
104
  - lib/fauxhai/platforms/amazon/2015.09.json
105
- - lib/fauxhai/platforms/amazon/2016-03.json
105
+ - lib/fauxhai/platforms/amazon/2016.03.json
106
106
  - lib/fauxhai/platforms/arch/3.10.5-1-ARCH.json
107
+ - lib/fauxhai/platforms/arch/4.5.4-1-ARCH.json
107
108
  - lib/fauxhai/platforms/centos/5.0.json
108
109
  - lib/fauxhai/platforms/centos/5.1.json
109
110
  - lib/fauxhai/platforms/centos/5.10.json
@@ -124,6 +125,7 @@ files:
124
125
  - lib/fauxhai/platforms/centos/6.5.json
125
126
  - lib/fauxhai/platforms/centos/6.6.json
126
127
  - lib/fauxhai/platforms/centos/6.7.json
128
+ - lib/fauxhai/platforms/centos/6.8.json
127
129
  - lib/fauxhai/platforms/centos/7.0.1406.json
128
130
  - lib/fauxhai/platforms/centos/7.0.json
129
131
  - lib/fauxhai/platforms/centos/7.1.1503.json
@@ -132,6 +134,7 @@ files:
132
134
  - lib/fauxhai/platforms/debian/6.0.5.json
133
135
  - lib/fauxhai/platforms/debian/7.0.json
134
136
  - lib/fauxhai/platforms/debian/7.1.json
137
+ - lib/fauxhai/platforms/debian/7.10.json
135
138
  - lib/fauxhai/platforms/debian/7.2.json
136
139
  - lib/fauxhai/platforms/debian/7.4.json
137
140
  - lib/fauxhai/platforms/debian/7.5.json
@@ -161,6 +164,7 @@ files:
161
164
  - lib/fauxhai/platforms/freebsd/9.2.json
162
165
  - lib/fauxhai/platforms/freebsd/9.3.json
163
166
  - lib/fauxhai/platforms/gentoo/2.1.json
167
+ - lib/fauxhai/platforms/gentoo/2.2.json
164
168
  - lib/fauxhai/platforms/ios_xr/6.0.0.14I.json
165
169
  - lib/fauxhai/platforms/mac_os_x/10.10.json
166
170
  - lib/fauxhai/platforms/mac_os_x/10.11.1.json
@@ -238,7 +242,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
238
242
  requirements:
239
243
  - - ">="
240
244
  - !ruby/object:Gem::Version
241
- version: '1.9'
245
+ version: '2.0'
242
246
  required_rubygems_version: !ruby/object:Gem::Requirement
243
247
  requirements:
244
248
  - - ">="
@@ -252,3 +256,4 @@ specification_version: 4
252
256
  summary: Fauxhai provides an easy way to mock out your ohai data for testing with
253
257
  chefspec!
254
258
  test_files: []
259
+ has_rdoc: