fauxhai 3.6.0 → 3.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15b622796fc39cd8afab129b306dfca9815ba35e
4
- data.tar.gz: 2a9c72fbd9b69950a9c99992efd35c8701e9c109
3
+ metadata.gz: 0d673ee8de1c6aa5e35ea43fa2bffd4bf23ce488
4
+ data.tar.gz: 57c220f3e27eb67de76ebc31eebd8f36f035e1b9
5
5
  SHA512:
6
- metadata.gz: f5217cdbbc149fd8930ad52309cabc0e91a4aa0ff16b36980ae70892b000b35967f1f25d700efbb1f436a87d21726d4f016d195534aaca141747db708608d3b9
7
- data.tar.gz: 3241c2ff065839b25e65085d1839093f24ca0fd81ba5ac4ea758cdd81f84cbd797777f233c3dae445b09a84ff5b589a29f4e6910643e4cbd6cd74fc91380e94a
6
+ metadata.gz: d5b050b4edbc537dd3e3d68e41d1a02563e6d33df228a16f9d2544a3f8d7948ddfb9e7077e3bc5cd17670120807e0c6c6602955b67178554b2b0da624c229619
7
+ data.tar.gz: df4524862ee372ab83a24d5ec77b65cbb9203402b427453697663bf7d65e658fd3e1506369d8e955fb4f7e068ac528c2f455d9de92d0b01f82b1cecd445181c6
data/.travis.yml CHANGED
@@ -3,7 +3,9 @@ cache: bundler
3
3
  sudo: false
4
4
 
5
5
  rvm:
6
- - 2.2.0
6
+ - 2.1.9
7
+ - 2.2.5
8
+ - 2.3.1
7
9
 
8
10
  branches:
9
11
  only:
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Fauxhai Changelog
2
2
 
3
+ ## v3.7.0
4
+
5
+ - Fauxhai now requires at least Ruby 2.1.0
6
+ - Added Raspbian 8.0
7
+
3
8
  ## v3.6.0
4
9
 
5
10
  - Generate proper data for Windows hosts
data/fauxhai.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.homepage = 'https://github.com/customink/fauxhai'
13
13
  spec.license = 'MIT'
14
14
 
15
- spec.required_ruby_version = '>= 2.0'
15
+ spec.required_ruby_version = '>= 2.1'
16
16
 
17
17
  spec.files = `git ls-files`.split($\)
18
18
  spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) }
