fauxhai 4.1.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +3 -2
  3. data/CHANGELOG.md +71 -12
  4. data/CONTRIBUTING.md +32 -20
  5. data/PLATFORMS.md +13 -73
  6. data/README.md +4 -4
  7. data/Rakefile +5 -1
  8. data/fauxhai.gemspec +3 -3
  9. data/lib/fauxhai/fetcher.rb +1 -1
  10. data/lib/fauxhai/mocker.rb +19 -17
  11. data/lib/fauxhai/platforms/amazon/2012.09.json +526 -178
  12. data/lib/fauxhai/platforms/amazon/2013.09.json +561 -235
  13. data/lib/fauxhai/platforms/amazon/2014.03.json +586 -291
  14. data/lib/fauxhai/platforms/amazon/2014.09.json +552 -218
  15. data/lib/fauxhai/platforms/amazon/2015.03.json +576 -222
  16. data/lib/fauxhai/platforms/amazon/2015.09.json +542 -238
  17. data/lib/fauxhai/platforms/amazon/2016.03.json +552 -246
  18. data/lib/fauxhai/platforms/amazon/2016.09.json +539 -237
  19. data/lib/fauxhai/platforms/amazon/2017.03.json +667 -0
  20. data/lib/fauxhai/platforms/arch/4.10.13-1-ARCH.json +1674 -0
  21. data/lib/fauxhai/platforms/arch/4.5.4-1-ARCH.json +2 -1
  22. data/lib/fauxhai/platforms/arch/4.9.11-1-ARCH.json +1 -0
  23. data/lib/fauxhai/platforms/centos/5.0.json +1 -0
  24. data/lib/fauxhai/platforms/centos/5.1.json +1 -0
  25. data/lib/fauxhai/platforms/centos/5.10.json +4536 -496
  26. data/lib/fauxhai/platforms/centos/5.11.json +4485 -318
  27. data/lib/fauxhai/platforms/centos/5.2.json +1 -0
  28. data/lib/fauxhai/platforms/centos/5.3.json +1 -0
  29. data/lib/fauxhai/platforms/centos/5.4.json +1 -0
  30. data/lib/fauxhai/platforms/centos/5.5.json +1 -0
  31. data/lib/fauxhai/platforms/centos/5.6.json +1 -0
  32. data/lib/fauxhai/platforms/centos/5.7.json +1 -0
  33. data/lib/fauxhai/platforms/centos/5.8.json +1 -0
  34. data/lib/fauxhai/platforms/centos/5.9.json +1 -0
  35. data/lib/fauxhai/platforms/centos/6.0.json +1 -0
  36. data/lib/fauxhai/platforms/centos/6.1.json +1 -0
  37. data/lib/fauxhai/platforms/centos/6.2.json +1 -0
  38. data/lib/fauxhai/platforms/centos/6.3.json +1 -0
  39. data/lib/fauxhai/platforms/centos/6.4.json +1 -0
  40. data/lib/fauxhai/platforms/centos/6.5.json +1 -0
  41. data/lib/fauxhai/platforms/centos/6.6.json +1 -0
  42. data/lib/fauxhai/platforms/centos/6.8.json +2278 -422
  43. data/lib/fauxhai/platforms/centos/6.9.json +5910 -0
  44. data/lib/fauxhai/platforms/centos/7.0.1406.json +2 -1
  45. data/lib/fauxhai/platforms/centos/7.0.json +2 -1
  46. data/lib/fauxhai/platforms/centos/7.1.1503.json +2 -1
  47. data/lib/fauxhai/platforms/centos/7.2.1511.json +3620 -547
  48. data/lib/fauxhai/platforms/centos/7.3.1611.json +3781 -561
  49. data/lib/fauxhai/platforms/clearos/7.0.json +1985 -0
  50. data/lib/fauxhai/platforms/debian/7.0.json +1 -0
  51. data/lib/fauxhai/platforms/debian/7.1.json +1 -0
  52. data/lib/fauxhai/platforms/debian/7.10.json +3568 -522
  53. data/lib/fauxhai/platforms/debian/7.11.json +3340 -311
  54. data/lib/fauxhai/platforms/debian/7.2.json +1 -0
  55. data/lib/fauxhai/platforms/debian/7.4.json +1 -0
  56. data/lib/fauxhai/platforms/debian/7.5.json +1 -0
  57. data/lib/fauxhai/platforms/debian/7.6.json +1 -0
  58. data/lib/fauxhai/platforms/debian/7.7.json +1 -0
  59. data/lib/fauxhai/platforms/debian/7.8.json +1 -0
  60. data/lib/fauxhai/platforms/debian/7.9.json +1 -0
  61. data/lib/fauxhai/platforms/debian/8.0.json +1 -0
  62. data/lib/fauxhai/platforms/debian/8.1.json +2 -1
  63. data/lib/fauxhai/platforms/debian/8.2.json +2 -1
  64. data/lib/fauxhai/platforms/debian/8.4.json +2 -1
  65. data/lib/fauxhai/platforms/debian/8.5.json +1 -0
  66. data/lib/fauxhai/platforms/debian/8.6.json +1 -0
  67. data/lib/fauxhai/platforms/debian/8.7.json +3398 -544
  68. data/lib/fauxhai/platforms/debian/8.8.json +3620 -0
  69. data/lib/fauxhai/platforms/fedora/21.json +2 -1
  70. data/lib/fauxhai/platforms/fedora/22.json +2 -1
  71. data/lib/fauxhai/platforms/fedora/23.json +2 -1
  72. data/lib/fauxhai/platforms/fedora/24.json +5120 -668
  73. data/lib/fauxhai/platforms/fedora/25.json +5140 -560
  74. data/lib/fauxhai/platforms/freebsd/10.1.json +2 -1
  75. data/lib/fauxhai/platforms/freebsd/10.2.json +2 -1
  76. data/lib/fauxhai/platforms/freebsd/10.3.json +276 -137
  77. data/lib/fauxhai/platforms/freebsd/11.0.json +270 -137
  78. data/lib/fauxhai/platforms/freebsd/9.3.json +2 -1
  79. data/lib/fauxhai/platforms/linuxmint/18.1.json +10773 -0
  80. data/lib/fauxhai/platforms/mac_os_x/10.10.json +618 -542
  81. data/lib/fauxhai/platforms/mac_os_x/10.11.1.json +1 -0
  82. data/lib/fauxhai/platforms/mac_os_x/10.11.json +982 -0
  83. data/lib/fauxhai/platforms/mac_os_x/10.12.json +658 -645
  84. data/lib/fauxhai/platforms/mac_os_x/10.9.2.json +1 -0
  85. data/lib/fauxhai/platforms/omnios/151014.json +2 -1
  86. data/lib/fauxhai/platforms/opensuse/12.3.json +2 -1
  87. data/lib/fauxhai/platforms/opensuse/13.1.json +1 -0
  88. data/lib/fauxhai/platforms/opensuse/13.2.json +4667 -558
  89. data/lib/fauxhai/platforms/opensuse/42.1.json +5544 -461
  90. data/lib/fauxhai/platforms/opensuse/42.2.json +7674 -545
  91. data/lib/fauxhai/platforms/oracle/5.8.json +1 -0
  92. data/lib/fauxhai/platforms/oracle/6.5.json +1 -0
  93. data/lib/fauxhai/platforms/oracle/6.6.json +1 -0
  94. data/lib/fauxhai/platforms/oracle/7.0.json +1 -0
  95. data/lib/fauxhai/platforms/oracle/7.1.json +1 -0
  96. data/lib/fauxhai/platforms/redhat/5.6.json +2 -1
  97. data/lib/fauxhai/platforms/redhat/5.7.json +2 -1
  98. data/lib/fauxhai/platforms/redhat/5.8.json +2 -1
  99. data/lib/fauxhai/platforms/redhat/6.0.json +2 -1
  100. data/lib/fauxhai/platforms/redhat/6.1.json +2 -1
  101. data/lib/fauxhai/platforms/redhat/6.2.json +2 -1
  102. data/lib/fauxhai/platforms/redhat/6.3.json +2 -1
  103. data/lib/fauxhai/platforms/redhat/6.4.json +2 -1
  104. data/lib/fauxhai/platforms/redhat/6.5.json +2 -1
  105. data/lib/fauxhai/platforms/redhat/6.6.json +1 -0
  106. data/lib/fauxhai/platforms/redhat/7.0.json +1 -0
  107. data/lib/fauxhai/platforms/redhat/7.1.json +1 -0
  108. data/lib/fauxhai/platforms/smartos/joyent_20130111T180733Z.json +2 -1
  109. data/lib/fauxhai/platforms/solaris2/5.11.json +10884 -3268
  110. data/lib/fauxhai/platforms/suse/11.3.json +2 -1
  111. data/lib/fauxhai/platforms/suse/12.0.json +1 -0
  112. data/lib/fauxhai/platforms/ubuntu/12.04.json +2 -1
  113. data/lib/fauxhai/platforms/ubuntu/14.04.json +2800 -272
  114. data/lib/fauxhai/platforms/ubuntu/15.04.json +2 -1
  115. data/lib/fauxhai/platforms/ubuntu/15.10.json +2 -1
  116. data/lib/fauxhai/platforms/ubuntu/16.04.json +3487 -541
  117. data/lib/fauxhai/platforms/windows/10.json +119 -82
  118. data/lib/fauxhai/platforms/windows/2003R2.json +1 -0
  119. data/lib/fauxhai/platforms/windows/2008R2.json +156 -5734
  120. data/lib/fauxhai/platforms/windows/2012R2.json +157 -3592
  121. data/lib/fauxhai/platforms/windows/7.json +116 -77
  122. data/lib/fauxhai/platforms/windows/8.1.json +100 -98
  123. data/lib/fauxhai/platforms/windows/8.json +1 -0
  124. data/lib/fauxhai/runner.rb +6 -3
  125. data/lib/fauxhai/runner/default.rb +133 -67
  126. data/lib/fauxhai/version.rb +1 -1
  127. metadata +15 -8
@@ -1,4 +1,5 @@
1
1
  {
2
+ "deprecated": true,
2
3
  "filesystem": {
3
4
  "/dev/ada0p2": {
4
5
  "kb_size": "7705468",
@@ -322,4 +323,4 @@
322
323
  "systems": {
323
324
  }
324
325
  }
325
- }
326
+ }
@@ -1,4 +1,5 @@
1
1
  {
2
+ "deprecated": true,
2
3
  "filesystem": {
3
4
  "/dev/ada0p2": {
4
5
  "kb_size": "9637788",
@@ -322,4 +323,4 @@
322
323
  "systems": {
323
324
  }
324
325
  }
325
- }
326
+ }
@@ -1,61 +1,69 @@
1
1
  {
2
- "filesystem": {
3
- "/dev/ada0p2": {
4
- "kb_size": "9637788",
5
- "kb_used": "2116216",
6
- "kb_available": "6750552",
7
- "percent_used": "24%",
8
- "mount": "/",
9
- "inodes_used": "215567",
10
- "inodes_available": "1068527",
11
- "total_inodes": "1284094",
12
- "inodes_percent_used": "17",
13
- "fs_type": "ufs",
14
- "mount_options": [
15
- "local",
16
- "journaled soft-updates"
17
- ]
2
+ "chef_packages": {
3
+ "chef": {
4
+ "version": "13.1.31",
5
+ "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/chef-13.1.31/lib"
18
6
  },
19
- "devfs": {
20
- "kb_size": "1",
21
- "kb_used": "1",
22
- "kb_available": "0",
23
- "percent_used": "100%",
24
- "mount": "/dev",
25
- "inodes_used": "0",
26
- "inodes_available": "0",
27
- "total_inodes": "0",
28
- "inodes_percent_used": "100",
29
- "fs_type": "devfs",
30
- "mount_options": [
31
- "local",
32
- "multilabel"
33
- ]
7
+ "ohai": {
8
+ "version": "13.1.0",
9
+ "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.4.0/gems/ohai-13.1.0/lib/ohai"
34
10
  }
35
11
  },
36
- "kernel": {
37
- "name": "FreeBSD",
38
- "release": "10.3-RELEASE",
39
- "version": "FreeBSD 10.3-RELEASE #0 r297264: Fri Mar 25 02:10:02 UTC 2016 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC ",
40
- "machine": "amd64",
41
- "processor": "amd64",
42
- "os": "FreeBSD",
43
- "ident": "GENERIC",
44
- "securelevel": [
45
- "kern.securelevel: -1"
46
- ],
47
- "modules": {
48
- "kernel": {
49
- "size": "17bc680",
50
- "refcount": "1"
12
+ "command": {
13
+ "ps": "ps -axww"
14
+ },
15
+ "counters": {
16
+ "network": {
17
+ "interfaces": {
18
+ "lo": {
19
+ "tx": {
20
+ "queuelen": "1",
21
+ "bytes": 0,
22
+ "packets": 0,
23
+ "errors": 0,
24
+ "drop": 0,
25
+ "carrier": 0,
26
+ "collisions": 0
27
+ },
28
+ "rx": {
29
+ "bytes": 0,
30
+ "packets": 0,
31
+ "errors": 0,
32
+ "drop": 0,
33
+ "overrun": 0
34
+ }
35
+ },
36
+ "em0": {
37
+ "rx": {
38
+ "bytes": 0,
39
+ "packets": 0,
40
+ "errors": 0,
41
+ "drop": 0,
42
+ "overrun": 0,
43
+ "frame": 0,
44
+ "compressed": 0,
45
+ "multicast": 0
46
+ },
47
+ "tx": {
48
+ "bytes": 0,
49
+ "packets": 0,
50
+ "errors": 0,
51
+ "drop": 0,
52
+ "overrun": 0,
53
+ "collisions": 0,
54
+ "carrier": 0,
55
+ "compressed": 0
56
+ }
57
+ }
51
58
  }
52
59
  }
53
60
  },
54
- "os": "freebsd",
55
- "os_version": "1003000",
56
- "platform": "freebsd",
57
- "platform_version": "10.3-RELEASE",
58
- "platform_family": "freebsd",
61
+ "cpu": {
62
+ "real": 1,
63
+ "total": 1,
64
+ "cores": 1
65
+ },
66
+ "current_user": "fauxhai",
59
67
  "dmi": {
60
68
  "dmidecode_version": "3.0",
61
69
  "smbios_version": "2.5",
@@ -104,7 +112,7 @@
104
112
  "Product Name": "VirtualBox",
105
113
  "Version": "1.2",
106
114
  "Serial Number": "0",
107
- "UUID": "336478CA-8FCB-4ABE-8B89-A7CE228BBCCF",
115
+ "UUID": "218D3E79-93C5-463D-8FBE-69664774C9C9",
108
116
  "Wake-up Type": "Power Switch",
109
117
  "SKU Number": "Not Specified",
110
118
  "Family": "Virtual Machine"
@@ -114,7 +122,7 @@
114
122
  "product_name": "VirtualBox",
115
123
  "version": "1.2",
116
124
  "serial_number": "0",
117
- "uuid": "336478CA-8FCB-4ABE-8B89-A7CE228BBCCF",
125
+ "uuid": "218D3E79-93C5-463D-8FBE-69664774C9C9",
118
126
  "wake_up_type": "Power Switch",
119
127
  "sku_number": "Not Specified",
120
128
  "family": "Virtual Machine"
@@ -184,67 +192,14 @@
184
192
  "record_id": "0x0002",
185
193
  "size": "11",
186
194
  "application_identifier": "OEM Strings",
187
- "String 1": "vboxVer_5.1.14",
188
- "String 2": "vboxRev_112924"
195
+ "String 1": "vboxVer_5.1.22",
196
+ "String 2": "vboxRev_115126"
189
197
  }
190
198
  ],
191
- "string_1": "vboxVer_5.1.14",
192
- "string_2": "vboxRev_112924"
199
+ "string_1": "vboxVer_5.1.22",
200
+ "string_2": "vboxRev_115126"
193
201
  }
194
202
  },
195
- "command": {
196
- "ps": "ps -axww"
197
- },
198
- "ohai_time": 1488665911.4798715,
199
- "root_group": "wheel",
200
- "languages": {
201
- "ruby": {
202
- "bin_dir": "/usr/local/bin",
203
- "gem_bin": "/usr/local/bin/gem",
204
- "gems_dir": "/usr/local/gems",
205
- "ruby_bin": "/usr/local/bin/ruby"
206
- },
207
- "powershell": null
208
- },
209
- "chef_packages": {
210
- "chef": {
211
- "version": "12.19.36",
212
- "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.19.36/lib"
213
- },
214
- "ohai": {
215
- "version": "8.23.0",
216
- "ohai_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.23.0/lib/ohai"
217
- }
218
- },
219
- "counters": {
220
- "network": {
221
- "interfaces": {
222
- "eth0": {
223
- "rx": {
224
- "bytes": "0",
225
- "packets": "0",
226
- "errors": "0",
227
- "drop": 0,
228
- "overrun": 0,
229
- "frame": 0,
230
- "compressed": 0,
231
- "multicast": 0
232
- },
233
- "tx": {
234
- "bytes": "342",
235
- "packets": "0",
236
- "errors": "0",
237
- "drop": 0,
238
- "overrun": 0,
239
- "collisions": "0",
240
- "carrier": 0,
241
- "compressed": 0
242
- }
243
- }
244
- }
245
- }
246
- },
247
- "current_user": "fauxhai",
248
203
  "domain": "local",
249
204
  "etc": {
250
205
  "passwd": {
@@ -265,68 +220,252 @@
265
220
  }
266
221
  }
267
222
  },
268
- "hostname": "Fauxhai",
223
+ "filesystem": {
224
+ "/dev/ada0p2": {
225
+ "kb_size": "15224828",
226
+ "kb_used": "2180432",
227
+ "kb_available": "11826412",
228
+ "percent_used": "16%",
229
+ "mount": "/",
230
+ "inodes_used": "221853",
231
+ "inodes_available": "1784545",
232
+ "total_inodes": "2006398",
233
+ "inodes_percent_used": "11",
234
+ "fs_type": "ufs",
235
+ "mount_options": [
236
+ "local",
237
+ "journaled soft-updates"
238
+ ]
239
+ },
240
+ "devfs": {
241
+ "kb_size": "1",
242
+ "kb_used": "1",
243
+ "kb_available": "0",
244
+ "percent_used": "100%",
245
+ "mount": "/dev",
246
+ "inodes_used": "0",
247
+ "inodes_available": "0",
248
+ "total_inodes": "0",
249
+ "inodes_percent_used": "100",
250
+ "fs_type": "devfs",
251
+ "mount_options": [
252
+ "local",
253
+ "multilabel"
254
+ ]
255
+ }
256
+ },
269
257
  "fqdn": "fauxhai.local",
258
+ "hostname": "Fauxhai",
259
+ "idle": "30 days 15 hours 07 minutes 30 seconds",
260
+ "idletime_seconds": 2646450,
270
261
  "ipaddress": "10.0.0.2",
262
+ "kernel": {
263
+ "name": "FreeBSD",
264
+ "release": "10.3-RELEASE",
265
+ "version": "FreeBSD 10.3-RELEASE #0 r297264: Fri Mar 25 02:10:02 UTC 2016 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC ",
266
+ "machine": "amd64",
267
+ "processor": "amd64",
268
+ "os": "FreeBSD",
269
+ "ident": "GENERIC",
270
+ "securelevel": [
271
+ "kern.securelevel: -1"
272
+ ],
273
+ "modules": {
274
+ "kernel": {
275
+ "size": "17bc680",
276
+ "refcount": "1"
277
+ }
278
+ }
279
+ },
271
280
  "keys": {
272
281
  "ssh": {
273
282
  "host_dsa_public": "ssh-dss AAAAB3NzaC1kc3MAAACBAJFo9BLAw4WKEs5hgipk5m423FzBsDXCZSMcC9ca/om/1VYzMqImixGe3uICDzNFUWxFoLJTQAOccyzo6MXZiQqwWJDLFi5qOSr6w2XcMyE+zd4wOyMoDiVM5fizmG8K3FzrqvGjwBcHcBdOQnavSijoj38DN25J9zhrid5BY4WlAAAAFQDxXrCyG52XCzn3FV4ej38wJBkomQAAAIBovGPJ4mP2P6BK8lHl0PPbktwQbWlpJ13oz6REJFDVcUi7vV26bX/BjQX+ohzZQzljdz1SpUbPc/8nuA4darYkVh91eBi307EN8IdxRHj2eBgp/ZG4yshIebG3WHrwJD/xUjjZ1MRfyDT1ermVi4LvjjPgWDxLZnPpMaR6S1nzgQAAAIEAj0Vd6DCWslvlsZ8+N53HWsqPi3gnx35JoLPz9Z2epkKIKqmEHav+93G3hdfztVa4I4t3phoPniQchYryF5+RNg8hqxKzjNtrIqUYCeuf2NJrksNsH7OZygPHZpqt4kTuwAGZxjxEGfAI0y8DhkU2ntp2LnzRnWH106BQBCmcXwo= fauxhai.local",
274
283
  "host_rsa_public": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtLCeqtqr/HbnORckw1ukdLhpfGoOPFi5/esKEokzTqq1gsgQ2V8emmyjfq1i6XXfRtSBxkdlHv/GWdP5wBTuE2G85MzBkVSQPvmwQN8lX/JMPEEtKXkeOo0o92/PiSmvY4eRsdF0mw40Uvg7jtE3f3fxj497kzh5fKtkrHnF4x9gXCbVdr3FqXJfggR5IJwAxToerbK7x/uRS+7YuZI9Pip3tt14nv9ezwXcuGb/tvjWOZINiFl8izVIFKi7sxfTX09p4NgamxRS7TD2Yd0jT8nEoF9UZTsgXcJ1kDSx7N7NxFfNfP6rCdOGRRz4gUhXtsUjG/XkxPeCwZ7A9VnOD fauxhai.local"
275
284
  }
276
285
  },
286
+ "languages": {
287
+ "ruby": {
288
+ "platform": "amd64-freebsd10",
289
+ "version": "2.3.3",
290
+ "release_date": "2016-11-21",
291
+ "target": "amd64-portbld-freebsd10",
292
+ "target_cpu": "amd64",
293
+ "target_vendor": "portbld",
294
+ "target_os": "freebsd10",
295
+ "host": "amd64-portbld-freebsd10",
296
+ "host_cpu": "amd64",
297
+ "host_os": "freebsd10",
298
+ "host_vendor": "portbld",
299
+ "bin_dir": "/usr/local/bin",
300
+ "ruby_bin": "/usr/local/bin/ruby",
301
+ "gems_dir": "/usr/local/gems",
302
+ "gem_bin": "/usr/local/bin/gem"
303
+ },
304
+ "powershell": null
305
+ },
277
306
  "macaddress": "11:11:11:11:11:11",
307
+ "machinename": "Fauxhai",
308
+ "memory": {
309
+ "total": "1048576kB"
310
+ },
278
311
  "network": {
279
- "default_gateway": "10.0.0.1",
280
- "default_interface": "eth0",
281
- "settings": {
282
- },
283
312
  "interfaces": {
284
- "eth0": {
313
+ "lo": {
314
+ "mtu": "65536",
315
+ "flags": [
316
+ "LOOPBACK",
317
+ "UP",
318
+ "LOWER_UP"
319
+ ],
320
+ "encapsulation": "Loopback",
285
321
  "addresses": {
286
- "10.0.0.2": {
287
- "broadcast": "10.0.0.255",
322
+ "127.0.0.1": {
288
323
  "family": "inet",
289
- "netmask": "255.255.255.0",
290
- "prefixlen": "24",
291
- "scope": "Global"
324
+ "prefixlen": "8",
325
+ "netmask": "255.0.0.0",
326
+ "scope": "Node",
327
+ "ip_scope": "LOOPBACK"
328
+ },
329
+ "::1": {
330
+ "family": "inet6",
331
+ "prefixlen": "128",
332
+ "scope": "Node",
333
+ "tags": [
334
+
335
+ ],
336
+ "ip_scope": "LINK LOCAL LOOPBACK"
292
337
  }
293
338
  },
294
- "arp": {
295
- "10.0.0.1": "fe:ff:ff:ff:ff:ff"
296
- },
297
- "encapsulation": "Ethernet",
339
+ "state": "unknown"
340
+ },
341
+ "em0": {
342
+ "type": "em",
343
+ "number": "0",
344
+ "mtu": "1500",
298
345
  "flags": [
299
346
  "BROADCAST",
300
347
  "MULTICAST",
301
348
  "UP",
302
349
  "LOWER_UP"
303
350
  ],
304
- "mtu": "1500",
305
- "number": "0",
351
+ "encapsulation": "Ethernet",
352
+ "addresses": {
353
+ "11:11:11:11:11:11": {
354
+ "family": "lladdr"
355
+ },
356
+ "10.0.0.2": {
357
+ "family": "inet",
358
+ "prefixlen": "24",
359
+ "netmask": "255.255.255.0",
360
+ "broadcast": "10.0.0.255",
361
+ "scope": "Global",
362
+ "ip_scope": "RFC1918 PRIVATE"
363
+ },
364
+ "fe80::11:1111:1111:1111": {
365
+ "family": "inet6",
366
+ "prefixlen": "64",
367
+ "scope": "Link",
368
+ "tags": [
369
+
370
+ ],
371
+ "ip_scope": "LINK LOCAL UNICAST"
372
+ }
373
+ },
374
+ "state": "up",
375
+ "arp": {
376
+ "10.0.0.1": "fe:ff:ff:ff:ff:ff"
377
+ },
306
378
  "routes": [
379
+ {
380
+ "destination": "default",
381
+ "family": "inet",
382
+ "via": "10.0.0.1"
383
+ },
307
384
  {
308
385
  "destination": "10.0.0.0/24",
309
386
  "family": "inet",
310
387
  "scope": "link",
311
388
  "proto": "kernel",
312
389
  "src": "10.0.0.2"
390
+ },
391
+ {
392
+ "destination": "fe80::/64",
393
+ "family": "inet6",
394
+ "metric": "256",
395
+ "proto": "kernel"
313
396
  }
314
397
  ],
315
- "state": "up",
316
- "type": "eth"
398
+ "ring_params": {
399
+ }
317
400
  }
401
+ },
402
+ "default_interface": "em0",
403
+ "default_gateway": "10.0.0.1"
404
+ },
405
+ "ohai_time": 1497291163.5346282,
406
+ "os": "freebsd",
407
+ "os_version": "1003000",
408
+ "packages": {
409
+ "ca_root_nss": {
410
+ "version": "3.30.2"
411
+ },
412
+ "curl": {
413
+ "version": "7.54.0"
414
+ },
415
+ "dmidecode": {
416
+ "version": "3.0"
417
+ },
418
+ "gettext-runtime": {
419
+ "version": "0.19.8.1_1"
420
+ },
421
+ "indexinfo": {
422
+ "version": "0.2.6"
423
+ },
424
+ "libedit": {
425
+ "version": "3.1.20150325_2,1"
426
+ },
427
+ "libffi": {
428
+ "version": "3.2.1"
429
+ },
430
+ "libidn": {
431
+ "version": "1.33_1"
432
+ },
433
+ "libnghttp2": {
434
+ "version": "1.21.0"
435
+ },
436
+ "libyaml": {
437
+ "version": "0.1.6_2"
438
+ },
439
+ "pkg": {
440
+ "version": "1.10.1"
441
+ },
442
+ "ruby": {
443
+ "version": "2.3.3_2,1"
444
+ },
445
+ "ruby23-gems": {
446
+ "version": "2.6.12"
447
+ },
448
+ "sudo": {
449
+ "version": "1.8.20p1"
450
+ },
451
+ "wget": {
452
+ "version": "1.19"
318
453
  }
319
454
  },
455
+ "platform": "freebsd",
456
+ "platform_family": "freebsd",
457
+ "platform_version": "10.3-RELEASE",
458
+ "root_group": "wheel",
459
+ "shells": [
460
+ "/bin/sh",
461
+ "/bin/csh",
462
+ "/bin/tcsh"
463
+ ],
464
+ "time": {
465
+ "timezone": "GMT"
466
+ },
320
467
  "uptime": "30 days 15 hours 07 minutes 30 seconds",
321
468
  "uptime_seconds": 2646450,
322
- "cpu": {
323
- "real": 1,
324
- "total": 1,
325
- "cores": 1
326
- },
327
- "memory": {
328
- "total": "1048576kB"
329
- },
330
469
  "virtualization": {
331
470
  "systems": {
332
471
  }