fauxhai 4.1.0 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -2
- data/CHANGELOG.md +71 -12
- data/CONTRIBUTING.md +32 -20
- data/PLATFORMS.md +13 -73
- data/README.md +4 -4
- data/Rakefile +5 -1
- data/fauxhai.gemspec +3 -3
- data/lib/fauxhai/fetcher.rb +1 -1
- data/lib/fauxhai/mocker.rb +19 -17
- data/lib/fauxhai/platforms/amazon/2012.09.json +526 -178
- data/lib/fauxhai/platforms/amazon/2013.09.json +561 -235
- data/lib/fauxhai/platforms/amazon/2014.03.json +586 -291
- data/lib/fauxhai/platforms/amazon/2014.09.json +552 -218
- data/lib/fauxhai/platforms/amazon/2015.03.json +576 -222
- data/lib/fauxhai/platforms/amazon/2015.09.json +542 -238
- data/lib/fauxhai/platforms/amazon/2016.03.json +552 -246
- data/lib/fauxhai/platforms/amazon/2016.09.json +539 -237
- data/lib/fauxhai/platforms/amazon/2017.03.json +667 -0
- data/lib/fauxhai/platforms/arch/4.10.13-1-ARCH.json +1674 -0
- data/lib/fauxhai/platforms/arch/4.5.4-1-ARCH.json +2 -1
- data/lib/fauxhai/platforms/arch/4.9.11-1-ARCH.json +1 -0
- data/lib/fauxhai/platforms/centos/5.0.json +1 -0
- data/lib/fauxhai/platforms/centos/5.1.json +1 -0
- data/lib/fauxhai/platforms/centos/5.10.json +4536 -496
- data/lib/fauxhai/platforms/centos/5.11.json +4485 -318
- data/lib/fauxhai/platforms/centos/5.2.json +1 -0
- data/lib/fauxhai/platforms/centos/5.3.json +1 -0
- data/lib/fauxhai/platforms/centos/5.4.json +1 -0
- data/lib/fauxhai/platforms/centos/5.5.json +1 -0
- data/lib/fauxhai/platforms/centos/5.6.json +1 -0
- data/lib/fauxhai/platforms/centos/5.7.json +1 -0
- data/lib/fauxhai/platforms/centos/5.8.json +1 -0
- data/lib/fauxhai/platforms/centos/5.9.json +1 -0
- data/lib/fauxhai/platforms/centos/6.0.json +1 -0
- data/lib/fauxhai/platforms/centos/6.1.json +1 -0
- data/lib/fauxhai/platforms/centos/6.2.json +1 -0
- data/lib/fauxhai/platforms/centos/6.3.json +1 -0
- data/lib/fauxhai/platforms/centos/6.4.json +1 -0
- data/lib/fauxhai/platforms/centos/6.5.json +1 -0
- data/lib/fauxhai/platforms/centos/6.6.json +1 -0
- data/lib/fauxhai/platforms/centos/6.8.json +2278 -422
- data/lib/fauxhai/platforms/centos/6.9.json +5910 -0
- data/lib/fauxhai/platforms/centos/7.0.1406.json +2 -1
- data/lib/fauxhai/platforms/centos/7.0.json +2 -1
- data/lib/fauxhai/platforms/centos/7.1.1503.json +2 -1
- data/lib/fauxhai/platforms/centos/7.2.1511.json +3620 -547
- data/lib/fauxhai/platforms/centos/7.3.1611.json +3781 -561
- data/lib/fauxhai/platforms/clearos/7.0.json +1985 -0
- data/lib/fauxhai/platforms/debian/7.0.json +1 -0
- data/lib/fauxhai/platforms/debian/7.1.json +1 -0
- data/lib/fauxhai/platforms/debian/7.10.json +3568 -522
- data/lib/fauxhai/platforms/debian/7.11.json +3340 -311
- data/lib/fauxhai/platforms/debian/7.2.json +1 -0
- data/lib/fauxhai/platforms/debian/7.4.json +1 -0
- data/lib/fauxhai/platforms/debian/7.5.json +1 -0
- data/lib/fauxhai/platforms/debian/7.6.json +1 -0
- data/lib/fauxhai/platforms/debian/7.7.json +1 -0
- data/lib/fauxhai/platforms/debian/7.8.json +1 -0
- data/lib/fauxhai/platforms/debian/7.9.json +1 -0
- data/lib/fauxhai/platforms/debian/8.0.json +1 -0
- data/lib/fauxhai/platforms/debian/8.1.json +2 -1
- data/lib/fauxhai/platforms/debian/8.2.json +2 -1
- data/lib/fauxhai/platforms/debian/8.4.json +2 -1
- data/lib/fauxhai/platforms/debian/8.5.json +1 -0
- data/lib/fauxhai/platforms/debian/8.6.json +1 -0
- data/lib/fauxhai/platforms/debian/8.7.json +3398 -544
- data/lib/fauxhai/platforms/debian/8.8.json +3620 -0
- data/lib/fauxhai/platforms/fedora/21.json +2 -1
- data/lib/fauxhai/platforms/fedora/22.json +2 -1
- data/lib/fauxhai/platforms/fedora/23.json +2 -1
- data/lib/fauxhai/platforms/fedora/24.json +5120 -668
- data/lib/fauxhai/platforms/fedora/25.json +5140 -560
- data/lib/fauxhai/platforms/freebsd/10.1.json +2 -1
- data/lib/fauxhai/platforms/freebsd/10.2.json +2 -1
- data/lib/fauxhai/platforms/freebsd/10.3.json +276 -137
- data/lib/fauxhai/platforms/freebsd/11.0.json +270 -137
- data/lib/fauxhai/platforms/freebsd/9.3.json +2 -1
- data/lib/fauxhai/platforms/linuxmint/18.1.json +10773 -0
- data/lib/fauxhai/platforms/mac_os_x/10.10.json +618 -542
- data/lib/fauxhai/platforms/mac_os_x/10.11.1.json +1 -0
- data/lib/fauxhai/platforms/mac_os_x/10.11.json +982 -0
- data/lib/fauxhai/platforms/mac_os_x/10.12.json +658 -645
- data/lib/fauxhai/platforms/mac_os_x/10.9.2.json +1 -0
- data/lib/fauxhai/platforms/omnios/151014.json +2 -1
- data/lib/fauxhai/platforms/opensuse/12.3.json +2 -1
- data/lib/fauxhai/platforms/opensuse/13.1.json +1 -0
- data/lib/fauxhai/platforms/opensuse/13.2.json +4667 -558
- data/lib/fauxhai/platforms/opensuse/42.1.json +5544 -461
- data/lib/fauxhai/platforms/opensuse/42.2.json +7674 -545
- data/lib/fauxhai/platforms/oracle/5.8.json +1 -0
- data/lib/fauxhai/platforms/oracle/6.5.json +1 -0
- data/lib/fauxhai/platforms/oracle/6.6.json +1 -0
- data/lib/fauxhai/platforms/oracle/7.0.json +1 -0
- data/lib/fauxhai/platforms/oracle/7.1.json +1 -0
- data/lib/fauxhai/platforms/redhat/5.6.json +2 -1
- data/lib/fauxhai/platforms/redhat/5.7.json +2 -1
- data/lib/fauxhai/platforms/redhat/5.8.json +2 -1
- data/lib/fauxhai/platforms/redhat/6.0.json +2 -1
- data/lib/fauxhai/platforms/redhat/6.1.json +2 -1
- data/lib/fauxhai/platforms/redhat/6.2.json +2 -1
- data/lib/fauxhai/platforms/redhat/6.3.json +2 -1
- data/lib/fauxhai/platforms/redhat/6.4.json +2 -1
- data/lib/fauxhai/platforms/redhat/6.5.json +2 -1
- data/lib/fauxhai/platforms/redhat/6.6.json +1 -0
- data/lib/fauxhai/platforms/redhat/7.0.json +1 -0
- data/lib/fauxhai/platforms/redhat/7.1.json +1 -0
- data/lib/fauxhai/platforms/smartos/joyent_20130111T180733Z.json +2 -1
- data/lib/fauxhai/platforms/solaris2/5.11.json +10884 -3268
- data/lib/fauxhai/platforms/suse/11.3.json +2 -1
- data/lib/fauxhai/platforms/suse/12.0.json +1 -0
- data/lib/fauxhai/platforms/ubuntu/12.04.json +2 -1
- data/lib/fauxhai/platforms/ubuntu/14.04.json +2800 -272
- data/lib/fauxhai/platforms/ubuntu/15.04.json +2 -1
- data/lib/fauxhai/platforms/ubuntu/15.10.json +2 -1
- data/lib/fauxhai/platforms/ubuntu/16.04.json +3487 -541
- data/lib/fauxhai/platforms/windows/10.json +119 -82
- data/lib/fauxhai/platforms/windows/2003R2.json +1 -0
- data/lib/fauxhai/platforms/windows/2008R2.json +156 -5734
- data/lib/fauxhai/platforms/windows/2012R2.json +157 -3592
- data/lib/fauxhai/platforms/windows/7.json +116 -77
- data/lib/fauxhai/platforms/windows/8.1.json +100 -98
- data/lib/fauxhai/platforms/windows/8.json +1 -0
- data/lib/fauxhai/runner.rb +6 -3
- data/lib/fauxhai/runner/default.rb +133 -67
- data/lib/fauxhai/version.rb +1 -1
- metadata +15 -8
@@ -1,61 +1,69 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
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
|
-
"
|
20
|
-
"
|
21
|
-
"
|
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
|
-
"
|
37
|
-
"
|
38
|
-
|
39
|
-
|
40
|
-
"
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
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
|
-
"
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
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": "
|
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": "
|
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.
|
188
|
-
"String 2": "
|
195
|
+
"String 1": "vboxVer_5.1.22",
|
196
|
+
"String 2": "vboxRev_115126"
|
189
197
|
}
|
190
198
|
],
|
191
|
-
"string_1": "vboxVer_5.1.
|
192
|
-
"string_2": "
|
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
|
-
"
|
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
|
-
"
|
313
|
+
"lo": {
|
314
|
+
"mtu": "65536",
|
315
|
+
"flags": [
|
316
|
+
"LOOPBACK",
|
317
|
+
"UP",
|
318
|
+
"LOWER_UP"
|
319
|
+
],
|
320
|
+
"encapsulation": "Loopback",
|
285
321
|
"addresses": {
|
286
|
-
"
|
287
|
-
"broadcast": "10.0.0.255",
|
322
|
+
"127.0.0.1": {
|
288
323
|
"family": "inet",
|
289
|
-
"
|
290
|
-
"
|
291
|
-
"scope": "
|
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
|
-
"
|
295
|
-
|
296
|
-
|
297
|
-
"
|
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
|
-
"
|
305
|
-
"
|
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
|
-
"
|
316
|
-
|
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
|
}
|