@@ -0,0 +1,468 @@
1
+ {
2
+ "command": {
3
+ "ps": "ps -ef"
4
+ },
5
+ "kernel": {
6
+ "name": "Linux",
7
+ "release": "4.4.9-v7+",
8
+ "version": "#884 SMP Fri May 6 17:28:59 BST 2016",
9
+ "machine": "armv7l",
10
+ "processor": "unknown",
11
+ "os": "GNU/Linux",
12
+ "modules": {
13
+ "bnep": {
14
+ "size": "10340",
15
+ "refcount": "2",
16
+ "version": "1.3"
17
+ },
18
+ "hci_uart": {
19
+ "size": "17943",
20
+ "refcount": "1",
21
+ "version": "2.3"
22
+ },
23
+ "btbcm": {
24
+ "size": "5929",
25
+ "refcount": "1",
26
+ "version": "0.1"
27
+ },
28
+ "bluetooth": {
29
+ "size": "326105",
30
+ "refcount": "22",
31
+ "version": "2.21"
32
+ },
33
+ "brcmfmac": {
34
+ "size": "186599",
35
+ "refcount": "0"
36
+ },
37
+ "evdev": {
38
+ "size": "11396",
39
+ "refcount": "4"
40
+ },
41
+ "joydev": {
42
+ "size": "9024",
43
+ "refcount": "0"
44
+ },
45
+ "brcmutil": {
46
+ "size": "5661",
47
+ "refcount": "1"
48
+ },
49
+ "cfg80211": {
50
+ "size": "427855",
51
+ "refcount": "1"
52
+ },
53
+ "rfkill": {
54
+ "size": "16037",
55
+ "refcount": "4"
56
+ },
57
+ "snd_bcm2835": {
58
+ "size": "20511",
59
+ "refcount": "1"
60
+ },
61
+ "snd_pcm": {
62
+ "size": "75698",
63
+ "refcount": "1"
64
+ },
65
+ "snd_timer": {
66
+ "size": "19160",
67
+ "refcount": "1"
68
+ },
69
+ "snd": {
70
+ "size": "51844",
71
+ "refcount": "5"
72
+ },
73
+ "bcm2835_wdt": {
74
+ "size": "3225",
75
+ "refcount": "0"
76
+ },
77
+ "bcm2835_gpiomem": {
78
+ "size": "3040",
79
+ "refcount": "0"
80
+ },
81
+ "uio_pdrv_genirq": {
82
+ "size": "3164",
83
+ "refcount": "0"
84
+ },
85
+ "uio": {
86
+ "size": "8000",
87
+ "refcount": "1"
88
+ },
89
+ "i2c_dev": {
90
+ "size": "5859",
91
+ "refcount": "0"
92
+ },
93
+ "fuse": {
94
+ "size": "83461",
95
+ "refcount": "3"
96
+ },
97
+ "ipv6": {
98
+ "size": "347530",
99
+ "refcount": "60"
100
+ }
101
+ }
102
+ },
103
+ "os": "linux",
104
+ "os_version": "4.4.9-v7+",
105
+ "lsb": {
106
+ "id": "Raspbian",
107
+ "description": "Raspbian GNU/Linux 8.0 (jessie)",
108
+ "release": "8.0",
109
+ "codename": "jessie"
110
+ },
111
+ "platform": "raspbian",
112
+ "platform_version": "8.0",
113
+ "platform_family": "debian",
114
+ "filesystem": {
115
+ "/dev/root": {
116
+ "kb_size": "60162140",
117
+ "kb_used": "4545664",
118
+ "kb_available": "52537308",
119
+ "percent_used": "8%",
120
+ "mount": "/",
121
+ "total_inodes": "3833856",
122
+ "inodes_used": "172418",
123
+ "inodes_available": "3661438",
124
+ "inodes_percent_used": "5%"
125
+ },
126
+ "devtmpfs": {
127
+ "kb_size": "469544",
128
+ "kb_used": "0",
129
+ "kb_available": "469544",
130
+ "percent_used": "0%",
131
+ "mount": "/dev",
132
+ "total_inodes": "117386",
133
+ "inodes_used": "379",
134
+ "inodes_available": "117007",
135
+ "inodes_percent_used": "1%",
136
+ "fs_type": "devtmpfs",
137
+ "mount_options": [
138
+ "rw",
139
+ "relatime",
140
+ "size=469544k",
141
+ "nr_inodes=117386",
142
+ "mode=755"
143
+ ]
144
+ },
145
+ "tmpfs": {
146
+ "kb_size": "94776",
147
+ "kb_used": "0",
148
+ "kb_available": "94776",
149
+ "percent_used": "0%",
150
+ "mount": "/run/user/1000",
151
+ "total_inodes": "118470",
152
+ "inodes_used": "6",
153
+ "inodes_available": "118464",
154
+ "inodes_percent_used": "1%",
155
+ "fs_type": "tmpfs",
156
+ "mount_options": [
157
+ "rw",
158
+ "nosuid",
159
+ "nodev",
160
+ "relatime",
161
+ "size=94776k",
162
+ "mode=700",
163
+ "uid=1000",
164
+ "gid=1000"
165
+ ]
166
+ },
167
+ "/dev/mmcblk0p6": {
168
+ "kb_size": "64366",
169
+ "kb_used": "20450",
170
+ "kb_available": "43916",
171
+ "percent_used": "32%",
172
+ "mount": "/boot",
173
+ "fs_type": "vfat",
174
+ "mount_options": [
175
+ "rw",
176
+ "relatime",
177
+ "fmask=0022",
178
+ "dmask=0022",
179
+ "codepage=437",
180
+ "iocharset=ascii",
181
+ "shortname=mixed",
182
+ "errors=remount-ro"
183
+ ]
184
+ },
185
+ "/dev/mmcblk0p5": {
186
+ "kb_size": "30701",
187
+ "kb_used": "398",
188
+ "kb_available": "28010",
189
+ "percent_used": "2%",
190
+ "mount": "/media/pi/SETTINGS",
191
+ "total_inodes": "8192",
192
+ "inodes_used": "14",
193
+ "inodes_available": "8178",
194
+ "inodes_percent_used": "1%",
195
+ "fs_type": "ext4",
196
+ "mount_options": [
197
+ "rw",
198
+ "nosuid",
199
+ "nodev",
200
+ "relatime",
201
+ "data=ordered",
202
+ "uhelper=udisks2"
203
+ ]
204
+ },
205
+ "/dev/mmcblk0p7": {
206
+ "mount": "/",
207
+ "fs_type": "ext4",
208
+ "mount_options": [
209
+ "rw",
210
+ "noatime",
211
+ "data=ordered"
212
+ ]
213
+ },
214
+ "sysfs": {
215
+ "mount": "/sys",
216
+ "fs_type": "sysfs",
217
+ "mount_options": [
218
+ "rw",
219
+ "nosuid",
220
+ "nodev",
221
+ "noexec",
222
+ "relatime"
223
+ ]
224
+ },
225
+ "proc": {
226
+ "mount": "/proc",
227
+ "fs_type": "proc",
228
+ "mount_options": [
229
+ "rw",
230
+ "relatime"
231
+ ]
232
+ },
233
+ "devpts": {
234
+ "mount": "/dev/pts",
235
+ "fs_type": "devpts",
236
+ "mount_options": [
237
+ "rw",
238
+ "nosuid",
239
+ "noexec",
240
+ "relatime",
241
+ "gid=5",
242
+ "mode=620",
243
+ "ptmxmode=000"
244
+ ]
245
+ },
246
+ "cgroup": {
247
+ "mount": "/sys/fs/cgroup/net_cls",
248
+ "fs_type": "cgroup",
249
+ "mount_options": [
250
+ "rw",
251
+ "nosuid",
252
+ "nodev",
253
+ "noexec",
254
+ "relatime",
255
+ "net_cls"
256
+ ]
257
+ },
258
+ "systemd-1": {
259
+ "mount": "/proc/sys/fs/binfmt_misc",
260
+ "fs_type": "autofs",
261
+ "mount_options": [
262
+ "rw",
263
+ "relatime",
264
+ "fd=22",
265
+ "pgrp=1",
266
+ "timeout=300",
267
+ "minproto=5",
268
+ "maxproto=5",
269
+ "direct"
270
+ ]
271
+ },
272
+ "mqueue": {
273
+ "mount": "/dev/mqueue",
274
+ "fs_type": "mqueue",
275
+ "mount_options": [
276
+ "rw",
277
+ "relatime"
278
+ ]
279
+ },
280
+ "debugfs": {
281
+ "mount": "/sys/kernel/debug",
282
+ "fs_type": "debugfs",
283
+ "mount_options": [
284
+ "rw",
285
+ "relatime"
286
+ ]
287
+ },
288
+ "configfs": {
289
+ "mount": "/sys/kernel/config",
290
+ "fs_type": "configfs",
291
+ "mount_options": [
292
+ "rw",
293
+ "relatime"
294
+ ]
295
+ },
296
+ "fusectl": {
297
+ "mount": "/sys/fs/fuse/connections",
298
+ "fs_type": "fusectl",
299
+ "mount_options": [
300
+ "rw",
301
+ "relatime"
302
+ ]
303
+ },
304
+ "gvfsd-fuse": {
305
+ "mount": "/run/user/1000/gvfs",
306
+ "fs_type": "fuse.gvfsd-fuse",
307
+ "mount_options": [
308
+ "rw",
309
+ "nosuid",
310
+ "nodev",
311
+ "relatime",
312
+ "user_id=1000",
313
+ "group_id=1000"
314
+ ]
315
+ }
316
+ },
317
+ "dmi": {
318
+ "dmidecode_version": "2.12"
319
+ },
320
+ "ohai_time": 1467522696.1713433,
321
+ "root_group": "root",
322
+ "init_package": "systemd",
323
+ "languages": {
324
+ "ruby": {
325
+ "platform": "armv7l-linux-eabihf",
326
+ "version": "2.2.4",
327
+ "release_date": "2015-12-16",
328
+ "target": "armv7l-unknown-linux-gnueabihf",
329
+ "target_cpu": "armv7l",
330
+ "target_vendor": "unknown",
331
+ "target_os": "linux-eabihf",
332
+ "host": "armv7l-unknown-linux-gnueabihf",
333
+ "host_cpu": "armv7l",
334
+ "host_os": "linux-gnueabihf",
335
+ "host_vendor": "unknown",
336
+ "bin_dir": "/usr/local/bin",
337
+ "ruby_bin": "/usr/local/bin/ruby",
338
+ "gems_dir": "/usr/local/gems",
339
+ "gem_bin": "/usr/local/bin/gem"
340
+ },
341
+ "powershell": null
342
+ },
343
+ "chef_packages": {
344
+ "chef": {
345
+ "version": "12.11.18",
346
+ "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib"
347
+ },
348
+ "ohai": {
349
+ "version": "8.17.1",
350
+ "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.17.1/lib/ohai"
351
+ }
352
+ },
353
+ "counters": {
354
+ "network": {
355
+ "interfaces": {
356
+ "eth0": {
357
+ "rx": {
358
+ "bytes": "0",
359
+ "packets": "0",
360
+ "errors": "0",
361
+ "drop": 0,
362
+ "overrun": 0,
363
+ "frame": 0,
364
+ "compressed": 0,
365
+ "multicast": 0
366
+ },
367
+ "tx": {
368
+ "bytes": "342",
369
+ "packets": "0",
370
+ "errors": "0",
371
+ "drop": 0,
372
+ "overrun": 0,
373
+ "collisions": "0",
374
+ "carrier": 0,
375
+ "compressed": 0
376
+ }
377
+ }
378
+ }
379
+ }
380
+ },
381
+ "current_user": "fauxhai",
382
+ "domain": "local",
383
+ "etc": {
384
+ "passwd": {
385
+ "fauxhai": {
386
+ "dir": "/home/fauxhai",
387
+ "gid": 0,
388
+ "uid": 0,
389
+ "shell": "/bin/bash",
390
+ "gecos": "Fauxhai"
391
+ }
392
+ },
393
+ "group": {
394
+ "fauxhai": {
395
+ "gid": 0,
396
+ "members": [
397
+ "fauxhai"
398
+ ]
399
+ }
400
+ }
401
+ },
402
+ "hostname": "Fauxhai",
403
+ "fqdn": "fauxhai.local",
404
+ "ipaddress": "10.0.0.2",
405
+ "keys": {
406
+ "ssh": {
407
+ "host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
408
+ "host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
409
+ }
410
+ },
411
+ "macaddress": "11:11:11:11:11:11",
412
+ "network": {
413
+ "default_gateway": "10.0.0.1",
414
+ "default_interface": "eth0",
415
+ "settings": {
416
+ },
417
+ "interfaces": {
418
+ "eth0": {
419
+ "addresses": {
420
+ "10.0.0.2": {
421
+ "broadcast": "10.0.0.255",
422
+ "family": "inet",
423
+ "netmask": "255.255.255.0",
424
+ "prefixlen": "24",
425
+ "scope": "Global"
426
+ }
427
+ },
428
+ "arp": {
429
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
430
+ },
431
+ "encapsulation": "Ethernet",
432
+ "flags": [
433
+ "BROADCAST",
434
+ "MULTICAST",
435
+ "UP",
436
+ "LOWER_UP"
437
+ ],
438
+ "mtu": "1500",
439
+ "number": "0",
440
+ "routes": [
441
+ {
442
+ "destination": "10.0.0.0/24",
443
+ "family": "inet",
444
+ "scope": "link",
445
+ "proto": "kernel",
446
+ "src": "10.0.0.2"
447
+ }
448
+ ],
449
+ "state": "up",
450
+ "type": "eth"
451
+ }
452
+ }
453
+ },
454
+ "uptime": "30 days 15 hours 07 minutes 30 seconds",
455
+ "uptime_seconds": 2646450,
456
+ "cpu": {
457
+ "real": 1,
458
+ "total": 1,
459
+ "cores": 1
460
+ },
461
+ "memory": {
462
+ "total": "1048576kB"
463
+ },
464
+ "virtualization": {
465
+ "systems": {
466
+ }
467
+ }
468
+ }
@@ -1,3 +1,3 @@
1
1
  module Fauxhai
