fauxhai 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,422 @@
1
+ {
2
+ "kernel": {
3
+ "name": "Linux",
4
+ "release": "3.2.0-26-generic",
5
+ "version": "#41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012",
6
+ "machine": "x86_64",
7
+ "modules": {
8
+ "vboxsf": {
9
+ "size": "39436",
10
+ "refcount": "1"
11
+ },
12
+ "vesafb": {
13
+ "size": "13844",
14
+ "refcount": "1"
15
+ },
16
+ "ppdev": {
17
+ "size": "17113",
18
+ "refcount": "0"
19
+ },
20
+ "nfsd": {
21
+ "size": "277809",
22
+ "refcount": "2"
23
+ },
24
+ "nfs": {
25
+ "size": "356315",
26
+ "refcount": "0"
27
+ },
28
+ "lockd": {
29
+ "size": "86161",
30
+ "refcount": "2"
31
+ },
32
+ "fscache": {
33
+ "size": "61529",
34
+ "refcount": "1"
35
+ },
36
+ "auth_rpcgss": {
37
+ "size": "53380",
38
+ "refcount": "2"
39
+ },
40
+ "nfs_acl": {
41
+ "size": "12883",
42
+ "refcount": "2"
43
+ },
44
+ "sunrpc": {
45
+ "size": "245464",
46
+ "refcount": "6"
47
+ },
48
+ "psmouse": {
49
+ "size": "87692",
50
+ "refcount": "0"
51
+ },
52
+ "vboxguest": {
53
+ "size": "228953",
54
+ "refcount": "2"
55
+ },
56
+ "i2c_piix4": {
57
+ "size": "13301",
58
+ "refcount": "0"
59
+ },
60
+ "serio_raw": {
61
+ "size": "13211",
62
+ "refcount": "0"
63
+ },
64
+ "ext2": {
65
+ "size": "73795",
66
+ "refcount": "1"
67
+ },
68
+ "parport_pc": {
69
+ "size": "32866",
70
+ "refcount": "0"
71
+ },
72
+ "mac_hid": {
73
+ "size": "13253",
74
+ "refcount": "0"
75
+ },
76
+ "lp": {
77
+ "size": "17799",
78
+ "refcount": "0"
79
+ },
80
+ "parport": {
81
+ "size": "46562",
82
+ "refcount": "3"
83
+ },
84
+ "e1000": {
85
+ "size": "108471",
86
+ "refcount": "0"
87
+ }
88
+ },
89
+ "os": "GNU/Linux"
90
+ },
91
+ "os": "linux",
92
+ "os_version": "3.2.0-26-generic",
93
+ "dmi": {
94
+ "dmidecode_version": "2.11",
95
+ "smbios_version": "2.5",
96
+ "structures": {
97
+ "count": "5",
98
+ "size": "352"
99
+ },
100
+ "table_location": "0x000E1000",
101
+ "bios": {
102
+ "all_records": [
103
+ {
104
+ "record_id": "0x0000",
105
+ "size": "0",
106
+ "application_identifier": "BIOS Information",
107
+ "Vendor": "innotek GmbH",
108
+ "Version": "VirtualBox",
109
+ "Release Date": "12/01/2006",
110
+ "Address": "0xE0000",
111
+ "Runtime Size": "128 kB",
112
+ "ROM Size": "128 kB",
113
+ "Characteristics": {
114
+ "ISA is supported": null,
115
+ "PCI is supported": null,
116
+ "Boot from CD is supported": null,
117
+ "Selectable boot is supported": null,
118
+ "8042 keyboard services are supported (int 9h)": null,
119
+ "CGA/mono video services are supported (int 10h)": null,
120
+ "ACPI is supported": null
121
+ }
122
+ }
123
+ ],
124
+ "vendor": "innotek GmbH",
125
+ "version": "VirtualBox",
126
+ "release_date": "12/01/2006",
127
+ "address": "0xE0000",
128
+ "runtime_size": "128 kB",
129
+ "rom_size": "128 kB"
130
+ },
131
+ "system": {
132
+ "all_records": [
133
+ {
134
+ "record_id": "0x0001",
135
+ "size": "1",
136
+ "application_identifier": "End Of Table",
137
+ "Manufacturer": "innotek GmbH",
138
+ "Product Name": "VirtualBox",
139
+ "Version": "1.2",
140
+ "Serial Number": "0",
141
+ "UUID": "5016CB98-F317-45A2-BD11-17E25A2EA3A6",
142
+ "Wake-up Type": "Power Switch",
143
+ "SKU Number": "Not Specified",
144
+ "Family": "Virtual Machine"
145
+ }
146
+ ],
147
+ "manufacturer": "innotek GmbH",
148
+ "product_name": "VirtualBox",
149
+ "version": "1.2",
150
+ "serial_number": "0",
151
+ "uuid": "5016CB98-F317-45A2-BD11-17E25A2EA3A6",
152
+ "wake_up_type": "Power Switch",
153
+ "sku_number": "Not Specified",
154
+ "family": "Virtual Machine"
155
+ }
156
+ },
157
+ "command": {
158
+ "ps": "ps -ef"
159
+ },
160
+ "platform": "ubuntu",
161
+ "platform_version": "12.04",
162
+ "platform_family": "debian",
163
+ "ohai_time": 1344011611.7613227,
164
+ "filesystem": {
165
+ "/dev/mapper/precise64-root": {
166
+ "kb_size": "82706056",
167
+ "kb_used": "2267536",
168
+ "kb_available": "76296236",
169
+ "percent_used": "3%",
170
+ "mount": "/",
171
+ "fs_type": "ext4",
172
+ "mount_options": [
173
+ "rw",
174
+ "errors=remount-ro"
175
+ ],
176
+ "uuid": "04834516-b2ee-4f08-a552-63b7367c72ac"
177
+ },
178
+ "udev": {
179
+ "kb_size": "178064",
180
+ "kb_used": "12",
181
+ "kb_available": "178052",
182
+ "percent_used": "1%",
183
+ "mount": "/dev",
184
+ "fs_type": "devtmpfs",
185
+ "mount_options": [
186
+ "rw",
187
+ "mode=0755"
188
+ ]
189
+ },
190
+ "tmpfs": {
191
+ "kb_size": "74856",
192
+ "kb_used": "268",
193
+ "kb_available": "74588",
194
+ "percent_used": "1%",
195
+ "mount": "/run",
196
+ "fs_type": "tmpfs",
197
+ "mount_options": [
198
+ "rw",
199
+ "noexec",
200
+ "nosuid",
201
+ "size=10%",
202
+ "mode=0755"
203
+ ]
204
+ },
205
+ "none": {
206
+ "kb_size": "187132",
207
+ "kb_used": "0",
208
+ "kb_available": "187132",
209
+ "percent_used": "0%",
210
+ "mount": "/run/shm",
211
+ "fs_type": "tmpfs",
212
+ "mount_options": [
213
+ "rw",
214
+ "nosuid",
215
+ "nodev"
216
+ ]
217
+ },
218
+ "/dev/sda1": {
219
+ "kb_size": "233191",
220
+ "kb_used": "24973",
221
+ "kb_available": "195777",
222
+ "percent_used": "12%",
223
+ "mount": "/boot",
224
+ "fs_type": "ext2",
225
+ "mount_options": [
226
+ "rw"
227
+ ],
228
+ "uuid": "ff82934e-7770-4d45-bc82-ac1751a1e762"
229
+ },
230
+ "v-root": {
231
+ "kb_size": "86890824",
232
+ "kb_used": "83485620",
233
+ "kb_available": "3405204",
234
+ "percent_used": "97%",
235
+ "mount": "/vagrant",
236
+ "fs_type": "vboxsf",
237
+ "mount_options": [
238
+ "uid=1000",
239
+ "gid=1000",
240
+ "rw"
241
+ ]
242
+ },
243
+ "proc": {
244
+ "mount": "/proc",
245
+ "fs_type": "proc",
246
+ "mount_options": [
247
+ "rw",
248
+ "noexec",
249
+ "nosuid",
250
+ "nodev"
251
+ ]
252
+ },
253
+ "sysfs": {
254
+ "mount": "/sys",
255
+ "fs_type": "sysfs",
256
+ "mount_options": [
257
+ "rw",
258
+ "noexec",
259
+ "nosuid",
260
+ "nodev"
261
+ ]
262
+ },
263
+ "devpts": {
264
+ "mount": "/dev/pts",
265
+ "fs_type": "devpts",
266
+ "mount_options": [
267
+ "rw",
268
+ "noexec",
269
+ "nosuid",
270
+ "gid=5",
271
+ "mode=0620"
272
+ ]
273
+ },
274
+ "rpc_pipefs": {
275
+ "mount": "/run/rpc_pipefs",
276
+ "fs_type": "rpc_pipefs",
277
+ "mount_options": [
278
+ "rw"
279
+ ]
280
+ },
281
+ "/dev/sda5": {
282
+ "fs_type": "LVM2_member",
283
+ "uuid": "TJpj2t-VYzl-7RoY-7X64-DIx8-hAaV-g23g6v"
284
+ },
285
+ "/dev/mapper/precise64-swap_1": {
286
+ "fs_type": "swap",
287
+ "uuid": "558a90aa-6b59-43dc-8919-5ce2927e561b"
288
+ },
289
+ "rootfs": {
290
+ "mount": "/",
291
+ "fs_type": "rootfs",
292
+ "mount_options": [
293
+ "rw"
294
+ ]
295
+ }
296
+ },
297
+ "languages": {
298
+ "ruby": {
299
+ "platform": "x86_64-linux",
300
+ "version": "1.9.3",
301
+ "release_date": "2012-04-20",
302
+ "target": "x86_64-unknown-linux-gnu",
303
+ "target_cpu": "x86_64",
304
+ "target_vendor": "unknown",
305
+ "target_os": "linux",
306
+ "host": "x86_64-unknown-linux-gnu",
307
+ "host_cpu": "x86_64",
308
+ "host_os": "linux-gnu",
309
+ "host_vendor": "unknown",
310
+ "bin_dir": "/usr/local/bin",
311
+ "ruby_bin": "/usr/local/bin/ruby",
312
+ "gems_dir": "/usr/local/gems",
313
+ "gem_bin": "/usr/local/bin/gem"
314
+ }
315
+ },
316
+ "chef_packages": {
317
+ "chef": {
318
+ "version": "10.12.0",
319
+ "chef_root": "/usr/local/gems/chef-10.12.0/lib"
320
+ },
321
+ "ohai": {
322
+ "version": "6.14.0",
323
+ "ohai_root": "/usr/local/gems/ohai-6.14.0/lib/ohai"
324
+ }
325
+ },
326
+ "counters": {
327
+ "network": {
328
+ "interfaces": {
329
+ "eth0": {
330
+ "rx": {
331
+ "bytes": "0",
332
+ "packets": "0",
333
+ "errors": "0",
334
+ "drop": 0,
335
+ "overrun": 0,
336
+ "frame": 0,
337
+ "compressed": 0,
338
+ "multicast": 0
339
+ },
340
+ "tx": {
341
+ "bytes": "342",
342
+ "packets": "0",
343
+ "errors": "0",
344
+ "drop": 0,
345
+ "overrun": 0,
346
+ "collisions": "0",
347
+ "carrier": 0,
348
+ "compressed": 0
349
+ }
350
+ }
351
+ }
352
+ }
353
+ },
354
+ "current_user": "fauxhai",
355
+ "domain": "local",
356
+ "etc": {
357
+ "passwd": {
358
+ "fauxhai": {
359
+ "dir": "/home/fauxhai",
360
+ "gid": 0,
361
+ "uid": 0,
362
+ "shell": "/bin/bash",
363
+ "gecos": "Fauxhai"
364
+ }
365
+ },
366
+ "group": {
367
+ "fauxhai": {
368
+ "gid": 0,
369
+ "members": [
370
+ "fauxhai"
371
+ ]
372
+ }
373
+ }
374
+ },
375
+ "hostname": "Fauxhai",
376
+ "fqdn": "fauxhai.local",
377
+ "ipaddress": "10.0.0.2",
378
+ "keys": {
379
+ "ssh": {
380
+ "host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
381
+ "host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
382
+ }
383
+ },
384
+ "macaddress": "11:11:11:11:11:11",
385
+ "network": {
386
+ "default_gateway": "10.0.0.1",
387
+ "default_interface": "eth0",
388
+ "eth0": {
389
+ "addresses": {
390
+ "10.0.0.2": {
391
+ "broadcast": "10.0.0.255",
392
+ "family": "inet",
393
+ "netmask": "255.255.255.0",
394
+ "prefixlen": "23",
395
+ "scope": "Global"
396
+ }
397
+ },
398
+ "arp": {
399
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
400
+ },
401
+ "encapsulation": "Ethernet",
402
+ "flags": [
403
+ "BROADCAST",
404
+ "MULTICAST",
405
+ "UP",
406
+ "LOWER_UP"
407
+ ],
408
+ "mtu": "1500",
409
+ "number": "0",
410
+ "routes": {
411
+ "10.0.0.0/255": {
412
+ "scope": "link",
413
+ "src": "10.0.0.2"
414
+ }
415
+ },
416
+ "state": "up",
417
+ "type": "eth"
418
+ }
419
+ },
420
+ "uptime": "30 days 15 hours 07 minutes 30 seconds",
421
+ "uptime_seconds": 2646450
422
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fauxhai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-27 00:00:00.000000000 Z
12
+ date: 2012-09-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef
@@ -27,6 +27,22 @@ dependencies:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: httparty
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
30
46
  - !ruby/object:Gem::Dependency
31
47
  name: net-ssh
32
48
  requirement: !ruby/object:Gem::Requirement
@@ -70,12 +86,15 @@ files:
70
86
  - lib/fauxhai/keys/id_rsa.pub
71
87
  - lib/fauxhai/mocker.rb
72
88
  - lib/fauxhai/platforms/centos/6.0.json
89
+ - lib/fauxhai/platforms/centos/6.3.json
73
90
  - lib/fauxhai/platforms/centos/default.json
74
91
  - lib/fauxhai/platforms/chefspec/0.6.1.json
75
92
  - lib/fauxhai/platforms/chefspec/default.json
93
+ - lib/fauxhai/platforms/mac_os_x/10.6.8.json
76
94
  - lib/fauxhai/platforms/mac_os_x/10.7.4.json
77
95
  - lib/fauxhai/platforms/mac_os_x/default.json
78
96
  - lib/fauxhai/platforms/ubuntu/10.04.json
97
+ - lib/fauxhai/platforms/ubuntu/12.04.json
79
98
  - lib/fauxhai/platforms/ubuntu/default.json
80
99
  - lib/fauxhai/runner.rb
81
100
  - tmp/.gitkeep