fauxhai 5.6.0 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/PLATFORMS.md +4 -17
- data/lib/fauxhai/mocker.rb +5 -1
- data/lib/fauxhai/platforms/centos/5.10.json +1 -0
- data/lib/fauxhai/platforms/centos/6.7.json +1 -0
- data/lib/fauxhai/platforms/centos/7.2.1511.json +1 -0
- data/lib/fauxhai/platforms/debian/7.10.json +1 -0
- data/lib/fauxhai/platforms/debian/8.7.json +1 -0
- data/lib/fauxhai/platforms/debian/8.8.json +1 -0
- data/lib/fauxhai/platforms/debian/9.0.json +1 -0
- data/lib/fauxhai/platforms/debian/9.1.json +1 -0
- data/lib/fauxhai/platforms/fedora/24.json +1 -0
- data/lib/fauxhai/platforms/fedora/25.json +1 -0
- data/lib/fauxhai/platforms/freebsd/11.0.json +1 -0
- data/lib/fauxhai/platforms/openbsd/{5.4.json → 6.2.json} +147 -63
- data/lib/fauxhai/platforms/opensuse/13.2.json +1 -0
- data/lib/fauxhai/platforms/opensuse/42.1.json +1 -0
- data/lib/fauxhai/platforms/oracle/5.10.json +1 -0
- data/lib/fauxhai/platforms/oracle/7.2.json +1 -0
- data/lib/fauxhai/platforms/redhat/5.10.json +1 -0
- data/lib/fauxhai/platforms/redhat/7.2.json +1 -0
- data/lib/fauxhai/version.rb +1 -1
- metadata +4 -82
- data/lib/fauxhai/platforms/arch/4.5.4-1-ARCH.json +0 -675
- data/lib/fauxhai/platforms/arch/4.9.11-1-ARCH.json +0 -689
- data/lib/fauxhai/platforms/centos/5.0.json +0 -719
- data/lib/fauxhai/platforms/centos/5.1.json +0 -739
- data/lib/fauxhai/platforms/centos/5.2.json +0 -751
- data/lib/fauxhai/platforms/centos/5.3.json +0 -779
- data/lib/fauxhai/platforms/centos/5.4.json +0 -783
- data/lib/fauxhai/platforms/centos/5.5.json +0 -799
- data/lib/fauxhai/platforms/centos/5.6.json +0 -883
- data/lib/fauxhai/platforms/centos/5.7.json +0 -887
- data/lib/fauxhai/platforms/centos/5.8.json +0 -891
- data/lib/fauxhai/platforms/centos/5.9.json +0 -891
- data/lib/fauxhai/platforms/centos/6.0.json +0 -644
- data/lib/fauxhai/platforms/centos/6.1.json +0 -642
- data/lib/fauxhai/platforms/centos/6.2.json +0 -642
- data/lib/fauxhai/platforms/centos/6.3.json +0 -638
- data/lib/fauxhai/platforms/centos/6.4.json +0 -630
- data/lib/fauxhai/platforms/centos/6.5.json +0 -619
- data/lib/fauxhai/platforms/centos/6.6.json +0 -619
- data/lib/fauxhai/platforms/centos/7.0.1406.json +0 -822
- data/lib/fauxhai/platforms/centos/7.0.json +0 -822
- data/lib/fauxhai/platforms/centos/7.1.1503.json +0 -822
- data/lib/fauxhai/platforms/debian/7.0.json +0 -608
- data/lib/fauxhai/platforms/debian/7.1.json +0 -608
- data/lib/fauxhai/platforms/debian/7.2.json +0 -392
- data/lib/fauxhai/platforms/debian/7.4.json +0 -426
- data/lib/fauxhai/platforms/debian/7.5.json +0 -2687
- data/lib/fauxhai/platforms/debian/7.6.json +0 -601
- data/lib/fauxhai/platforms/debian/7.7.json +0 -644
- data/lib/fauxhai/platforms/debian/7.8.json +0 -644
- data/lib/fauxhai/platforms/debian/7.9.json +0 -683
- data/lib/fauxhai/platforms/debian/8.0.json +0 -690
- data/lib/fauxhai/platforms/debian/8.1.json +0 -690
- data/lib/fauxhai/platforms/debian/8.2.json +0 -790
- data/lib/fauxhai/platforms/debian/8.4.json +0 -794
- data/lib/fauxhai/platforms/debian/8.5.json +0 -765
- data/lib/fauxhai/platforms/debian/8.6.json +0 -765
- data/lib/fauxhai/platforms/dragonfly4/4.2-RELEASE.json +0 -160
- data/lib/fauxhai/platforms/fedora/21.json +0 -716
- data/lib/fauxhai/platforms/fedora/22.json +0 -760
- data/lib/fauxhai/platforms/fedora/23.json +0 -764
- data/lib/fauxhai/platforms/freebsd/10.1.json +0 -324
- data/lib/fauxhai/platforms/freebsd/10.2.json +0 -324
- data/lib/fauxhai/platforms/freebsd/9.3.json +0 -324
- data/lib/fauxhai/platforms/gentoo/2.2.json +0 -412
- data/lib/fauxhai/platforms/mac_os_x/10.11.1.json +0 -865
- data/lib/fauxhai/platforms/mac_os_x/10.9.2.json +0 -800
- data/lib/fauxhai/platforms/omnios/151014.json +0 -2426
- data/lib/fauxhai/platforms/opensuse/12.3.json +0 -619
- data/lib/fauxhai/platforms/opensuse/13.1.json +0 -571
- data/lib/fauxhai/platforms/oracle/5.8.json +0 -785
- data/lib/fauxhai/platforms/oracle/6.5.json +0 -352
- data/lib/fauxhai/platforms/oracle/6.6.json +0 -384
- data/lib/fauxhai/platforms/oracle/7.0.json +0 -635
- data/lib/fauxhai/platforms/oracle/7.1.json +0 -794
- data/lib/fauxhai/platforms/redhat/5.6.json +0 -2859
- data/lib/fauxhai/platforms/redhat/5.7.json +0 -2962
- data/lib/fauxhai/platforms/redhat/5.8.json +0 -1541
- data/lib/fauxhai/platforms/redhat/5.9.json +0 -2791
- data/lib/fauxhai/platforms/redhat/6.0.json +0 -2523
- data/lib/fauxhai/platforms/redhat/6.1.json +0 -2527
- data/lib/fauxhai/platforms/redhat/6.2.json +0 -2595
- data/lib/fauxhai/platforms/redhat/6.3.json +0 -2508
- data/lib/fauxhai/platforms/redhat/6.4.json +0 -319
- data/lib/fauxhai/platforms/redhat/6.5.json +0 -319
- data/lib/fauxhai/platforms/redhat/6.6.json +0 -631
- data/lib/fauxhai/platforms/redhat/6.7.json +0 -635
- data/lib/fauxhai/platforms/redhat/7.0.json +0 -831
- data/lib/fauxhai/platforms/redhat/7.1.json +0 -830
- data/lib/fauxhai/platforms/slackware/14.1.json +0 -373
- data/lib/fauxhai/platforms/smartos/joyent_20130111T180733Z.json +0 -1649
- data/lib/fauxhai/platforms/suse/11.3.json +0 -2524
- data/lib/fauxhai/platforms/suse/12.0.json +0 -821
- data/lib/fauxhai/platforms/ubuntu/12.04.json +0 -515
- data/lib/fauxhai/platforms/ubuntu/15.04.json +0 -651
- data/lib/fauxhai/platforms/ubuntu/15.10.json +0 -659
- data/lib/fauxhai/platforms/windows/2003R2.json +0 -7943
- data/lib/fauxhai/platforms/windows/8.json +0 -376
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bfa66da30a54ecc43e5055c06612b0a401462fd8dc6138969c05dbff5764985
|
4
|
+
data.tar.gz: dc9a1fee8032dc853e3c6fb39bcec2ce9e81749d1b46e3d4ded32875b209ed45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 880f11408f824e88a8b95a1140d7ece3ec271a35d16b82c0733bf0e79f437ed7ec81662bac48095d0f71f4093686c126ce6fc20a23045565a2117a3ac76dca9c
|
7
|
+
data.tar.gz: 6a212423b2e04a42c8e9fc765a0d1279e7f7b79c1a96c08588616b3e0be0afdcfbf08d9a4a6a7fa3a4c9659b2277e9a269c8047975f1ccecd655d6a6e1e3e39d
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,34 @@
|
|
1
1
|
# Fauxhai Changelog
|
2
2
|
|
3
|
+
## v6.0.0 (2018-03-07)
|
4
|
+
|
5
|
+
### Removed Deprecated Platforms
|
6
|
+
|
7
|
+
All previously deprecated platforms have been removed. If you previously saw deprecation messages when running fauxhai/chefspec you will now see a hard error message linking to the list of supported platforms. This allows us to keep the Fauxhai gem size reasonable and also allows us to remove files that were dumped with very old versions of Chef (10/11).
|
8
|
+
|
9
|
+
### New Deprecations
|
10
|
+
|
11
|
+
Multiple platform versions are now marked as deprecatedn and will begin throwing warning messages during ChefSpec runs. This continues the goal of providing only up to date fauxhai dumps using recent builds of Chef. Since regenerating fauxhai data against new releases of Chef involves manually installing each version of distros we're limiting the number of point releases we'll support. This mostly impacts distros such as Debian/RHEL that release many point releases for the same major version.
|
12
|
+
|
13
|
+
#### Newly Deprecated Platforms:
|
14
|
+
|
15
|
+
- CentOS 5.10 / 6.7 / 7.2.1511
|
16
|
+
- Debian 7.10 / 8.7 / 8.8 / 9.0 / 9.1
|
17
|
+
- Fedora 24 / 25
|
18
|
+
- FreeBSD 11
|
19
|
+
- openSUSE 13.2 / 42.1
|
20
|
+
- Oracle 5.10 / 7.2
|
21
|
+
- RedHat 5.10 / 7.2
|
22
|
+
|
23
|
+
### Other Changes
|
24
|
+
|
25
|
+
- Added openBSD 6.2 data
|
26
|
+
- Fauxhai now handles situations where it can fetch new platform data from Github, but can't write it to disk due to lack of permissions. This is pretty common in CI systems like Travis. Previously we'd fail, but no we'll use the data without writing it to disk. This will require fetching it every time, but avoids failures.
|
27
|
+
|
3
28
|
## v5.6.0 (2018-01-17)
|
4
29
|
|
5
30
|
- Add new platform data:
|
31
|
+
|
6
32
|
- `Debian` 9.3, 8.10
|
7
33
|
- `Fedora` 27
|
8
34
|
- `FreeBSD` 10.4
|
data/PLATFORMS.md
CHANGED
@@ -26,12 +26,9 @@ This file lists each platform known to Fauxhai and the available versions for ea
|
|
26
26
|
|
27
27
|
### centos
|
28
28
|
|
29
|
-
- 5.10
|
30
29
|
- 5.11
|
31
|
-
- 6.7
|
32
30
|
- 6.8
|
33
31
|
- 6.9
|
34
|
-
- 7.2.1511
|
35
32
|
- 7.3.1611
|
36
33
|
- 7.4.1708
|
37
34
|
|
@@ -41,14 +38,9 @@ This file lists each platform known to Fauxhai and the available versions for ea
|
|
41
38
|
|
42
39
|
### debian
|
43
40
|
|
44
|
-
- 7.10
|
45
41
|
- 7.11
|
46
42
|
- 8.10
|
47
|
-
- 8.7
|
48
|
-
- 8.8
|
49
43
|
- 8.9
|
50
|
-
- 9.0
|
51
|
-
- 9.1
|
52
44
|
- 9.2
|
53
45
|
- 9.3
|
54
46
|
|
@@ -58,8 +50,6 @@ This file lists each platform known to Fauxhai and the available versions for ea
|
|
58
50
|
|
59
51
|
### fedora
|
60
52
|
|
61
|
-
- 24
|
62
|
-
- 25
|
63
53
|
- 26
|
64
54
|
- 27
|
65
55
|
|
@@ -67,7 +57,6 @@ This file lists each platform known to Fauxhai and the available versions for ea
|
|
67
57
|
|
68
58
|
- 10.3
|
69
59
|
- 10.4
|
70
|
-
- 11.0
|
71
60
|
- 11.1
|
72
61
|
|
73
62
|
### gentoo
|
@@ -97,20 +86,20 @@ This file lists each platform known to Fauxhai and the available versions for ea
|
|
97
86
|
|
98
87
|
- 151018
|
99
88
|
|
89
|
+
### openbsd
|
90
|
+
|
91
|
+
- 6.2
|
92
|
+
|
100
93
|
### opensuse
|
101
94
|
|
102
|
-
- 13.2
|
103
|
-
- 42.1
|
104
95
|
- 42.2
|
105
96
|
- 42.3
|
106
97
|
|
107
98
|
### oracle
|
108
99
|
|
109
|
-
- 5.10
|
110
100
|
- 5.11
|
111
101
|
- 6.8
|
112
102
|
- 6.9
|
113
|
-
- 7.2
|
114
103
|
- 7.3
|
115
104
|
- 7.4
|
116
105
|
|
@@ -120,11 +109,9 @@ This file lists each platform known to Fauxhai and the available versions for ea
|
|
120
109
|
|
121
110
|
### redhat
|
122
111
|
|
123
|
-
- 5.10
|
124
112
|
- 5.11
|
125
113
|
- 6.8
|
126
114
|
- 6.9
|
127
|
-
- 7.2
|
128
115
|
- 7.3
|
129
116
|
- 7.4
|
130
117
|
|
data/lib/fauxhai/mocker.rb
CHANGED
@@ -65,7 +65,11 @@ module Fauxhai
|
|
65
65
|
path = Pathname.new(filepath)
|
66
66
|
FileUtils.mkdir_p(path.dirname)
|
67
67
|
|
68
|
-
|
68
|
+
begin
|
69
|
+
File.open(filepath, 'w') { |f| f.write(response_body) }
|
70
|
+
rescue Errno::EACCES # a pretty common problem in CI systems
|
71
|
+
puts "Fetched '#{platform}/#{version}' from GitHub, but could not write to the local path: #{filepath}. Fix the local file permissions to avoid downloading this file every run."
|
72
|
+
end
|
69
73
|
return parse_and_validate(response_body)
|
70
74
|
else
|
71
75
|
raise Fauxhai::Exception::InvalidPlatform.new("Could not find platform '#{platform}/#{version}' on the local disk and an Github fetching returned http error code #{response.status.first.to_i}! #{PLATFORM_LIST_MESSAGE}")
|
@@ -1,40 +1,58 @@
|
|
1
1
|
{
|
2
2
|
"chef_packages": {
|
3
3
|
"chef": {
|
4
|
-
"chef_root": "/
|
5
|
-
"version": "
|
4
|
+
"chef_root": "/usr/local/lib/ruby/gems/2.4/gems/chef-13.7.16/lib",
|
5
|
+
"version": "13.7.16"
|
6
6
|
},
|
7
7
|
"ohai": {
|
8
|
-
"ohai_root": "/
|
9
|
-
"version": "
|
8
|
+
"ohai_root": "/usr/local/lib/ruby/gems/2.4/gems/ohai-13.7.1/lib/ohai",
|
9
|
+
"version": "13.7.1"
|
10
10
|
}
|
11
11
|
},
|
12
12
|
"command": {
|
13
|
-
"ps": "ps -
|
13
|
+
"ps": "ps -axww"
|
14
14
|
},
|
15
15
|
"counters": {
|
16
16
|
"network": {
|
17
17
|
"interfaces": {
|
18
|
-
"
|
18
|
+
"em0": {
|
19
19
|
"rx": {
|
20
|
-
"bytes":
|
20
|
+
"bytes": 0,
|
21
21
|
"compressed": 0,
|
22
22
|
"drop": 0,
|
23
|
-
"errors":
|
23
|
+
"errors": 0,
|
24
24
|
"frame": 0,
|
25
25
|
"multicast": 0,
|
26
26
|
"overrun": 0,
|
27
|
-
"packets":
|
27
|
+
"packets": 0
|
28
28
|
},
|
29
29
|
"tx": {
|
30
|
-
"bytes":
|
30
|
+
"bytes": 0,
|
31
31
|
"carrier": 0,
|
32
|
-
"collisions":
|
32
|
+
"collisions": 0,
|
33
33
|
"compressed": 0,
|
34
34
|
"drop": 0,
|
35
|
-
"errors":
|
35
|
+
"errors": 0,
|
36
36
|
"overrun": 0,
|
37
|
-
"packets":
|
37
|
+
"packets": 0
|
38
|
+
}
|
39
|
+
},
|
40
|
+
"lo": {
|
41
|
+
"rx": {
|
42
|
+
"bytes": 0,
|
43
|
+
"drop": 0,
|
44
|
+
"errors": 0,
|
45
|
+
"overrun": 0,
|
46
|
+
"packets": 0
|
47
|
+
},
|
48
|
+
"tx": {
|
49
|
+
"bytes": 0,
|
50
|
+
"carrier": 0,
|
51
|
+
"collisions": 0,
|
52
|
+
"drop": 0,
|
53
|
+
"errors": 0,
|
54
|
+
"packets": 0,
|
55
|
+
"queuelen": "1"
|
38
56
|
}
|
39
57
|
}
|
40
58
|
}
|
@@ -46,8 +64,9 @@
|
|
46
64
|
"total": 1
|
47
65
|
},
|
48
66
|
"current_user": "fauxhai",
|
49
|
-
"
|
50
|
-
|
67
|
+
"dmi": {
|
68
|
+
"dmidecode_version": "3.1"
|
69
|
+
},
|
51
70
|
"domain": "local",
|
52
71
|
"etc": {
|
53
72
|
"group": {
|
@@ -70,79 +89,82 @@
|
|
70
89
|
},
|
71
90
|
"filesystem": {
|
72
91
|
"/dev/wd0a": {
|
73
|
-
"kb_available": "
|
74
|
-
"kb_size": "
|
75
|
-
"kb_used": "
|
92
|
+
"kb_available": "918196",
|
93
|
+
"kb_size": "1125820",
|
94
|
+
"kb_used": "151336",
|
76
95
|
"mount": "/",
|
77
|
-
"percent_used": "
|
96
|
+
"percent_used": "14%"
|
78
97
|
},
|
79
98
|
"/dev/wd0d": {
|
80
|
-
"kb_available": "
|
81
|
-
"kb_size": "
|
82
|
-
"kb_used": "
|
99
|
+
"kb_available": "1482524",
|
100
|
+
"kb_size": "1560572",
|
101
|
+
"kb_used": "20",
|
83
102
|
"mount": "/tmp",
|
84
103
|
"percent_used": "0%"
|
85
104
|
},
|
86
105
|
"/dev/wd0e": {
|
87
|
-
"kb_available": "
|
88
|
-
"kb_size": "
|
89
|
-
"kb_used": "
|
106
|
+
"kb_available": "2184620",
|
107
|
+
"kb_size": "2312028",
|
108
|
+
"kb_used": "11808",
|
90
109
|
"mount": "/var",
|
91
110
|
"percent_used": "1%"
|
92
111
|
},
|
93
112
|
"/dev/wd0f": {
|
94
|
-
"kb_available": "
|
95
|
-
"kb_size": "
|
96
|
-
"kb_used": "
|
113
|
+
"kb_available": "1118272",
|
114
|
+
"kb_size": "2638620",
|
115
|
+
"kb_used": "1388420",
|
97
116
|
"mount": "/usr",
|
98
|
-
"percent_used": "
|
117
|
+
"percent_used": "55%"
|
99
118
|
},
|
100
119
|
"/dev/wd0g": {
|
101
|
-
"kb_available": "
|
102
|
-
"kb_size": "
|
103
|
-
"kb_used": "
|
120
|
+
"kb_available": "1088508",
|
121
|
+
"kb_size": "1528796",
|
122
|
+
"kb_used": "363852",
|
104
123
|
"mount": "/usr/X11R6",
|
105
|
-
"percent_used": "
|
124
|
+
"percent_used": "25%"
|
106
125
|
},
|
107
126
|
"/dev/wd0h": {
|
108
|
-
"kb_available": "
|
109
|
-
"kb_size": "
|
110
|
-
"kb_used": "
|
127
|
+
"kb_available": "4295712",
|
128
|
+
"kb_size": "4896444",
|
129
|
+
"kb_used": "355912",
|
111
130
|
"mount": "/usr/local",
|
112
|
-
"percent_used": "
|
131
|
+
"percent_used": "8%"
|
113
132
|
},
|
114
133
|
"/dev/wd0i": {
|
115
|
-
"kb_available": "
|
116
|
-
"kb_size": "
|
134
|
+
"kb_available": "2274584",
|
135
|
+
"kb_size": "2394300",
|
117
136
|
"kb_used": "4",
|
118
137
|
"mount": "/usr/src",
|
119
138
|
"percent_used": "0%"
|
120
139
|
},
|
121
140
|
"/dev/wd0j": {
|
122
|
-
"kb_available": "
|
123
|
-
"kb_size": "
|
141
|
+
"kb_available": "6510336",
|
142
|
+
"kb_size": "6852988",
|
124
143
|
"kb_used": "4",
|
125
144
|
"mount": "/usr/obj",
|
126
145
|
"percent_used": "0%"
|
127
146
|
},
|
128
147
|
"/dev/wd0k": {
|
129
|
-
"kb_available": "
|
130
|
-
"kb_size": "
|
131
|
-
"kb_used": "
|
148
|
+
"kb_available": "7462920",
|
149
|
+
"kb_size": "7855708",
|
150
|
+
"kb_used": "4",
|
132
151
|
"mount": "/home",
|
133
152
|
"percent_used": "0%"
|
134
153
|
}
|
135
154
|
},
|
136
155
|
"fqdn": "fauxhai.local",
|
137
156
|
"hostname": "Fauxhai",
|
157
|
+
"idle": "30 days 15 hours 07 minutes 30 seconds",
|
158
|
+
"idletime_seconds": 2646450,
|
138
159
|
"ipaddress": "10.0.0.2",
|
139
160
|
"kernel": {
|
140
161
|
"machine": "amd64",
|
141
|
-
"modules": {},
|
142
162
|
"name": "OpenBSD",
|
143
163
|
"os": "OpenBSD",
|
144
|
-
"
|
145
|
-
"
|
164
|
+
"processor": "amd64",
|
165
|
+
"release": "6.2",
|
166
|
+
"securelevel": [],
|
167
|
+
"version": "GENERIC.MP#134"
|
146
168
|
},
|
147
169
|
"keys": {
|
148
170
|
"ssh": {
|
@@ -151,40 +173,53 @@
|
|
151
173
|
}
|
152
174
|
},
|
153
175
|
"languages": {
|
176
|
+
"powershell": null,
|
154
177
|
"ruby": {
|
155
178
|
"bin_dir": "/usr/local/bin",
|
156
179
|
"gem_bin": "/usr/local/bin/gem",
|
157
180
|
"gems_dir": "/usr/local/gems",
|
158
|
-
"host": "x86_64-unknown-
|
181
|
+
"host": "x86_64-unknown-openbsd6.2",
|
159
182
|
"host_cpu": "x86_64",
|
160
|
-
"host_os": "
|
183
|
+
"host_os": "openbsd6.2",
|
161
184
|
"host_vendor": "unknown",
|
162
185
|
"platform": "x86_64-openbsd",
|
163
|
-
"release_date": "
|
186
|
+
"release_date": "2017-09-14",
|
164
187
|
"ruby_bin": "/usr/local/bin/ruby",
|
165
|
-
"target": "x86_64-unknown-
|
188
|
+
"target": "x86_64-unknown-openbsd6.2",
|
166
189
|
"target_cpu": "x86_64",
|
167
|
-
"target_os": "
|
190
|
+
"target_os": "openbsd6.2",
|
168
191
|
"target_vendor": "unknown",
|
169
|
-
"version": "
|
192
|
+
"version": "2.4.2"
|
170
193
|
}
|
171
194
|
},
|
172
195
|
"macaddress": "11:11:11:11:11:11",
|
196
|
+
"machinename": "Fauxhai",
|
173
197
|
"memory": {
|
174
|
-
"total": "
|
198
|
+
"total": "1048576kB"
|
175
199
|
},
|
176
200
|
"network": {
|
177
201
|
"default_gateway": "10.0.0.1",
|
178
|
-
"default_interface": "
|
202
|
+
"default_interface": "em0",
|
179
203
|
"interfaces": {
|
180
|
-
"
|
204
|
+
"em0": {
|
181
205
|
"addresses": {
|
182
206
|
"10.0.0.2": {
|
183
207
|
"broadcast": "10.0.0.255",
|
184
208
|
"family": "inet",
|
209
|
+
"ip_scope": "RFC1918 PRIVATE",
|
185
210
|
"netmask": "255.255.255.0",
|
186
211
|
"prefixlen": "24",
|
187
212
|
"scope": "Global"
|
213
|
+
},
|
214
|
+
"11:11:11:11:11:11": {
|
215
|
+
"family": "lladdr"
|
216
|
+
},
|
217
|
+
"fe80::11:1111:1111:1111": {
|
218
|
+
"family": "inet6",
|
219
|
+
"ip_scope": "LINK LOCAL UNICAST",
|
220
|
+
"prefixlen": "64",
|
221
|
+
"scope": "Link",
|
222
|
+
"tags": []
|
188
223
|
}
|
189
224
|
},
|
190
225
|
"arp": {
|
@@ -199,27 +234,76 @@
|
|
199
234
|
],
|
200
235
|
"mtu": "1500",
|
201
236
|
"number": "0",
|
237
|
+
"ring_params": {},
|
202
238
|
"routes": [
|
239
|
+
{
|
240
|
+
"destination": "default",
|
241
|
+
"family": "inet",
|
242
|
+
"via": "10.0.0.1"
|
243
|
+
},
|
203
244
|
{
|
204
245
|
"destination": "10.0.0.0/24",
|
205
246
|
"family": "inet",
|
206
247
|
"proto": "kernel",
|
207
248
|
"scope": "link",
|
208
249
|
"src": "10.0.0.2"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"destination": "fe80::/64",
|
253
|
+
"family": "inet6",
|
254
|
+
"metric": "256",
|
255
|
+
"proto": "kernel"
|
209
256
|
}
|
210
257
|
],
|
211
258
|
"state": "up",
|
212
|
-
"type": "
|
259
|
+
"type": "em"
|
260
|
+
},
|
261
|
+
"lo": {
|
262
|
+
"addresses": {
|
263
|
+
"127.0.0.1": {
|
264
|
+
"family": "inet",
|
265
|
+
"ip_scope": "LOOPBACK",
|
266
|
+
"netmask": "255.0.0.0",
|
267
|
+
"prefixlen": "8",
|
268
|
+
"scope": "Node"
|
269
|
+
},
|
270
|
+
"::1": {
|
271
|
+
"family": "inet6",
|
272
|
+
"ip_scope": "LINK LOCAL LOOPBACK",
|
273
|
+
"prefixlen": "128",
|
274
|
+
"scope": "Node",
|
275
|
+
"tags": []
|
276
|
+
}
|
277
|
+
},
|
278
|
+
"encapsulation": "Loopback",
|
279
|
+
"flags": [
|
280
|
+
"LOOPBACK",
|
281
|
+
"UP",
|
282
|
+
"LOWER_UP"
|
283
|
+
],
|
284
|
+
"mtu": "65536",
|
285
|
+
"state": "unknown"
|
213
286
|
}
|
214
|
-
}
|
215
|
-
"settings": {}
|
287
|
+
}
|
216
288
|
},
|
217
|
-
"ohai_time":
|
289
|
+
"ohai_time": 1516740656.4110098,
|
218
290
|
"os": "openbsd",
|
219
|
-
"os_version": "
|
291
|
+
"os_version": "6.2",
|
220
292
|
"platform": "openbsd",
|
221
293
|
"platform_family": "openbsd",
|
222
|
-
"platform_version": "
|
294
|
+
"platform_version": "6.2",
|
295
|
+
"root_group": "wheel",
|
296
|
+
"shells": [
|
297
|
+
"/bin/sh",
|
298
|
+
"/bin/csh",
|
299
|
+
"/bin/ksh"
|
300
|
+
],
|
301
|
+
"time": {
|
302
|
+
"timezone": "GMT"
|
303
|
+
},
|
223
304
|
"uptime": "30 days 15 hours 07 minutes 30 seconds",
|
224
|
-
"uptime_seconds": 2646450
|
305
|
+
"uptime_seconds": 2646450,
|
306
|
+
"virtualization": {
|
307
|
+
"systems": {}
|
308
|
+
}
|
225
309
|
}
|