2
- VERSION = '3.6.0'
2
+ VERSION = '3.7.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.6.0
4
+ version: 3.7.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-06-29 00:00:00.000000000 Z
11
+ date: 2016-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh
@@ -188,6 +188,7 @@ files:
188
188
  - lib/fauxhai/platforms/oracle/6.6.json
189
189
  - lib/fauxhai/platforms/oracle/7.0.json
190
190
  - lib/fauxhai/platforms/oracle/7.1.json
191
+ - lib/fauxhai/platforms/raspbian/8.0.json
191
192
  - lib/fauxhai/platforms/redhat/5.10.json
192
193
  - lib/fauxhai/platforms/redhat/5.6.json
193
194
  - lib/fauxhai/platforms/redhat/5.7.json
@@ -244,7 +245,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
244
245
  requirements:
245
246
  - - ">="
246
247
  - !ruby/object:Gem::Version
247
- version: '2.0'
248
+ version: '2.1'
248
249
  required_rubygems_version: !ruby/object:Gem::Requirement
249
250
  requirements:
250
251
  - - ">="
@@ -252,10 +253,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
252
253
  version: '0'
253
254
  requirements: []
254
255
  rubyforge_project:
255
- rubygems_version: 2.6.3
256
+ rubygems_version: 2.6.6
256
257
  signing_key:
257
258
  specification_version: 4
258
259
  summary: Fauxhai provides an easy way to mock out your ohai data for testing with
259
260
  chefspec!
260
261
  test_files: []
261
- has_rdoc: