fauxhai 5.6.0 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/PLATFORMS.md +4 -17
  4. data/lib/fauxhai/mocker.rb +5 -1
  5. data/lib/fauxhai/platforms/centos/5.10.json +1 -0
  6. data/lib/fauxhai/platforms/centos/6.7.json +1 -0
  7. data/lib/fauxhai/platforms/centos/7.2.1511.json +1 -0
  8. data/lib/fauxhai/platforms/debian/7.10.json +1 -0
  9. data/lib/fauxhai/platforms/debian/8.7.json +1 -0
  10. data/lib/fauxhai/platforms/debian/8.8.json +1 -0
  11. data/lib/fauxhai/platforms/debian/9.0.json +1 -0
  12. data/lib/fauxhai/platforms/debian/9.1.json +1 -0
  13. data/lib/fauxhai/platforms/fedora/24.json +1 -0
  14. data/lib/fauxhai/platforms/fedora/25.json +1 -0
  15. data/lib/fauxhai/platforms/freebsd/11.0.json +1 -0
  16. data/lib/fauxhai/platforms/openbsd/{5.4.json → 6.2.json} +147 -63
  17. data/lib/fauxhai/platforms/opensuse/13.2.json +1 -0
  18. data/lib/fauxhai/platforms/opensuse/42.1.json +1 -0
  19. data/lib/fauxhai/platforms/oracle/5.10.json +1 -0
  20. data/lib/fauxhai/platforms/oracle/7.2.json +1 -0
  21. data/lib/fauxhai/platforms/redhat/5.10.json +1 -0
  22. data/lib/fauxhai/platforms/redhat/7.2.json +1 -0
  23. data/lib/fauxhai/version.rb +1 -1
  24. metadata +4 -82
  25. data/lib/fauxhai/platforms/arch/4.5.4-1-ARCH.json +0 -675
  26. data/lib/fauxhai/platforms/arch/4.9.11-1-ARCH.json +0 -689
  27. data/lib/fauxhai/platforms/centos/5.0.json +0 -719
  28. data/lib/fauxhai/platforms/centos/5.1.json +0 -739
  29. data/lib/fauxhai/platforms/centos/5.2.json +0 -751
  30. data/lib/fauxhai/platforms/centos/5.3.json +0 -779
  31. data/lib/fauxhai/platforms/centos/5.4.json +0 -783
  32. data/lib/fauxhai/platforms/centos/5.5.json +0 -799
  33. data/lib/fauxhai/platforms/centos/5.6.json +0 -883
  34. data/lib/fauxhai/platforms/centos/5.7.json +0 -887
  35. data/lib/fauxhai/platforms/centos/5.8.json +0 -891
  36. data/lib/fauxhai/platforms/centos/5.9.json +0 -891
  37. data/lib/fauxhai/platforms/centos/6.0.json +0 -644
  38. data/lib/fauxhai/platforms/centos/6.1.json +0 -642
  39. data/lib/fauxhai/platforms/centos/6.2.json +0 -642
  40. data/lib/fauxhai/platforms/centos/6.3.json +0 -638
  41. data/lib/fauxhai/platforms/centos/6.4.json +0 -630
  42. data/lib/fauxhai/platforms/centos/6.5.json +0 -619
  43. data/lib/fauxhai/platforms/centos/6.6.json +0 -619
  44. data/lib/fauxhai/platforms/centos/7.0.1406.json +0 -822
  45. data/lib/fauxhai/platforms/centos/7.0.json +0 -822
  46. data/lib/fauxhai/platforms/centos/7.1.1503.json +0 -822
  47. data/lib/fauxhai/platforms/debian/7.0.json +0 -608
  48. data/lib/fauxhai/platforms/debian/7.1.json +0 -608
  49. data/lib/fauxhai/platforms/debian/7.2.json +0 -392
  50. data/lib/fauxhai/platforms/debian/7.4.json +0 -426
  51. data/lib/fauxhai/platforms/debian/7.5.json +0 -2687
  52. data/lib/fauxhai/platforms/debian/7.6.json +0 -601
  53. data/lib/fauxhai/platforms/debian/7.7.json +0 -644
  54. data/lib/fauxhai/platforms/debian/7.8.json +0 -644
  55. data/lib/fauxhai/platforms/debian/7.9.json +0 -683
  56. data/lib/fauxhai/platforms/debian/8.0.json +0 -690
  57. data/lib/fauxhai/platforms/debian/8.1.json +0 -690
  58. data/lib/fauxhai/platforms/debian/8.2.json +0 -790
  59. data/lib/fauxhai/platforms/debian/8.4.json +0 -794
  60. data/lib/fauxhai/platforms/debian/8.5.json +0 -765
  61. data/lib/fauxhai/platforms/debian/8.6.json +0 -765
  62. data/lib/fauxhai/platforms/dragonfly4/4.2-RELEASE.json +0 -160
  63. data/lib/fauxhai/platforms/fedora/21.json +0 -716
  64. data/lib/fauxhai/platforms/fedora/22.json +0 -760
  65. data/lib/fauxhai/platforms/fedora/23.json +0 -764
  66. data/lib/fauxhai/platforms/freebsd/10.1.json +0 -324
  67. data/lib/fauxhai/platforms/freebsd/10.2.json +0 -324
  68. data/lib/fauxhai/platforms/freebsd/9.3.json +0 -324
  69. data/lib/fauxhai/platforms/gentoo/2.2.json +0 -412
  70. data/lib/fauxhai/platforms/mac_os_x/10.11.1.json +0 -865
  71. data/lib/fauxhai/platforms/mac_os_x/10.9.2.json +0 -800
  72. data/lib/fauxhai/platforms/omnios/151014.json +0 -2426
  73. data/lib/fauxhai/platforms/opensuse/12.3.json +0 -619
  74. data/lib/fauxhai/platforms/opensuse/13.1.json +0 -571
  75. data/lib/fauxhai/platforms/oracle/5.8.json +0 -785
  76. data/lib/fauxhai/platforms/oracle/6.5.json +0 -352
  77. data/lib/fauxhai/platforms/oracle/6.6.json +0 -384
  78. data/lib/fauxhai/platforms/oracle/7.0.json +0 -635
  79. data/lib/fauxhai/platforms/oracle/7.1.json +0 -794
  80. data/lib/fauxhai/platforms/redhat/5.6.json +0 -2859
  81. data/lib/fauxhai/platforms/redhat/5.7.json +0 -2962
  82. data/lib/fauxhai/platforms/redhat/5.8.json +0 -1541
  83. data/lib/fauxhai/platforms/redhat/5.9.json +0 -2791
  84. data/lib/fauxhai/platforms/redhat/6.0.json +0 -2523
  85. data/lib/fauxhai/platforms/redhat/6.1.json +0 -2527
  86. data/lib/fauxhai/platforms/redhat/6.2.json +0 -2595
  87. data/lib/fauxhai/platforms/redhat/6.3.json +0 -2508
  88. data/lib/fauxhai/platforms/redhat/6.4.json +0 -319
  89. data/lib/fauxhai/platforms/redhat/6.5.json +0 -319
  90. data/lib/fauxhai/platforms/redhat/6.6.json +0 -631
  91. data/lib/fauxhai/platforms/redhat/6.7.json +0 -635
  92. data/lib/fauxhai/platforms/redhat/7.0.json +0 -831
  93. data/lib/fauxhai/platforms/redhat/7.1.json +0 -830
  94. data/lib/fauxhai/platforms/slackware/14.1.json +0 -373
  95. data/lib/fauxhai/platforms/smartos/joyent_20130111T180733Z.json +0 -1649
  96. data/lib/fauxhai/platforms/suse/11.3.json +0 -2524
  97. data/lib/fauxhai/platforms/suse/12.0.json +0 -821
  98. data/lib/fauxhai/platforms/ubuntu/12.04.json +0 -515
  99. data/lib/fauxhai/platforms/ubuntu/15.04.json +0 -651
  100. data/lib/fauxhai/platforms/ubuntu/15.10.json +0 -659
  101. data/lib/fauxhai/platforms/windows/2003R2.json +0 -7943
  102. data/lib/fauxhai/platforms/windows/8.json +0 -376
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9a2992fb0565ab54899f967e09d1017baa87179f56d546fa91cd302da513bf1
4
- data.tar.gz: ea60541a579d704e9152dd3bc5fb1d95031037798c341a285e23b307c392329f
3
+ metadata.gz: 4bfa66da30a54ecc43e5055c06612b0a401462fd8dc6138969c05dbff5764985
4
+ data.tar.gz: dc9a1fee8032dc853e3c6fb39bcec2ce9e81749d1b46e3d4ded32875b209ed45
5
5
  SHA512:
6
- metadata.gz: ac65626db42d5623bdbff0c23c3992bb442f2e8430d4aae59bebe80a05f539e8c79c428839a6ffb26dc26244653597f30507c940b76b1768b854bf0e62e8723a
7
- data.tar.gz: dd0f89f3c97c9a217ea12099d136466426dc83164b509a0d1e9941db12832939570c61d550cd4131ffa27ae6e34186743ca503b2377b94fdf69c0a33e24d4d5f
6
+ metadata.gz: 880f11408f824e88a8b95a1140d7ece3ec271a35d16b82c0733bf0e79f437ed7ec81662bac48095d0f71f4093686c126ce6fc20a23045565a2117a3ac76dca9c
7
+ data.tar.gz: 6a212423b2e04a42c8e9fc765a0d1279e7f7b79c1a96c08588616b3e0be0afdcfbf08d9a4a6a7fa3a4c9659b2277e9a269c8047975f1ccecd655d6a6e1e3e39d
@@ -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
@@ -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
 
@@ -65,7 +65,11 @@ module Fauxhai
65
65
  path = Pathname.new(filepath)
66
66
  FileUtils.mkdir_p(path.dirname)
67
67
 
68
- File.open(filepath, 'w') { |f| f.write(response_body) }
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}")
@@ -156,6 +156,7 @@
156
156
  "total": 1
