spiceweasel 2.6.0 → 2.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +6 -14
  2. data/README.md +33 -9
  3. data/bin/spiceweasel +3 -3
  4. data/lib/spiceweasel.rb +3 -2
  5. data/lib/spiceweasel/berksfile.rb +6 -10
  6. data/lib/spiceweasel/cli.rb +174 -129
  7. data/lib/spiceweasel/clusters.rb +31 -23
  8. data/lib/spiceweasel/command.rb +23 -5
  9. data/lib/spiceweasel/command_helper.rb +36 -2
  10. data/lib/spiceweasel/config.rb +4 -3
  11. data/lib/spiceweasel/cookbooks.rb +76 -57
  12. data/lib/spiceweasel/data_bags.rb +100 -64
  13. data/lib/spiceweasel/environments.rb +78 -56
  14. data/lib/spiceweasel/execute.rb +6 -7
  15. data/lib/spiceweasel/extract_local.rb +59 -46
  16. data/lib/spiceweasel/knife.rb +21 -20
  17. data/lib/spiceweasel/log.rb +5 -5
  18. data/lib/spiceweasel/nodes.rb +261 -193
  19. data/lib/spiceweasel/roles.rb +107 -76
  20. data/lib/spiceweasel/version.rb +5 -3
  21. data/test/chef-repo/Berksfile +4 -0
  22. data/test/chef-repo/Berksfile.lock +10 -0
  23. data/test/chef-repo/PASSWORD +1 -0
  24. data/test/chef-repo/cookbooks/abc/CHANGELOG.md +13 -0
  25. data/test/chef-repo/cookbooks/abc/README.md +68 -0
  26. data/test/chef-repo/cookbooks/abc/metadata.rb +7 -0
  27. data/test/chef-repo/cookbooks/abc/recipes/default.rb +8 -0
  28. data/test/chef-repo/cookbooks/def/CHANGELOG.md +13 -0
  29. data/test/chef-repo/cookbooks/def/README.md +68 -0
  30. data/test/chef-repo/cookbooks/def/metadata.rb +7 -0
  31. data/test/chef-repo/cookbooks/def/recipes/default.rb +8 -0
  32. data/test/chef-repo/cookbooks/fail1/README.md +68 -0
  33. data/test/chef-repo/cookbooks/fail1/metadata.rb +9 -0
  34. data/test/chef-repo/cookbooks/fail2/README.md +68 -0
  35. data/test/chef-repo/cookbooks/fail2/metadata.rb +9 -0
  36. data/test/chef-repo/cookbooks/fail3/README.md +68 -0
  37. data/test/chef-repo/cookbooks/fail3/metadata.rb +9 -0
  38. data/test/chef-repo/cookbooks/ghi/CHANGELOG.md +13 -0
  39. data/test/chef-repo/cookbooks/ghi/README.md +68 -0
  40. data/test/chef-repo/cookbooks/ghi/metadata.rb +7 -0
  41. data/test/chef-repo/cookbooks/ghi/recipes/default.rb +8 -0
  42. data/test/chef-repo/cookbooks/jkl/CHANGELOG.md +13 -0
  43. data/test/chef-repo/cookbooks/jkl/README.md +68 -0
  44. data/test/chef-repo/cookbooks/jkl/metadata.rb +10 -0
  45. data/test/chef-repo/cookbooks/jkl/recipes/default.rb +8 -0
  46. data/test/chef-repo/cookbooks/mno/CHANGELOG.md +13 -0
  47. data/test/chef-repo/cookbooks/mno/README.md +68 -0
  48. data/test/chef-repo/cookbooks/mno/metadata.rb +9 -0
  49. data/test/chef-repo/cookbooks/mno/recipes/default.rb +8 -0
  50. data/test/chef-repo/data_bags/junk/README +1 -0
  51. data/test/chef-repo/data_bags/junk/abc.json +4 -0
  52. data/test/chef-repo/data_bags/junk/ade.json +4 -0
  53. data/test/chef-repo/data_bags/junk/afg.json +4 -0
  54. data/test/chef-repo/data_bags/junk/bcd.json +4 -0
  55. data/test/chef-repo/data_bags/junk/sub1/cde1.json +4 -0
  56. data/test/chef-repo/data_bags/junk/sub1/cde2.json +4 -0
  57. data/test/chef-repo/data_bags/junk/sub2/def1.json +4 -0
  58. data/test/chef-repo/data_bags/junk/sub2/def2.json +4 -0
  59. data/test/chef-repo/data_bags/users/README +1 -0
  60. data/test/chef-repo/data_bags/users/badjson.json +8 -0
  61. data/test/chef-repo/data_bags/users/failname.json +8 -0
  62. data/test/chef-repo/data_bags/users/mray.json +8 -0
  63. data/test/chef-repo/data_bags/users/ubuntu.json +8 -0
  64. data/test/chef-repo/environments/development.rb +2 -0
  65. data/test/chef-repo/environments/fail2.rb +8 -0
  66. data/test/chef-repo/environments/fail3.rb +2 -0
  67. data/test/chef-repo/environments/production-blue.json +177 -0
  68. data/test/chef-repo/environments/production-green.json +177 -0
  69. data/test/chef-repo/environments/production-red.json +177 -0
  70. data/test/chef-repo/environments/qa.rb +2 -0
  71. data/test/chef-repo/environments/sub/efg1.rb +2 -0
  72. data/test/chef-repo/environments/sub/efg2.json +177 -0
  73. data/test/chef-repo/fail-cookbook1.yml +19 -0
  74. data/test/chef-repo/fail-cookbook2.yml +21 -0
  75. data/test/chef-repo/fail-cookbook3.yml +37 -0
  76. data/test/chef-repo/fail-cookbook4.yml +37 -0
  77. data/test/chef-repo/fail-cookbook5.yml +10 -0
  78. data/test/chef-repo/fail-cookbook6.yml +9 -0
  79. data/test/chef-repo/fail-db1.yml +12 -0
  80. data/test/chef-repo/fail-db2.yml +10 -0
  81. data/test/chef-repo/fail-db3.yml +10 -0
  82. data/test/chef-repo/fail-db4.yml +10 -0
  83. data/test/chef-repo/fail-env1.yml +27 -0
  84. data/test/chef-repo/fail-env2.yml +27 -0
  85. data/test/chef-repo/fail-env3.yml +28 -0
  86. data/test/chef-repo/fail-env4.yml +28 -0
  87. data/test/chef-repo/fail-roles1.yml +22 -0
  88. data/test/chef-repo/fail-roles2.yml +21 -0
  89. data/test/chef-repo/fail-roles3.yml +23 -0
  90. data/test/chef-repo/fail-roles4.yml +23 -0
  91. data/test/chef-repo/fail-roles5.yml +23 -0
  92. data/test/chef-repo/infrastructure.yml +43 -0
  93. data/test/chef-repo/nodes/boxy.lab.atx.json +1756 -0
  94. data/test/chef-repo/nodes/guenter.home.atx.json +2503 -0
  95. data/test/chef-repo/roles/README +1 -0
  96. data/test/chef-repo/roles/base.rb +18 -0
  97. data/test/chef-repo/roles/base2.rb +16 -0
  98. data/test/chef-repo/roles/base3.rb +17 -0
  99. data/test/chef-repo/roles/base4.rb +15 -0
  100. data/test/chef-repo/roles/fail1.rb +8 -0
  101. data/test/chef-repo/roles/fail2.rb +5 -0
  102. data/test/chef-repo/roles/fail3.rb +5 -0
  103. data/test/chef-repo/roles/sub/bw2.json +21 -0
  104. data/test/chef-repo/roles/sub/bwi1.json +20 -0
  105. data/test/chef-repo/roles/tc.rb +13 -0
  106. data/test/examples/cluster-file-example.yml +14 -0
  107. data/test/examples/example-cluster.yml +8 -0
  108. data/test/examples/example.json +127 -0
  109. data/test/examples/example.rb +128 -0
  110. data/test/examples/example.yml +67 -0
  111. data/test/examples/google-example.yml +33 -0
  112. data/test/examples/joyent-vsphere-example.yml +15 -0
  113. data/test/examples/knife.yml +7 -0
  114. data/test/examples/kvm-example.yml +22 -0
  115. data/test/examples/node-example.yml +23 -0
  116. data/test/examples/php-quick-start.yml +83 -0
  117. data/test/extract-repo/Berksfile +4 -0
  118. data/test/extract-repo/Berksfile.lock +10 -0
  119. data/test/extract-repo/cookbooks/abc/CHANGELOG.md +13 -0
  120. data/test/extract-repo/cookbooks/abc/README.md +68 -0
  121. data/test/extract-repo/cookbooks/abc/metadata.rb +7 -0
  122. data/test/extract-repo/cookbooks/abc/recipes/default.rb +8 -0
  123. data/test/extract-repo/cookbooks/def/CHANGELOG.md +13 -0
  124. data/test/extract-repo/cookbooks/def/README.md +68 -0
  125. data/test/extract-repo/cookbooks/def/metadata.rb +7 -0
  126. data/test/extract-repo/cookbooks/def/recipes/default.rb +8 -0
  127. data/test/extract-repo/cookbooks/ghi/CHANGELOG.md +13 -0
  128. data/test/extract-repo/cookbooks/ghi/README.md +68 -0
  129. data/test/extract-repo/cookbooks/ghi/metadata.rb +7 -0
  130. data/test/extract-repo/cookbooks/ghi/recipes/default.rb +8 -0
  131. data/test/extract-repo/cookbooks/jkl/CHANGELOG.md +13 -0
  132. data/test/extract-repo/cookbooks/jkl/README.md +68 -0
  133. data/test/extract-repo/cookbooks/jkl/metadata.rb +10 -0
  134. data/test/extract-repo/cookbooks/jkl/recipes/default.rb +8 -0
  135. data/test/extract-repo/cookbooks/mno/CHANGELOG.md +13 -0
  136. data/test/extract-repo/cookbooks/mno/README.md +68 -0
  137. data/test/extract-repo/cookbooks/mno/metadata.rb +9 -0
  138. data/test/extract-repo/cookbooks/mno/recipes/default.rb +8 -0
  139. data/test/extract-repo/data_bags/junk/README +1 -0
  140. data/test/extract-repo/data_bags/junk/abc.json +4 -0
  141. data/test/extract-repo/data_bags/junk/ade.json +4 -0
  142. data/test/extract-repo/data_bags/junk/afg.json +4 -0
  143. data/test/extract-repo/data_bags/junk/bcd.json +4 -0
  144. data/test/extract-repo/data_bags/junk/sub1/cde1.json +4 -0
  145. data/test/extract-repo/data_bags/junk/sub1/cde2.json +4 -0
  146. data/test/extract-repo/data_bags/junk/sub2/def1.json +4 -0
  147. data/test/extract-repo/data_bags/junk/sub2/def2.json +4 -0
  148. data/test/extract-repo/data_bags/users/README +1 -0
  149. data/test/extract-repo/data_bags/users/mray.json +8 -0
  150. data/test/extract-repo/data_bags/users/ubuntu.json +8 -0
  151. data/test/extract-repo/environments/development.rb +2 -0
  152. data/test/extract-repo/environments/production-blue.json +177 -0
  153. data/test/extract-repo/environments/production-green.json +177 -0
  154. data/test/extract-repo/environments/production-red.json +177 -0
  155. data/test/extract-repo/environments/qa.rb +2 -0
  156. data/test/extract-repo/environments/sub/efg1.rb +2 -0
  157. data/test/extract-repo/environments/sub/efg2.json +177 -0
  158. data/test/extract-repo/nodes/boxy.lab.atx.json +1756 -0
  159. data/test/extract-repo/nodes/guenter.home.atx.json +2503 -0
  160. data/test/extract-repo/roles/README +1 -0
  161. data/test/extract-repo/roles/base.rb +18 -0
  162. data/test/extract-repo/roles/base2.rb +16 -0
  163. data/test/extract-repo/roles/base3.rb +17 -0
  164. data/test/extract-repo/roles/base4.rb +16 -0
  165. data/test/extract-repo/roles/sub/bw2.json +21 -0
  166. data/test/extract-repo/roles/sub/bwi1.json +20 -0
  167. data/test/extract-repo/roles/tc.rb +13 -0
  168. data/test/extract-repo2/cookbooks/README.md +1 -0
  169. data/test/extract-repo2/data_bags/README.md +1 -0
  170. data/test/extract-repo2/environments/README.md +1 -0
  171. data/test/extract-repo2/nodes/README.md +1 -0
  172. data/test/extract-repo2/roles/README.md +1 -0
  173. metadata +357 -67
  174. data/spec/bin/chef_client_spec.rb +0 -72
  175. data/spec/bin/google_spec.rb +0 -105
  176. data/spec/bin/joyent-vsphere_spec.rb +0 -25
  177. data/spec/bin/knife_spec.rb +0 -18
  178. data/spec/bin/kvm_spec.rb +0 -29
  179. data/spec/bin/node_spec.rb +0 -108
  180. data/spec/bin/spiceweasel_spec.rb +0 -136
@@ -0,0 +1,1756 @@
1
+ {
2
+ "name": "boxy.lab.atx",
3
+ "chef_environment": "lab",
4
+ "run_list": [
5
+ "role[lab-base]"
6
+ ],
7
+ "normal": {
8
+ "tags": [
9
+
10
+ ]
11
+ },
12
+ "default": {
13
+ "apt": {
14
+ "cacher-client": {
15
+ "restrict_environment": false
16
+ },
17
+ "cacher_dir": "/var/cache/apt-cacher-ng",
18
+ "cacher_port": 3142,
19
+ "caching_server": false,
20
+ "compiletime": false,
21
+ "key_proxy": ""
22
+ },
23
+ "ntp": {
24
+ "servers": [
25
+ "0.pool.ntp.org",
26
+ "1.pool.ntp.org",
27
+ "2.pool.ntp.org",
28
+ "3.pool.ntp.org"
29
+ ],
30
+ "peers": [
31
+
32
+ ],
33
+ "restrictions": [
34
+
35
+ ],
36
+ "packages": [
37
+ "ntp",
38
+ "ntpdate"
39
+ ],
40
+ "service": "ntp",
41
+ "varlibdir": "/var/lib/ntp",
42
+ "driftfile": "/var/lib/ntp/ntp.drift",
43
+ "conffile": "/etc/ntp.conf",
44
+ "statsdir": "/var/log/ntpstats/",
45
+ "conf_owner": "root",
46
+ "conf_group": "root",
47
+ "var_owner": "ntp",
48
+ "var_group": "ntp",
49
+ "leapfile": "/etc/ntp.leapseconds",
50
+ "ntpdate": {
51
+ "disable": false
52
+ }
53
+ },
54
+ "openssh": {
55
+ "package_name": [
56
+ "openssh-client",
57
+ "openssh-server"
58
+ ],
59
+ "service_name": "ssh",
60
+ "client": {
61
+ "host": "*"
62
+ },
63
+ "server": {
64
+ "authorized_keys_file": "%h/.ssh/authorized_keys",
65
+ "challenge_response_authentication": "no",
66
+ "use_p_a_m": "yes"
67
+ }
68
+ },
69
+ "authorization": {
70
+ "sudo": {
71
+ "groups": [
72
+
73
+ ],
74
+ "users": [
75
+
76
+ ],
77
+ "passwordless": false,
78
+ "include_sudoers_d": false,
79
+ "agent_forwarding": false,
80
+ "sudoers_defaults": [
81
+ "!lecture,tty_tickets,!fqdn"
82
+ ],
83
+ "prefix": "/etc"
84
+ }
85
+ },
86
+ "chef_client": {
87
+ "config": {
88
+ "chef_server_url": "https://api.opscode.com/organizations/os-testing",
89
+ "validation_client_name": "os-testing-validator",
90
+ "node_name": false
91
+ },
92
+ "log_file": null,
93
+ "interval": "1800",
94
+ "splay": "300",
95
+ "conf_dir": "/etc/chef",
96
+ "bin": "/usr/bin/chef-client",
97
+ "log_dir": "/var/log/chef",
98
+ "cron": {
99
+ "minute": "0",
100
+ "hour": "*/4",
101
+ "path": null,
102
+ "environment_variables": null,
103
+ "log_file": "/dev/null",
104
+ "use_cron_d": false
105
+ },
106
+ "load_gems": {
107
+ },
108
+ "daemon_options": [
109
+
110
+ ],
111
+ "init_style": "init",
112
+ "run_path": "/var/run/chef",
113
+ "cache_path": "/var/cache/chef",
114
+ "backup_path": "/var/lib/chef"
115
+ },
116
+ "ohai": {
117
+ "disabled_plugins": [
118
+
119
+ ]
120
+ }
121
+ },
122
+ "override": {
123
+ "apt": {
124
+ "cacher-client": {
125
+ "restrict_environment": true
126
+ }
127
+ },
128
+ "pxe_dust": {
129
+ "chefversion": "11.6.0"
130
+ },
131
+ "authorization": {
132
+ "sudo": {
133
+ "groups": [
134
+ "admin",
135
+ "wheel",
136
+ "sysadmin"
137
+ ],
138
+ "users": [
139
+ "mray"
140
+ ],
141
+ "passwordless": true,
142
+ "include_sudoers_d": true
143
+ }
144
+ }
145
+ },
146
+ "automatic": {
147
+ "languages": {
148
+ "ruby": {
149
+ "platform": "x86_64-linux",
150
+ "version": "1.9.3",
151
+ "release_date": "2013-05-15",
152
+ "target": "x86_64-unknown-linux-gnu",
153
+ "target_cpu": "x86_64",
154
+ "target_vendor": "unknown",
155
+ "target_os": "linux",
156
+ "host": "x86_64-unknown-linux-gnu",
157
+ "host_cpu": "x86_64",
158
+ "host_os": "linux-gnu",
159
+ "host_vendor": "unknown",
160
+ "bin_dir": "/opt/chef/embedded/bin",
161
+ "ruby_bin": "/opt/chef/embedded/bin/ruby",
162
+ "gems_dir": "/opt/chef/embedded/lib/ruby/gems/1.9.1",
163
+ "gem_bin": "/opt/chef/embedded/bin/gem"
164
+ },
165
+ "perl": {
166
+ "version": "5.14.2",
167
+ "archname": "x86_64-linux-gnu-thread-multi"
168
+ },
169
+ "python": {
170
+ "version": "2.7.3",
171
+ "builddate": "Apr 10 2013, 06:20:15"
172
+ }
173
+ },
174
+ "kernel": {
175
+ "name": "Linux",
176
+ "release": "3.2.0-52-generic",
177
+ "version": "#78-Ubuntu SMP Fri Jul 26 16:21:44 UTC 2013",
178
+ "machine": "x86_64",
179
+ "modules": {
180
+ "nouveau": {
181
+ "size": "775039",
182
+ "refcount": "1"
183
+ },
184
+ "ext2": {
185
+ "size": "73795",
186
+ "refcount": "1"
187
+ },
188
+ "ppdev": {
189
+ "size": "17113",
190
+ "refcount": "0"
191
+ },
192
+ "ttm": {
193
+ "size": "76949",
194
+ "refcount": "1"
195
+ },
196
+ "drm_kms_helper": {
197
+ "size": "46978",
198
+ "refcount": "1"
199
+ },
200
+ "drm": {
201
+ "size": "241971",
202
+ "refcount": "3"
203
+ },
204
+ "i2c_algo_bit": {
205
+ "size": "13423",
206
+ "refcount": "1"
207
+ },
208
+ "mxm_wmi": {
209
+ "size": "13021",
210
+ "refcount": "1"
211
+ },
212
+ "wmi": {
213
+ "size": "19256",
214
+ "refcount": "1"
215
+ },
216
+ "snd_intel8x0": {
217
+ "size": "38570",
218
+ "refcount": "0"
219
+ },
220
+ "video": {
221
+ "size": "19651",
222
+ "refcount": "1"
223
+ },
224
+ "edac_core": {
225
+ "size": "53746",
226
+ "refcount": "0"
227
+ },
228
+ "snd_ac97_codec": {
229
+ "size": "134869",
230
+ "refcount": "1"
231
+ },
232
+ "ac97_bus": {
233
+ "size": "12730",
234
+ "refcount": "1"
235
+ },
236
+ "snd_pcm": {
237
+ "size": "97275",
238
+ "refcount": "2"
239
+ },
240
+ "serio_raw": {
241
+ "size": "13211",
242
+ "refcount": "0"
243
+ },
244
+ "k8temp": {
245
+ "size": "13057",
246
+ "refcount": "0"
247
+ },
248
+ "edac_mce_amd": {
249
+ "size": "23709",
250
+ "refcount": "0"
251
+ },
252
+ "shpchp": {
253
+ "size": "37201",
254
+ "refcount": "0"
255
+ },
256
+ "snd_timer": {
257
+ "size": "29990",
258
+ "refcount": "1"
259
+ },
260
+ "snd": {
261
+ "size": "79041",
262
+ "refcount": "4"
263
+ },
264
+ "soundcore": {
265
+ "size": "15091",
266
+ "refcount": "1"
267
+ },
268
+ "snd_page_alloc": {
269
+ "size": "18529",
270
+ "refcount": "2"
271
+ },
272
+ "parport_pc": {
273
+ "size": "32866",
274
+ "refcount": "1"
275
+ },
276
+ "i2c_nforce2": {
277
+ "size": "13058",
278
+ "refcount": "0"
279
+ },
280
+ "mac_hid": {
281
+ "size": "13253",
282
+ "refcount": "0"
283
+ },
284
+ "lp": {
285
+ "size": "17799",
286
+ "refcount": "0"
287
+ },
288
+ "parport": {
289
+ "size": "46562",
290
+ "refcount": "3"
291
+ },
292
+ "usbhid": {
293
+ "size": "47238",
294
+ "refcount": "0"
295
+ },
296
+ "hid": {
297
+ "size": "99636",
298
+ "refcount": "1"
299
+ },
300
+ "firewire_ohci": {
301
+ "size": "41000",
302
+ "refcount": "0"
303
+ },
304
+ "r8169": {
305
+ "size": "62190",
306
+ "refcount": "0"
307
+ },
308
+ "firewire_core": {
309
+ "size": "63600",
310
+ "refcount": "1"
311
+ },
312
+ "crc_itu_t": {
313
+ "size": "12707",
314
+ "refcount": "1"
315
+ },
316
+ "floppy": {
317
+ "size": "70207",
318
+ "refcount": "0"
319
+ },
320
+ "sata_nv": {
321
+ "size": "32286",
322
+ "refcount": "2"
323
+ },
324
+ "pata_amd": {
325
+ "size": "14118",
326
+ "refcount": "0"
327
+ },
328
+ "forcedeth": {
329
+ "size": "63460",
330
+ "refcount": "0"
331
+ }
332
+ },
333
+ "os": "GNU/Linux"
334
+ },
335
+ "os": "linux",
336
+ "os_version": "3.2.0-52-generic",
337
+ "network": {
338
+ "interfaces": {
339
+ "lo": {
340
+ "mtu": "16436",
341
+ "flags": [
342
+ "LOOPBACK",
343
+ "UP",
344
+ "LOWER_UP"
345
+ ],
346
+ "encapsulation": "Loopback",
347
+ "addresses": {
348
+ "127.0.0.1": {
349
+ "family": "inet",
350
+ "prefixlen": "8",
351
+ "netmask": "255.0.0.0",
352
+ "scope": "Node"
353
+ },
354
+ "::1": {
355
+ "family": "inet6",
356
+ "prefixlen": "128",
357
+ "scope": "Node"
358
+ }
359
+ },
360
+ "state": "unknown"
361
+ },
362
+ "eth1": {
363
+ "type": "eth",
364
+ "number": "1",
365
+ "mtu": "1500",
366
+ "flags": [
367
+ "BROADCAST",
368
+ "MULTICAST",
369
+ "UP",
370
+ "LOWER_UP"
371
+ ],
372
+ "encapsulation": "Ethernet",
373
+ "addresses": {
374
+ "00:14:D1:20:6E:8D": {
375
+ "family": "lladdr"
376
+ },
377
+ "10.1.0.2": {
378
+ "family": "inet",
379
+ "prefixlen": "24",
380
+ "netmask": "255.255.255.0",
381
+ "broadcast": "10.1.0.255",
382
+ "scope": "Global"
383
+ },
384
+ "fe80::214:d1ff:fe20:6e8d": {
385
+ "family": "inet6",
386
+ "prefixlen": "64",
387
+ "scope": "Link"
388
+ }
389
+ },
390
+ "state": "up",
391
+ "routes": [
392
+ {
393
+ "destination": "10.1.0.0/24",
394
+ "family": "inet",
395
+ "scope": "link",
396
+ "proto": "kernel",
397
+ "src": "10.1.0.2"
398
+ },
399
+ {
400
+ "destination": "fe80::/64",
401
+ "family": "inet6",
402
+ "metric": "256",
403
+ "proto": "kernel"
404
+ }
405
+ ]
406
+ },
407
+ "eth0": {
408
+ "type": "eth",
409
+ "number": "0",
410
+ "mtu": "1500",
411
+ "flags": [
412
+ "BROADCAST",
413
+ "MULTICAST",
414
+ "UP",
415
+ "LOWER_UP"
416
+ ],
417
+ "encapsulation": "Ethernet",
418
+ "addresses": {
419
+ "00:30:1B:BA:88:4E": {
420
+ "family": "lladdr"
421
+ },
422
+ "10.0.0.10": {
423
+ "family": "inet",
424
+ "prefixlen": "24",
425
+ "netmask": "255.255.255.0",
426
+ "broadcast": "10.0.0.255",
427
+ "scope": "Global"
428
+ },
429
+ "fe80::230:1bff:feba:884e": {
430
+ "family": "inet6",
431
+ "prefixlen": "64",
432
+ "scope": "Link"
433
+ }
434
+ },
435
+ "state": "up",
436
+ "arp": {
437
+ "10.0.0.2": "00:16:41:14:50:f5",
438
+ "10.0.0.58": "c8:bc:c8:e3:8b:ac",
439
+ "10.0.0.1": "14:d6:4d:2b:89:38"
440
+ },
441
+ "routes": [
442
+ {
443
+ "destination": "default",
444
+ "family": "inet",
445
+ "via": "10.0.0.1",
446
+ "metric": "100"
447
+ },
448
+ {
449
+ "destination": "10.0.0.0/24",
450
+ "family": "inet",
451
+ "scope": "link",
452
+ "proto": "kernel",
453
+ "src": "10.0.0.10"
454
+ },
455
+ {
456
+ "destination": "fe80::/64",
457
+ "family": "inet6",
458
+ "metric": "256",
459
+ "proto": "kernel"
460
+ }
461
+ ]
462
+ }
463
+ },
464
+ "default_interface": "eth0",
465
+ "default_gateway": "10.0.0.1"
466
+ },
467
+ "counters": {
468
+ "network": {
469
+ "interfaces": {
470
+ "lo": {
471
+ "rx": {
472
+ "bytes": "0",
473
+ "packets": "0",
474
+ "errors": "0",
475
+ "drop": "0",
476
+ "overrun": "0"
477
+ },
478
+ "tx": {
479
+ "bytes": "0",
480
+ "packets": "0",
481
+ "errors": "0",
482
+ "drop": "0",
483
+ "carrier": "0",
484
+ "collisions": "0"
485
+ }
486
+ },
487
+ "eth1": {
488
+ "tx": {
489
+ "queuelen": "1000",
490
+ "bytes": "1152",
491
+ "packets": "8",
492
+ "errors": "0",
493
+ "drop": "0",
494
+ "carrier": "0",
495
+ "collisions": "0"
496
+ },
497
+ "rx": {
498
+ "bytes": "1180",
499
+ "packets": "2",
500
+ "errors": "0",
501
+ "drop": "0",
502
+ "overrun": "0"
503
+ }
504
+ },
505
+ "eth0": {
506
+ "tx": {
507
+ "queuelen": "1000",
508
+ "bytes": "127649",
509
+ "packets": "1338",
510
+ "errors": "0",
511
+ "drop": "0",
512
+ "carrier": "0",
513
+ "collisions": "0"
514
+ },
515
+ "rx": {
516
+ "bytes": "2611549",
517
+ "packets": "2163",
518
+ "errors": "0",
519
+ "drop": "0",
520
+ "overrun": "0"
521
+ }
522
+ }
523
+ }
524
+ }
525
+ },
526
+ "hostname": "boxy",
527
+ "fqdn": "boxy.lab.atx",
528
+ "domain": "lab.atx",
529
+ "ipaddress": "10.0.0.10",
530
+ "macaddress": "00:30:1B:BA:88:4E",
531
+ "ip6address": "fe80::214:d1ff:fe20:6e8d",
532
+ "command": {
533
+ "ps": "ps -ef"
534
+ },
535
+ "chef_packages": {
536
+ "ohai": {
537
+ "version": "6.18.0",
538
+ "ohai_root": "/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/ohai-6.18.0/lib/ohai"
539
+ },
540
+ "chef": {
541
+ "version": "11.6.0",
542
+ "chef_root": "/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib"
543
+ }
544
+ },
545
+ "root_group": "root",
546
+ "etc": {
547
+ "passwd": {
548
+ "root": {
549
+ "dir": "/root",
550
+ "gid": 0,
551
+ "uid": 0,
552
+ "shell": "/bin/bash",
553
+ "gecos": "root"
554
+ },
555
+ "daemon": {
556
+ "dir": "/usr/sbin",
557
+ "gid": 1,
558
+ "uid": 1,
559
+ "shell": "/bin/sh",
560
+ "gecos": "daemon"
561
+ },
562
+ "bin": {
563
+ "dir": "/bin",
564
+ "gid": 2,
565
+ "uid": 2,
566
+ "shell": "/bin/sh",
567
+ "gecos": "bin"
568
+ },
569
+ "sys": {
570
+ "dir": "/dev",
571
+ "gid": 3,
572
+ "uid": 3,
573
+ "shell": "/bin/sh",
574
+ "gecos": "sys"
575
+ },
576
+ "sync": {
577
+ "dir": "/bin",
578
+ "gid": 65534,
579
+ "uid": 4,
580
+ "shell": "/bin/sync",
581
+ "gecos": "sync"
582
+ },
583
+ "games": {
584
+ "dir": "/usr/games",
585
+ "gid": 60,
586
+ "uid": 5,
587
+ "shell": "/bin/sh",
588
+ "gecos": "games"
589
+ },
590
+ "man": {
591
+ "dir": "/var/cache/man",
592
+ "gid": 12,
593
+ "uid": 6,
594
+ "shell": "/bin/sh",
595
+ "gecos": "man"
596
+ },
597
+ "lp": {
598
+ "dir": "/var/spool/lpd",
599
+ "gid": 7,
600
+ "uid": 7,
601
+ "shell": "/bin/sh",
602
+ "gecos": "lp"
603
+ },
604
+ "mail": {
605
+ "dir": "/var/mail",
606
+ "gid": 8,
607
+ "uid": 8,
608
+ "shell": "/bin/sh",
609
+ "gecos": "mail"
610
+ },
611
+ "news": {
612
+ "dir": "/var/spool/news",
613
+ "gid": 9,
614
+ "uid": 9,
615
+ "shell": "/bin/sh",
616
+ "gecos": "news"
617
+ },
618
+ "uucp": {
619
+ "dir": "/var/spool/uucp",
620
+ "gid": 10,
621
+ "uid": 10,
622
+ "shell": "/bin/sh",
623
+ "gecos": "uucp"
624
+ },
625
+ "proxy": {
626
+ "dir": "/bin",
627
+ "gid": 13,
628
+ "uid": 13,
629
+ "shell": "/bin/sh",
630
+ "gecos": "proxy"
631
+ },
632
+ "www-data": {
633
+ "dir": "/var/www",
634
+ "gid": 33,
635
+ "uid": 33,
636
+ "shell": "/bin/sh",
637
+ "gecos": "www-data"
638
+ },
639
+ "backup": {
640
+ "dir": "/var/backups",
641
+ "gid": 34,
642
+ "uid": 34,
643
+ "shell": "/bin/sh",
644
+ "gecos": "backup"
645
+ },
646
+ "list": {
647
+ "dir": "/var/list",
648
+ "gid": 38,
649
+ "uid": 38,
650
+ "shell": "/bin/sh",
651
+ "gecos": "Mailing List Manager"
652
+ },
653
+ "irc": {
654
+ "dir": "/var/run/ircd",
655
+ "gid": 39,
656
+ "uid": 39,
657
+ "shell": "/bin/sh",
658
+ "gecos": "ircd"
659
+ },
660
+ "gnats": {
661
+ "dir": "/var/lib/gnats",
662
+ "gid": 41,
663
+ "uid": 41,
664
+ "shell": "/bin/sh",
665
+ "gecos": "Gnats Bug-Reporting System (admin)"
666
+ },
667
+ "nobody": {
668
+ "dir": "/nonexistent",
669
+ "gid": 65534,
670
+ "uid": 65534,
671
+ "shell": "/bin/sh",
672
+ "gecos": "nobody"
673
+ },
674
+ "libuuid": {
675
+ "dir": "/var/lib/libuuid",
676
+ "gid": 101,
677
+ "uid": 100,
678
+ "shell": "/bin/sh",
679
+ "gecos": ""
680
+ },
681
+ "syslog": {
682
+ "dir": "/home/syslog",
683
+ "gid": 103,
684
+ "uid": 101,
685
+ "shell": "/bin/false",
686
+ "gecos": ""
687
+ },
688
+ "messagebus": {
689
+ "dir": "/var/run/dbus",
690
+ "gid": 105,
691
+ "uid": 102,
692
+ "shell": "/bin/false",
693
+ "gecos": ""
694
+ },
695
+ "ntp": {
696
+ "dir": "/home/ntp",
697
+ "gid": 108,
698
+ "uid": 103,
699
+ "shell": "/bin/false",
700
+ "gecos": ""
701
+ },
702
+ "sshd": {
703
+ "dir": "/var/run/sshd",
704
+ "gid": 65534,
705
+ "uid": 104,
706
+ "shell": "/usr/sbin/nologin",
707
+ "gecos": ""
708
+ },
709
+ "ubuntu": {
710
+ "dir": "/home/ubuntu",
711
+ "gid": 1000,
712
+ "uid": 1000,
713
+ "shell": "/bin/bash",
714
+ "gecos": "Ubuntu,,,"
715
+ }
716
+ },
717
+ "group": {
718
+ "root": {
719
+ "gid": 0,
720
+ "members": [
721
+
722
+ ]
723
+ },
724
+ "daemon": {
725
+ "gid": 1,
726
+ "members": [
727
+
728
+ ]
729
+ },
730
+ "bin": {
731
+ "gid": 2,
732
+ "members": [
733
+
734
+ ]
735
+ },
736
+ "sys": {
737
+ "gid": 3,
738
+ "members": [
739
+
740
+ ]
741
+ },
742
+ "adm": {
743
+ "gid": 4,
744
+ "members": [
745
+ "ubuntu"
746
+ ]
747
+ },
748
+ "tty": {
749
+ "gid": 5,
750
+ "members": [
751
+
752
+ ]
753
+ },
754
+ "disk": {
755
+ "gid": 6,
756
+ "members": [
757
+
758
+ ]
759
+ },
760
+ "lp": {
761
+ "gid": 7,
762
+ "members": [
763
+
764
+ ]
765
+ },
766
+ "mail": {
767
+ "gid": 8,
768
+ "members": [
769
+
770
+ ]
771
+ },
772
+ "news": {
773
+ "gid": 9,
774
+ "members": [
775
+
776
+ ]
777
+ },
778
+ "uucp": {
779
+ "gid": 10,
780
+ "members": [
781
+
782
+ ]
783
+ },
784
+ "man": {
785
+ "gid": 12,
786
+ "members": [
787
+
788
+ ]
789
+ },
790
+ "proxy": {
791
+ "gid": 13,
792
+ "members": [
793
+
794
+ ]
795
+ },
796
+ "kmem": {
797
+ "gid": 15,
798
+ "members": [
799
+
800
+ ]
801
+ },
802
+ "dialout": {
803
+ "gid": 20,
804
+ "members": [
805
+
806
+ ]
807
+ },
808
+ "fax": {
809
+ "gid": 21,
810
+ "members": [
811
+
812
+ ]
813
+ },
814
+ "voice": {
815
+ "gid": 22,
816
+ "members": [
817
+
818
+ ]
819
+ },
820
+ "cdrom": {
821
+ "gid": 24,
822
+ "members": [
823
+ "ubuntu"
824
+ ]
825
+ },
826
+ "floppy": {
827
+ "gid": 25,
828
+ "members": [
829
+
830
+ ]
831
+ },
832
+ "tape": {
833
+ "gid": 26,
834
+ "members": [
835
+
836
+ ]
837
+ },
838
+ "sudo": {
839
+ "gid": 27,
840
+ "members": [
841
+ "ubuntu"
842
+ ]
843
+ },
844
+ "audio": {
845
+ "gid": 29,
846
+ "members": [
847
+
848
+ ]
849
+ },
850
+ "dip": {
851
+ "gid": 30,
852
+ "members": [
853
+ "ubuntu"
854
+ ]
855
+ },
856
+ "www-data": {
857
+ "gid": 33,
858
+ "members": [
859
+
860
+ ]
861
+ },
862
+ "backup": {
863
+ "gid": 34,
864
+ "members": [
865
+
866
+ ]
867
+ },
868
+ "operator": {
869
+ "gid": 37,
870
+ "members": [
871
+
872
+ ]
873
+ },
874
+ "list": {
875
+ "gid": 38,
876
+ "members": [
877
+
878
+ ]
879
+ },
880
+ "irc": {
881
+ "gid": 39,
882
+ "members": [
883
+
884
+ ]
885
+ },
886
+ "src": {
887
+ "gid": 40,
888
+ "members": [
889
+
890
+ ]
891
+ },
892
+ "gnats": {
893
+ "gid": 41,
894
+ "members": [
895
+
896
+ ]
897
+ },
898
+ "shadow": {
899
+ "gid": 42,
900
+ "members": [
901
+
902
+ ]
903
+ },
904
+ "utmp": {
905
+ "gid": 43,
906
+ "members": [
907
+
908
+ ]
909
+ },
910
+ "video": {
911
+ "gid": 44,
912
+ "members": [
913
+
914
+ ]
915
+ },
916
+ "sasl": {
917
+ "gid": 45,
918
+ "members": [
919
+
920
+ ]
921
+ },
922
+ "plugdev": {
923
+ "gid": 46,
924
+ "members": [
925
+ "ubuntu"
926
+ ]
927
+ },
928
+ "staff": {
929
+ "gid": 50,
930
+ "members": [
931
+
932
+ ]
933
+ },
934
+ "games": {
935
+ "gid": 60,
936
+ "members": [
937
+
938
+ ]
939
+ },
940
+ "users": {
941
+ "gid": 100,
942
+ "members": [
943
+
944
+ ]
945
+ },
946
+ "nogroup": {
947
+ "gid": 65534,
948
+ "members": [
949
+
950
+ ]
951
+ },
952
+ "libuuid": {
953
+ "gid": 101,
954
+ "members": [
955
+
956
+ ]
957
+ },
958
+ "crontab": {
959
+ "gid": 102,
960
+ "members": [
961
+
962
+ ]
963
+ },
964
+ "syslog": {
965
+ "gid": 103,
966
+ "members": [
967
+
968
+ ]
969
+ },
970
+ "fuse": {
971
+ "gid": 104,
972
+ "members": [
973
+
974
+ ]
975
+ },
976
+ "messagebus": {
977
+ "gid": 105,
978
+ "members": [
979
+
980
+ ]
981
+ },
982
+ "mlocate": {
983
+ "gid": 106,
984
+ "members": [
985
+
986
+ ]
987
+ },
988
+ "ssh": {
989
+ "gid": 107,
990
+ "members": [
991
+
992
+ ]
993
+ },
994
+ "ntp": {
995
+ "gid": 108,
996
+ "members": [
997
+
998
+ ]
999
+ },
1000
+ "ubuntu": {
1001
+ "gid": 1000,
1002
+ "members": [
1003
+
1004
+ ]
1005
+ },
1006
+ "lpadmin": {
1007
+ "gid": 109,
1008
+ "members": [
1009
+ "ubuntu"
1010
+ ]
1011
+ },
1012
+ "sambashare": {
1013
+ "gid": 110,
1014
+ "members": [
1015
+ "ubuntu"
1016
+ ]
1017
+ }
1018
+ }
1019
+ },
1020
+ "current_user": "ubuntu",
1021
+ "lsb": {
1022
+ "id": "Ubuntu",
1023
+ "release": "12.04",
1024
+ "codename": "precise",
1025
+ "description": "Ubuntu 12.04.3 LTS"
1026
+ },
1027
+ "platform": "ubuntu",
1028
+ "platform_version": "12.04",
1029
+ "platform_family": "debian",
1030
+ "keys": {
1031
+ "ssh": {
1032
+ "host_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQCqHj763CACRe4HdP+qMswBDv4rLZI9hftDVYCSL30b9mOssZqEJCKHCksJzVJmOIIKkivqiVXzWLzt59/VKHofxsSaK3O7xww3DSsad3dAmJulYi1TWowphhNXHhI6xNsX6M/vZcLXzpS5IuiEF1Tku3Mn1I9ZAyBlT2eHc/X3l2GYXwWCJRy01ahVThikhvh1vIxml1mZ0GFnhOSr5NLFpjRBKiT/G06nN4odDFlx9Q53ykO1Z90IGrGzrEq1IU6DK0KlyAfwI0keE4eduS4ruXtieMdcBUn0oNuZDhdRG+yieA1st5jZ4D40R0hn2zxnCYZ4jvNkL9dNMNg1MzpL",
1033
+ "host_dsa_public": "AAAAB3NzaC1kc3MAAACBAJR/bU9wa9nhmC/bo154970de4yf5u2p3A9cRaVVDdM39OVi76W6l0LfzZq6T3/Mbx4ImZfZCrA87JP1YsxXTW9rhyM98W24Os3KUdnNW91zOPlcQWWTE1pxGzrJ9QjbMzkK52pPY5+6cwGBv4FiRmvcJqIQaSD9I7FFjrdYfxX5AAAAFQDwi7rAhCs35E/sgIp14xQD7pZarwAAAIBku9bF0YLx+3gHM2q7Q/DwBi3dnz2+4InGlmkOA8jqk256F6N9Sut5fcVNcA9V8cGWmErNE/KW9CSewTDnlxUz5ebEw0cA6WX+EotXFDYx84ez4NNyHCmW2f+ZtCtT59DfvdX/t2a046wo8OWdHeJ6t/WNqfYTFiFCVkw6khSnRQAAAIAkVoWf/ayFC9yoa+ptcf+1iz4hxeZmYOEsqU3J7KFC/ZNhIA2DQjSXm+VnBNylNk2GwOEQ+6zobeZ/Tcg1KN2i1zob5DZQpAFi4Ne8fWxPLWRgBS/jk/tl+DR8gdBMovhBRfLh/VFJD+N/r3JfrrlVOUz82f/GHb8MVr0Ck0YRpw==",
1034
+ "host_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBF467sw3VZeNd5fW/3Y+Uixl9fiZmCEk6ZpVw6R33ke0LtM3/R87DaqzfLoEbmOhBzS+TvdVYcSiOWmGcZyuUfw=",
1035
+ "host_ecdsa_type": "ecdsa-sha2-nistp256"
1036
+ }
1037
+ },
1038
+ "ohai_time": 1377899450.9521537,
1039
+ "dmi": {
1040
+ "dmidecode_version": "2.11",
1041
+ "smbios_version": "2.2",
1042
+ "structures": {
1043
+ "count": "39",
1044
+ "size": "1125"
1045
+ },
1046
+ "bios": {
1047
+ "all_records": [
1048
+ {
1049
+ "record_id": "0x0000",
1050
+ "size": "0",
1051
+ "application_identifier": "BIOS Information",
1052
+ "Vendor": "Phoenix Technologies, LTD",
1053
+ "Version": "6.00 PG",
1054
+ "Release Date": "09/21/2005",
1055
+ "Address": "0xE0000",
1056
+ "Runtime Size": "128 kB",
1057
+ "ROM Size": "512 kB",
1058
+ "Characteristics": {
1059
+ "ISA is supported": null,
1060
+ "PCI is supported": null,
1061
+ "PNP is supported": null,
1062
+ "APM is supported": null,
1063
+ "BIOS is upgradeable": null,
1064
+ "BIOS shadowing is allowed": null,
1065
+ "Boot from CD is supported": null,
1066
+ "Selectable boot is supported": null,
1067
+ "BIOS ROM is socketed": null,
1068
+ "EDD is supported": null,
1069
+ "5.25\"/360 kB floppy services are supported (int 13h)": null,
1070
+ "5.25\"/1.2 MB floppy services are supported (int 13h)": null,
1071
+ "3.5\"/720 kB floppy services are supported (int 13h)": null,
1072
+ "3.5\"/2.88 MB floppy services are supported (int 13h)": null,
1073
+ "Print screen service is supported (int 5h)": null,
1074
+ "8042 keyboard services are supported (int 9h)": null,
1075
+ "Serial services are supported (int 14h)": null,
1076
+ "Printer services are supported (int 17h)": null,
1077
+ "CGA/mono video services are supported (int 10h)": null,
1078
+ "ACPI is supported": null,
1079
+ "USB legacy is supported": null,
1080
+ "AGP is supported": null,
1081
+ "LS-120 boot is supported": null,
1082
+ "ATAPI Zip drive boot is supported": null
1083
+ }
1084
+ }
1085
+ ],
1086
+ "vendor": "Phoenix Technologies, LTD",
1087
+ "version": "6.00 PG",
1088
+ "release_date": "09/21/2005",
1089
+ "address": "0xE0000",
1090
+ "runtime_size": "128 kB",
1091
+ "rom_size": "512 kB"
1092
+ },
1093
+ "system": {
1094
+ "all_records": [
1095
+ {
1096
+ "record_id": "0x0001",
1097
+ "size": "1",
1098
+ "application_identifier": "System Information",
1099
+ "Manufacturer": "Shuttle Inc",
1100
+ "Product Name": "SN95V30",
1101
+ "Version": " ",
1102
+ "Serial Number": " ",
1103
+ "UUID": "12973027-FFFF-FFFF-FFFF-FFFFFFFFFFFF",
1104
+ "Wake-up Type": "Power Switch"
1105
+ }
1106
+ ],
1107
+ "manufacturer": "Shuttle Inc",
1108
+ "product_name": "SN95V30",
1109
+ "version": " ",
1110
+ "serial_number": " ",
1111
+ "uuid": "12973027-FFFF-FFFF-FFFF-FFFFFFFFFFFF",
1112
+ "wake_up_type": "Power Switch"
1113
+ },
1114
+ "base_board": {
1115
+ "all_records": [
1116
+ {
1117
+ "record_id": "0x0002",
1118
+ "size": "2",
1119
+ "application_identifier": "Base Board Information",
1120
+ "Manufacturer": "Shuttle Inc",
1121
+ "Product Name": "FN95V30",
1122
+ "Version": " ",
1123
+ "Serial Number": " "
1124
+ }
1125
+ ],
1126
+ "manufacturer": "Shuttle Inc",
1127
+ "product_name": "FN95V30",
1128
+ "version": " ",
1129
+ "serial_number": " "
1130
+ },
1131
+ "chassis": {
1132
+ "all_records": [
1133
+ {
1134
+ "record_id": "0x0003",
1135
+ "size": "3",
1136
+ "application_identifier": "Chassis Information",
1137
+ "Manufacturer": " ",
1138
+ "Type": "Desktop",
1139
+ "Lock": "Not Present",
1140
+ "Version": " ",
1141
+ "Serial Number": " ",
1142
+ "Asset Tag": " ",
1143
+ "Boot-up State": "Unknown",
1144
+ "Power Supply State": "Unknown",
1145
+ "Thermal State": "Unknown",
1146
+ "Security Status": "Unknown"
1147
+ }
1148
+ ],
1149
+ "manufacturer": " ",
1150
+ "type": "Desktop",
1151
+ "lock": "Not Present",
1152
+ "version": " ",
1153
+ "serial_number": " ",
1154
+ "asset_tag": " ",
1155
+ "boot_up_state": "Unknown",
1156
+ "power_supply_state": "Unknown",
1157
+ "thermal_state": "Unknown",
1158
+ "security_status": "Unknown"
1159
+ },
1160
+ "processor": {
1161
+ "all_records": [
1162
+ {
1163
+ "record_id": "0x0004",
1164
+ "size": "4",
1165
+ "application_identifier": "Processor Information",
1166
+ "Socket Designation": "Socket 939",
1167
+ "Type": "Central Processor",
1168
+ "Family": "Athlon 64",
1169
+ "Manufacturer": "AMD",
1170
+ "ID": "F2 0F 03 00 FF FB 8B 07",
1171
+ "Signature": "Family 15, Model 63, Stepping 2",
1172
+ "Flags": {
1173
+ "FPU (Floating-point unit on-chip)": null,
1174
+ "VME (Virtual mode extension)": null,
1175
+ "DE (Debugging extension)": null,
1176
+ "PSE (Page size extension)": null,
1177
+ "TSC (Time stamp counter)": null,
1178
+ "MSR (Model specific registers)": null,
1179
+ "PAE (Physical address extension)": null,
1180
+ "MCE (Machine check exception)": null,
1181
+ "CX8 (CMPXCHG8 instruction supported)": null,
1182
+ "APIC (On-chip APIC hardware supported)": null,
1183
+ "SEP (Fast system call)": null,
1184
+ "MTRR (Memory type range registers)": null,
1185
+ "PGE (Page global enable)": null,
1186
+ "MCA (Machine check architecture)": null,
1187
+ "CMOV (Conditional move instruction supported)": null,
1188
+ "PAT (Page attribute table)": null,
1189
+ "PSE-36 (36-bit page size extension)": null,
1190
+ "CLFSH (CLFLUSH instruction supported)": null,
1191
+ "MMX (MMX technology supported)": null,
1192
+ "FXSR (FXSAVE and FXSTOR instructions supported)": null,
1193
+ "SSE (Streaming SIMD extensions)": null,
1194
+ "SSE2 (Streaming SIMD extensions 2)": null
1195
+ },
1196
+ "Version": "AMD Athlon(tm) 64 Processor 3500+",
1197
+ "Voltage": "1.3 V",
1198
+ "External Clock": "200 MHz",
1199
+ "Max Speed": "3000 MHz",
1200
+ "Current Speed": "2200 MHz",
1201
+ "Status": "Populated, Enabled",
1202
+ "Upgrade": "Socket 939",
1203
+ "L1 Cache Handle": "0x000B",
1204
+ "L2 Cache Handle": "0x000D",
1205
+ "L3 Cache Handle": "No L3 Cache"
1206
+ },
1207
+ {
1208
+ "record_id": "0x0005",
1209
+ "size": "4",
1210
+ "application_identifier": "Memory Controller Information",
1211
+ "Socket Designation": "Socket 939",
1212
+ "Type": "Central Processor",
1213
+ "Family": "Unknown",
1214
+ "Manufacturer": "Unknown",
1215
+ "ID": "00 00 00 00 00 00 00 00",
1216
+ "Version": "AMD Athlon(tm) 64 Processor 3500+",
1217
+ "Voltage": "1.3 V",
1218
+ "External Clock": "200 MHz",
1219
+ "Max Speed": "3000 MHz",
1220
+ "Current Speed": "2200 MHz",
1221
+ "Status": "Populated, Disabled By User",
1222
+ "Upgrade": "Socket 939",
1223
+ "L1 Cache Handle": "0x000C",
1224
+ "L2 Cache Handle": "0x000E",
1225
+ "L3 Cache Handle": "No L3 Cache",
1226
+ "Error Detecting Method": "64-bit ECC",
1227
+ "Error Correcting Capabilities": {
1228
+ "None": null
1229
+ },
1230
+ "Supported Interleave": "One-way Interleave",
1231
+ "Current Interleave": "One-way Interleave",
1232
+ "Maximum Memory Module Size": "4096 MB",
1233
+ "Maximum Total Memory Size": "16384 MB",
1234
+ "Supported Speeds": {
1235
+ "70 ns": null,
1236
+ "60 ns": null,
1237
+ "50 ns": null
1238
+ },
1239
+ "Supported Memory Types": {
1240
+ "Standard": null,
1241
+ "DIMM": null
1242
+ },
1243
+ "Memory Module Voltage": "2.9 V",
1244
+ "Associated Memory Slots": {
1245
+ "0x0007": null,
1246
+ "0x0008": null,
1247
+ "0x0009": null,
1248
+ "0x000A": null
1249
+ },
1250
+ "Enabled Error Correcting Capabilities": "None"
1251
+ }
1252
+ ],
1253
+ "socket_designation": "Socket 939",
1254
+ "type": "Central Processor",
1255
+ "signature": "Family 15, Model 63, Stepping 2",
1256
+ "version": "AMD Athlon(tm) 64 Processor 3500+",
1257
+ "voltage": "1.3 V",
1258
+ "external_clock": "200 MHz",
1259
+ "max_speed": "3000 MHz",
1260
+ "current_speed": "2200 MHz",
1261
+ "upgrade": "Socket 939",
1262
+ "l3_cache_handle": "No L3 Cache",
1263
+ "error_detecting_method": "64-bit ECC",
1264
+ "supported_interleave": "One-way Interleave",
1265
+ "current_interleave": "One-way Interleave",
1266
+ "maximum_memory_module_size": "4096 MB",
1267
+ "maximum_total_memory_size": "16384 MB",
1268
+ "memory_module_voltage": "2.9 V",
1269
+ "enabled_error_correcting_capabilities": "None"
1270
+ },
1271
+ "memory_module": {
1272
+ "all_records": [
1273
+ {
1274
+ "record_id": "0x0007",
1275
+ "size": "6",
1276
+ "application_identifier": "Memory Module Information",
1277
+ "Socket Designation": "A0",
1278
+ "Bank Connections": "0 1",
1279
+ "Current Speed": "6 ns",
1280
+ "Type": "Unknown EDO",
1281
+ "Installed Size": "1024 MB (Double-bank Connection)",
1282
+ "Enabled Size": "1024 MB (Double-bank Connection)",
1283
+ "Error Status": "OK"
1284
+ },
1285
+ {
1286
+ "record_id": "0x0008",
1287
+ "size": "6",
1288
+ "application_identifier": "Memory Module Information",
1289
+ "Socket Designation": "A1",
1290
+ "Bank Connections": "2 3",
1291
+ "Current Speed": "6 ns",
1292
+ "Type": "Unknown EDO",
1293
+ "Installed Size": "1024 MB (Double-bank Connection)",
1294
+ "Enabled Size": "1024 MB (Double-bank Connection)",
1295
+ "Error Status": "OK"
1296
+ },
1297
+ {
1298
+ "record_id": "0x0009",
1299
+ "size": "6",
1300
+ "application_identifier": "Memory Module Information",
1301
+ "Socket Designation": "A2",
1302
+ "Bank Connections": "None",
1303
+ "Current Speed": "6 ns",
1304
+ "Type": "Unknown EDO",
1305
+ "Installed Size": "Not Installed",
1306
+ "Enabled Size": "Not Installed",
1307
+ "Error Status": "OK"
1308
+ },
1309
+ {
1310
+ "record_id": "0x000A",
1311
+ "size": "6",
1312
+ "application_identifier": "End Of Table",
1313
+ "Socket Designation": "External Cache",
1314
+ "Bank Connections": "None",
1315
+ "Current Speed": "6 ns",
1316
+ "Type": "Unknown",
1317
+ "Installed Size": "512 kB",
1318
+ "Enabled Size": "Not Installed",
1319
+ "Error Status": "OK",
1320
+ "Configuration": "Enabled, Not Socketed, Level 2",
1321
+ "Operational Mode": "Write Back",
1322
+ "Location": "System Board Or Motherboard",
1323
+ "Maximum Size": "512 kB",
1324
+ "Supported SRAM Types": {
1325
+ "Synchronous": null
1326
+ },
1327
+ "Installed SRAM Type": "Synchronous",
1328
+ "Speed": "Unknown",
1329
+ "Error Correction Type": "None",
1330
+ "System Type": "Unknown",
1331
+ "Associativity": "Unknown",
1332
+ "Internal Reference Designator": "Not Specified",
1333
+ "Internal Connector Type": "None",
1334
+ "External Reference Designator": "USB0",
1335
+ "External Connector Type": "Other",
1336
+ "Port Type": "USB",
1337
+ "Designation": "AGP",
1338
+ "Current Usage": "In Use",
1339
+ "Length": "Long",
1340
+ "ID": "88",
1341
+ "Characteristics": {
1342
+ "5.0 V is provided": null
1343
+ },
1344
+ "Language Description Format": "Long",
1345
+ "Installable Languages": {
1346
+ "n|US|iso8859-1": null,
1347
+ "r|CA|iso8859-1": null
1348
+ },
1349
+ "Currently Installed Language": "n|US|iso8859-1",
1350
+ "Use": "System Memory",
1351
+ "Maximum Capacity": "16 GB",
1352
+ "Error Information Handle": "Not Provided",
1353
+ "Number Of Devices": "4",
1354
+ "Array Handle": "0x001B",
1355
+ "Total Width": "64 bits",
1356
+ "Data Width": "64 bits",
1357
+ "Size": "No Module Installed",
1358
+ "Form Factor": "DIMM",
1359
+ "Set": "None",
1360
+ "Locator": "A3",
1361
+ "Bank Locator": "Bank6/7",
1362
+ "Type Detail": "None",
1363
+ "Starting Address": "0x00000000000",
1364
+ "Ending Address": "0x000000003FF",
1365
+ "Range Size": "1 kB",
1366
+ "Physical Array Handle": "0x001B",
1367
+ "Partition Width": "1",
1368
+ "Physical Device Handle": "0x001F",
1369
+ "Memory Array Mapped Address Handle": "0x0020",
1370
+ "Partition Row Position": "1",
1371
+ "Status": "No errors detected"
1372
+ }
1373
+ ],
1374
+ "current_speed": "6 ns",
1375
+ "error_status": "OK",
1376
+ "configuration": "Enabled, Not Socketed, Level 2",
1377
+ "operational_mode": "Write Back",
1378
+ "location": "System Board Or Motherboard",
1379
+ "maximum_size": "512 kB",
1380
+ "installed_sram_type": "Synchronous",
1381
+ "speed": "Unknown",
1382
+ "error_correction_type": "None",
1383
+ "system_type": "Unknown",
1384
+ "associativity": "Unknown",
1385
+ "internal_reference_designator": "Not Specified",
1386
+ "internal_connector_type": "None",
1387
+ "external_reference_designator": "USB0",
1388
+ "external_connector_type": "Other",
1389
+ "port_type": "USB",
1390
+ "designation": "AGP",
1391
+ "current_usage": "In Use",
1392
+ "length": "Long",
1393
+ "id": "88",
1394
+ "language_description_format": "Long",
1395
+ "currently_installed_language": "n|US|iso8859-1",
1396
+ "use": "System Memory",
1397
+ "maximum_capacity": "16 GB",
1398
+ "error_information_handle": "Not Provided",
1399
+ "number_of_devices": "4",
1400
+ "array_handle": "0x001B",
1401
+ "total_width": "64 bits",
1402
+ "data_width": "64 bits",
1403
+ "size": "No Module Installed",
1404
+ "form_factor": "DIMM",
1405
+ "set": "None",
1406
+ "locator": "A3",
1407
+ "bank_locator": "Bank6/7",
1408
+ "type_detail": "None",
1409
+ "starting_address": "0x00000000000",
1410
+ "ending_address": "0x000000003FF",
1411
+ "range_size": "1 kB",
1412
+ "physical_array_handle": "0x001B",
1413
+ "partition_width": "1",
1414
+ "physical_device_handle": "0x001F",
1415
+ "memory_array_mapped_address_handle": "0x0020",
1416
+ "partition_row_position": "1",
1417
+ "status": "No errors detected"
1418
+ }
1419
+ },
1420
+ "virtualization": {
1421
+ },
1422
+ "cpu": {
1423
+ "0": {
1424
+ "vendor_id": "AuthenticAMD",
1425
+ "family": "15",
1426
+ "model": "63",
1427
+ "model_name": "AMD Athlon(tm) 64 Processor 3500+",
1428
+ "stepping": "2",
1429
+ "mhz": "2210.909",
1430
+ "cache_size": "512 KB",
1431
+ "flags": [
1432
+ "fpu",
1433
+ "vme",
1434
+ "de",
1435
+ "pse",
1436
+ "tsc",
1437
+ "msr",
1438
+ "pae",
1439
+ "mce",
1440
+ "cx8",
1441
+ "apic",
1442
+ "sep",
1443
+ "mtrr",
1444
+ "pge",
1445
+ "mca",
1446
+ "cmov",
1447
+ "pat",
1448
+ "pse36",
1449
+ "clflush",
1450
+ "mmx",
1451
+ "fxsr",
1452
+ "sse",
1453
+ "sse2",
1454
+ "syscall",
1455
+ "nx",
1456
+ "mmxext",
1457
+ "fxsr_opt",
1458
+ "lm",
1459
+ "3dnowext",
1460
+ "3dnow",
1461
+ "up",
1462
+ "rep_good",
1463
+ "nopl",
1464
+ "pni",
1465
+ "lahf_lm"
1466
+ ]
1467
+ },
1468
+ "total": 1,
1469
+ "real": 0
1470
+ },
1471
+ "block_device": {
1472
+ "ram0": {
1473
+ "size": "131072",
1474
+ "removable": "0"
1475
+ },
1476
+ "ram1": {
1477
+ "size": "131072",
1478
+ "removable": "0"
1479
+ },
1480
+ "ram2": {
1481
+ "size": "131072",
1482
+ "removable": "0"
1483
+ },
1484
+ "ram3": {
1485
+ "size": "131072",
1486
+ "removable": "0"
1487
+ },
1488
+ "ram4": {
1489
+ "size": "131072",
1490
+ "removable": "0"
1491
+ },
1492
+ "ram5": {
1493
+ "size": "131072",
1494
+ "removable": "0"
1495
+ },
1496
+ "ram6": {
1497
+ "size": "131072",
1498
+ "removable": "0"
1499
+ },
1500
+ "ram7": {
1501
+ "size": "131072",
1502
+ "removable": "0"
1503
+ },
1504
+ "ram8": {
1505
+ "size": "131072",
1506
+ "removable": "0"
1507
+ },
1508
+ "ram9": {
1509
+ "size": "131072",
1510
+ "removable": "0"
1511
+ },
1512
+ "ram10": {
1513
+ "size": "131072",
1514
+ "removable": "0"
1515
+ },
1516
+ "ram11": {
1517
+ "size": "131072",
1518
+ "removable": "0"
1519
+ },
1520
+ "ram12": {
1521
+ "size": "131072",
1522
+ "removable": "0"
1523
+ },
1524
+ "ram13": {
1525
+ "size": "131072",
1526
+ "removable": "0"
1527
+ },
1528
+ "ram14": {
1529
+ "size": "131072",
1530
+ "removable": "0"
1531
+ },
1532
+ "ram15": {
1533
+ "size": "131072",
1534
+ "removable": "0"
1535
+ },
1536
+ "loop0": {
1537
+ "size": "0",
1538
+ "removable": "0"
1539
+ },
1540
+ "loop1": {
1541
+ "size": "0",
1542
+ "removable": "0"
1543
+ },
1544
+ "loop2": {
1545
+ "size": "0",
1546
+ "removable": "0"
1547
+ },
1548
+ "loop3": {
1549
+ "size": "0",
1550
+ "removable": "0"
1551
+ },
1552
+ "loop4": {
1553
+ "size": "0",
1554
+ "removable": "0"
1555
+ },
1556
+ "loop5": {
1557
+ "size": "0",
1558
+ "removable": "0"
1559
+ },
1560
+ "loop6": {
1561
+ "size": "0",
1562
+ "removable": "0"
1563
+ },
1564
+ "loop7": {
1565
+ "size": "0",
1566
+ "removable": "0"
1567
+ },
1568
+ "fd0": {
1569
+ "size": "0",
1570
+ "removable": "1"
1571
+ },
1572
+ "sda": {
1573
+ "size": "117231408",
1574
+ "removable": "0",
1575
+ "model": "INTEL SSDSC2CT06",
1576
+ "rev": "300i",
1577
+ "state": "running",
1578
+ "timeout": "30",
1579
+ "vendor": "ATA"
1580
+ },
1581
+ "sdb": {
1582
+ "size": "390721968",
1583
+ "removable": "0",
1584
+ "model": "FUJITSU MHY2200B",
1585
+ "rev": "0081",
1586
+ "state": "running",
1587
+ "timeout": "30",
1588
+ "vendor": "ATA"
1589
+ },
1590
+ "dm-0": {
1591
+ "size": "103227392",
1592
+ "removable": "0"
1593
+ },
1594
+ "dm-1": {
1595
+ "size": "4186112",
1596
+ "removable": "0"
1597
+ }
1598
+ },
1599
+ "uptime_seconds": 167,
1600
+ "uptime": "2 minutes 47 seconds",
1601
+ "idletime_seconds": 151,
1602
+ "idletime": "2 minutes 31 seconds",
1603
+ "memory": {
1604
+ "swap": {
1605
+ "cached": "0kB",
1606
+ "total": "2093052kB",
1607
+ "free": "2093052kB"
1608
+ },
1609
+ "total": "2051516kB",
1610
+ "free": "1642900kB",
1611
+ "buffers": "11152kB",
1612
+ "cached": "241368kB",
1613
+ "active": "118780kB",
1614
+ "inactive": "221148kB",
1615
+ "dirty": "32kB",
1616
+ "writeback": "0kB",
1617
+ "anon_pages": "87400kB",
1618
+ "mapped": "9328kB",
1619
+ "slab": "25608kB",
1620
+ "slab_reclaimable": "13668kB",
1621
+ "slab_unreclaim": "11940kB",
1622
+ "page_tables": "2796kB",
1623
+ "nfs_unstable": "0kB",
1624
+ "bounce": "0kB",
1625
+ "commit_limit": "3118808kB",
1626
+ "committed_as": "135576kB",
1627
+ "vmalloc_total": "34359738367kB",
1628
+ "vmalloc_used": "24988kB",
1629
+ "vmalloc_chunk": "34359705128kB"
1630
+ },
1631
+ "filesystem": {
1632
+ "/dev/mapper/boxy--vg-root": {
1633
+ "kb_size": "50803372",
1634
+ "kb_used": "1223188",
1635
+ "kb_available": "46999500",
1636
+ "percent_used": "3%",
1637
+ "mount": "/",
1638
+ "fs_type": "ext4",
1639
+ "mount_options": [
1640
+ "rw",
1641
+ "errors=remount-ro"
1642
+ ],
1643
+ "uuid": "fe74a783-2436-48f3-bfc1-7bbedcb38e6d"
1644
+ },
1645
+ "udev": {
1646
+ "kb_size": "1016676",
1647
+ "kb_used": "4",
1648
+ "kb_available": "1016672",
1649
+ "percent_used": "1%",
1650
+ "mount": "/dev",
1651
+ "fs_type": "devtmpfs",
1652
+ "mount_options": [
1653
+ "rw",
1654
+ "mode=0755"
1655
+ ]
1656
+ },
1657
+ "tmpfs": {
1658
+ "kb_size": "410304",
1659
+ "kb_used": "284",
1660
+ "kb_available": "410020",
1661
+ "percent_used": "1%",
1662
+ "mount": "/run",
1663
+ "fs_type": "tmpfs",
1664
+ "mount_options": [
1665
+ "rw",
1666
+ "noexec",
1667
+ "nosuid",
1668
+ "size=10%",
1669
+ "mode=0755"
1670
+ ]
1671
+ },
1672
+ "none": {
1673
+ "kb_size": "1025756",
1674
+ "kb_used": "0",
1675
+ "kb_available": "1025756",
1676
+ "percent_used": "0%",
1677
+ "mount": "/run/shm",
1678
+ "fs_type": "tmpfs",
1679
+ "mount_options": [
1680
+ "rw",
1681
+ "nosuid",
1682
+ "nodev"
1683
+ ]
1684
+ },
1685
+ "/dev/sda1": {
1686
+ "kb_size": "233191",
1687
+ "kb_used": "25063",
1688
+ "kb_available": "195687",
1689
+ "percent_used": "12%",
1690
+ "mount": "/boot",
1691
+ "fs_type": "ext2",
1692
+ "mount_options": [
1693
+ "rw"
1694
+ ],
1695
+ "uuid": "b5784798-3538-40ad-a190-f65e4dd698e0"
1696
+ },
1697
+ "proc": {
1698
+ "mount": "/proc",
1699
+ "fs_type": "proc",
1700
+ "mount_options": [
1701
+ "rw",
1702
+ "noexec",
1703
+ "nosuid",
1704
+ "nodev"
1705
+ ]
1706
+ },
1707
+ "sysfs": {
1708
+ "mount": "/sys",
1709
+ "fs_type": "sysfs",
1710
+ "mount_options": [
1711
+ "rw",
1712
+ "noexec",
1713
+ "nosuid",
1714
+ "nodev"
1715
+ ]
1716
+ },
1717
+ "devpts": {
1718
+ "mount": "/dev/pts",
1719
+ "fs_type": "devpts",
1720
+ "mount_options": [
1721
+ "rw",
1722
+ "noexec",
1723
+ "nosuid",
1724
+ "gid=5",
1725
+ "mode=0620"
1726
+ ]
1727
+ },
1728
+ "/dev/sda5": {
1729
+ "fs_type": "LVM2_member",
1730
+ "uuid": "IcONov-qNFr-UJbS-qFTn-GQ8S-gaN1-ZyB8z7"
1731
+ },
1732
+ "/dev/mapper/boxy--vg-swap_1": {
1733
+ "fs_type": "swap",
1734
+ "uuid": "b1cc6f58-325b-45dd-932e-b15c2fd2330f"
1735
+ },
1736
+ "rootfs": {
1737
+ "mount": "/",
1738
+ "fs_type": "rootfs",
1739
+ "mount_options": [
1740
+ "rw"
1741
+ ]
1742
+ }
1743
+ },
1744
+ "recipes": [
1745
+ "apt::cacher-client",
1746
+ "ntp",
1747
+ "openssh",
1748
+ "users::sysadmins",
1749
+ "sudo",
1750
+ "chef-client::delete_validation"
1751
+ ],
1752
+ "roles": [
1753
+ "lab-base"
1754
+ ]
1755
+ }
1756
+ }