157
157
  },
158
158
  "current_user": "fauxhai",
159
+ "deprecated": true,
159
160
  "dmi": {
160
161
  "base_board": {
161
162
  "all_records": [
@@ -46,6 +46,7 @@
46
46
  "total": 1
47
47
  },
48
48
  "current_user": "fauxhai",
49
+ "deprecated": true,
49
50
  "dmi": {
50
51
  "base_board": {
51
52
  "all_records": [
@@ -106,6 +106,7 @@
106
106
  "total": 1
107
107
  },
108
108
  "current_user": "fauxhai",
109
+ "deprecated": true,
109
110
  "dmi": {
110
111
  "base_board": {
111
112
  "all_records": [
@@ -285,6 +285,7 @@
285
285
  "table_location": "0x000E1000"
286
286
  },
287
287
  "domain": "local",
288
+ "deprecated": true,
288
289
  "etc": {
289
290
  "group": {
290
291
  "fauxhai": {
@@ -92,6 +92,7 @@
92
92
  "total": 1
93
93
  },
94
94
  "current_user": "fauxhai",
95
+ "deprecated": true,
95
96
  "dmi": {
96
97
  "base_board": {
97
98
  "all_records": [
@@ -92,6 +92,7 @@
92
92
  "total": 1
93
93
  },
94
94
  "current_user": "fauxhai",
95
+ "deprecated": true,
95
96
  "dmi": {
96
97
  "base_board": {
97
98
  "all_records": [
@@ -92,6 +92,7 @@
92
92
  "total": 1
93
93
  },
94
94
  "current_user": "fauxhai",
95
+ "deprecated": true,
95
96
  "dmi": {
96
97
  "base_board": {
97
98
  "all_records": [
@@ -92,6 +92,7 @@
92
92
  "total": 1
93
93
  },
94
94
  "current_user": "fauxhai",
95
+ "deprecated": true,
95
96
  "dmi": {
96
97
  "base_board": {
97
98
  "all_records": [
@@ -106,6 +106,7 @@
106
106
  "total": 1
107
107
  },
108
108
  "current_user": "fauxhai",
109
+ "deprecated": true,
109
110
  "dmi": {},
110
111
  "domain": "local",
111
112
  "etc": {
@@ -106,6 +106,7 @@
106
106
  "total": 1
107
107
  },
108
108
  "current_user": "fauxhai",
109
+ "deprecated": true,
109
110
  "dmi": {},
110
111
  "domain": "local",
111
112
  "etc": {
@@ -64,6 +64,7 @@
64
64
  "total": 1
65
65
  },
66
66
  "current_user": "fauxhai",
67
+ "deprecated": true,
67
68
  "dmi": {
68
69
  "base_board": {
69
70
  "all_records": [
@@ -1,40 +1,58 @@
1
1
  {
2
2
  "chef_packages": {
3
3
  "chef": {
4
- "chef_root": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-11.8.2/lib",
5
- "version": "11.8.2"
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": "/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-6.20.0/lib/ohai",
9
- "version": "6.20.0"
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 -ax"
13
+ "ps": "ps -axww"
14
14
  },
15
15
  "counters": {
16
16
  "network": {
17
17
  "interfaces": {
18
- "eth0": {
18
+ "em0": {
19
19
  "rx": {
20
- "bytes": "0",
20
+ "bytes": 0,
21
21
  "compressed": 0,
22
22
  "drop": 0,
23
- "errors": "0",
23
+ "errors": 0,
24
24
  "frame": 0,
25
25
  "multicast": 0,
26
26
  "overrun": 0,
27
- "packets": "0"
27
+ "packets": 0
28
28
  },
29
29
  "tx": {
30
- "bytes": "342",
30
+ "bytes": 0,
31
31
  "carrier": 0,
32
- "collisions": "0",
32
+ "collisions": 0,
33
33
  "compressed": 0,
34
34
  "drop": 0,
35
- "errors": "0",
35
+ "errors": 0,
36
36
  "overrun": 0,
37
- "packets": "0"
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
- "deprecated": true,
50
- "dmi": {},
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": "207296",
74
- "kb_size": "458140",
75
- "kb_used": "227940",
92
+ "kb_available": "918196",
93
+ "kb_size": "1125820",
94
+ "kb_used": "151336",
76
95
  "mount": "/",
77
- "percent_used": "52%"
96
+ "percent_used": "14%"
78
97
  },
79
98
  "/dev/wd0d": {
80
- "kb_available": "683956",
81
- "kb_size": "719964",
82
- "kb_used": "12",
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": "878624",
88
- "kb_size": "934748",
89
- "kb_used": "9388",
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": "1172744",
95
- "kb_size": "2107580",
96
- "kb_used": "829460",
113
+ "kb_available": "1118272",
114
+ "kb_size": "2638620",
115
+ "kb_used": "1388420",
97
116
  "mount": "/usr",
98
- "percent_used": "41%"
117
+ "percent_used": "55%"
99
118
  },
100
119
  "/dev/wd0g": {
101
- "kb_available": "1150664",
102
- "kb_size": "1211228",
103
- "kb_used": "4",
120
+ "kb_available": "1088508",
121
+ "kb_size": "1528796",
122
+ "kb_used": "363852",
104
123
  "mount": "/usr/X11R6",
105
- "percent_used": "0%"
124
+ "percent_used": "25%"
106
125
  },
107
126
  "/dev/wd0h": {
108
- "kb_available": "4331404",
109
- "kb_size": "4723100",
110
- "kb_used": "155544",
127
+ "kb_available": "4295712",
128
+ "kb_size": "4896444",
129
+ "kb_used": "355912",
111
130
  "mount": "/usr/local",
112
- "percent_used": "3%"
131
+ "percent_used": "8%"
113
132
  },
114
133
  "/dev/wd0i": {
115
- "kb_available": "2070296",
116
- "kb_size": "2179260",
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": "2710244",
123
- "kb_size": "2852892",
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": "4514684",
130
- "kb_size": "4752540",
131
- "kb_used": "232",
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
- "release": "5.4",
145
- "version": "GENERIC#37"
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-openbsd5.4",
181
+ "host": "x86_64-unknown-openbsd6.2",
159
182
  "host_cpu": "x86_64",
160
- "host_os": "openbsd5.4",
183
+ "host_os": "openbsd6.2",
161
184
  "host_vendor": "unknown",
162
185
  "platform": "x86_64-openbsd",
163
- "release_date": "2013-06-27",
186
+ "release_date": "2017-09-14",
164
187
  "ruby_bin": "/usr/local/bin/ruby",
165
- "target": "x86_64-unknown-openbsd5.4",
188
+ "target": "x86_64-unknown-openbsd6.2",
166
189
  "target_cpu": "x86_64",
167
- "target_os": "openbsd5.4",
190
+ "target_os": "openbsd6.2",
168
191
  "target_vendor": "unknown",
169
- "version": "1.9.3"
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": "536870912"
198
+ "total": "1048576kB"
175
199
  },
176
200
  "network": {
177
201
  "default_gateway": "10.0.0.1",
178
- "default_interface": "eth0",
202
+ "default_interface": "em0",
179
203
  "interfaces": {
180
- "eth0": {
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": "eth"
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": 1391638039.477498,
289
+ "ohai_time": 1516740656.4110098,
218
290
  "os": "openbsd",
219
- "os_version": "5.4",
291
+ "os_version": "6.2",
220
292
  "platform": "openbsd",
221
293
  "platform_family": "openbsd",
222
- "platform_version": "5.4",
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
  }