chef-dk 4.5.0 → 4.6.35

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d3bb719bf9d2fbbb8f2da0aa9526733ec1598243ed457b2e4896e7beccd6fa35
4
- data.tar.gz: 31bfaf0d3c187ba6edf5d96694404c1b2e7b42bb13841b974333e36b63fe532d
3
+ metadata.gz: dd86b6cdf75d50cb8b383117987796fd7929e7ed73d117e0e58ea6f0065fea52
4
+ data.tar.gz: 3500d1a3122f0b794b9c15601d1f390c487f1b1e5d02e90ef03e203da419f2b7
5
5
  SHA512:
6
- metadata.gz: 72b9c2bceab172a22c0a1022eca6c1d6d1eb91dfdaf78ec0f30a959d237c47b41820ad1c18fd49a620d9675c50fd073f46a0c4fb97f6e9c1386bf79620ae7a25
7
- data.tar.gz: b91842a5ed65b313c17da04cdcf986dfa98bcae6ee0d42bc56e0ece5c1cf63061e3796bfca75f39f1bb18a1d8c8cef897cccf1e9a7cb3574bd07674c272a488d
6
+ metadata.gz: e999abc503e4455926f6110d0f44d729f2dc6af30467980b5ad9379342edd9d7e9cae6bd998874475f1847824426dd516ea6f1079dc2922541e4e962c1a95b7c
7
+ data.tar.gz: efeab3a9cf201e27b4edafa417bd86c06d82799d86eb33c1cce7e6f1da3c28fb440983898bdd0bc4f2421c87a383a2cbeb803494620ca052bfc5ba99b7cc92b6
data/Gemfile CHANGED
@@ -48,19 +48,26 @@ end
48
48
  # We equality pin the chef gem itself to assert which version we're shipping.
49
49
  group(:omnibus_package) do
50
50
  gem "appbundler"
51
- gem "berkshelf", ">= 7.0.8"
52
- gem "chef-vault", ">= 3.4.1"
51
+
53
52
  # Expeditor manages the version of chef released to Rubygems. We only release 'stable' chef
54
53
  # gems to Rubygems now, so letting this float on latest should always give us the latest
55
54
  # stable release. May have to re-pin around major version bumping time, or during patch
56
55
  # fixes.
57
- gem "chef", "= 15.4.45"
58
- gem "chef-bin", "= 15.4.45"
56
+ gem "chef", "= 15.5.17"
57
+ gem "chef-bin", "= 15.5.17"
58
+ gem "ohai", ">= 14"
59
59
  gem "cheffish", ">= 14.0.1"
60
+
61
+ # chefspec
60
62
  gem "chefspec", ">= 7.3.0", "< 8"
61
63
  gem "fauxhai", "~> 7.0"
64
+
65
+ # inspec
62
66
  gem "inspec-bin", "~> 4.10" # the actual inspec CLI binary
63
67
  gem "inspec", "~> 4.10"
68
+
69
+ # test-kitchen and plugins
70
+ gem "test-kitchen", ">= 2.0"
64
71
  gem "kitchen-azurerm", ">= 0.14"
65
72
  gem "kitchen-ec2", ">= 3.0", "< 4"
66
73
  gem "kitchen-digitalocean", ">= 0.10.0"
@@ -69,26 +76,16 @@ group(:omnibus_package) do
69
76
  gem "kitchen-hyperv", ">= 0.5.1"
70
77
  gem "kitchen-inspec", ">= 1.0"
71
78
  gem "kitchen-vagrant", ">= 1.6"
79
+
80
+ # knife plugins
72
81
  gem "knife-acl", ">= 1.0.3"
73
82
  gem "knife-azure", ">= 2.0.1"
74
83
  gem "knife-ec2", ">= 1.0"
75
- gem "knife-google", ">= 3.3.3"
84
+ gem "knife-google", ">= 4.2.0"
76
85
  gem "knife-tidy", ">= 1.2.0"
77
86
  gem "knife-windows", ">= 3.0"
78
87
  gem "knife-opc", ">= 0.4.0"
79
- gem "knife-vsphere", ">= 2.1.1"
80
- gem "mixlib-archive", ">= 0.4.16"
81
- gem "ohai", ">= 14"
82
- gem "net-ssh", ">= 4.2.0"
83
- gem "test-kitchen", ">= 2.0"
84
- gem "listen"
85
- gem "dco"
86
-
87
- # many layers down these bring in ethon which uses ffi / libcurl and breaks on windows
88
- # we want to get this working, but for now it's disabled so we can get a build out
89
- # make sure to add curl back to the omnibus def before enabling this again
90
- # gem "knife-vcenter", ">= 2.0"
91
- # gem "kitchen-vcenter", ">= 2.0"
88
+ gem "knife-vsphere", ">= 4.0"
92
89
 
93
90
  # ed25519 ssh key support done here as it's a native gem we can't put in train
94
91
  gem "ed25519"
@@ -102,7 +99,7 @@ group(:omnibus_package) do
102
99
  gem "chef-apply", "= 0.3.0"
103
100
 
104
101
  # For Delivery build node
105
- gem "chef-sugar-ng"
102
+ gem "chef-sugar"
106
103
  gem "mixlib-versioning"
107
104
  gem "artifactory"
108
105
  gem "opscode-pushy-client", ">= 2.99"
@@ -110,6 +107,10 @@ group(:omnibus_package) do
110
107
  gem "knife-push"
111
108
 
112
109
  # All of the following used to be software definitions we included:
110
+ gem "mixlib-archive", ">= 0.4.16"
111
+ gem "net-ssh", ">= 4.2.0"
112
+ gem "listen"
113
+ gem "dco"
113
114
  gem "knife-spork"
114
115
  gem "mixlib-install"
115
116
  gem "nokogiri"
@@ -120,7 +121,9 @@ group(:omnibus_package) do
120
121
  gem "winrm-fs"
121
122
  gem "winrm-elevated"
122
123
  gem "cucumber"
123
- gem "chef-stove"
124
+ gem "stove", ">= 7.1.5"
125
+ gem "berkshelf", ">= 7.0.8"
126
+ gem "chef-vault", ">= 3.4.1"
124
127
  end
125
128
 
126
129
  # Everything except AIX
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chef-dk (4.5.0)
4
+ chef-dk (4.6.35)
5
5
  addressable (>= 2.3.5, < 2.6)
6
6
  chef (~> 15.0)
7
7
  cookbook-omnifetch (~> 0.5)
@@ -17,7 +17,7 @@ PATH
17
17
  GEM
18
18
  remote: https://rubygems.org/
19
19
  specs:
20
- activesupport (5.2.3)
20
+ activesupport (5.2.4)
21
21
  concurrent-ruby (~> 1.0, >= 1.0.2)
22
22
  i18n (>= 0.7, < 2)
23
23
  minitest (~> 5.1)
@@ -31,147 +31,147 @@ GEM
31
31
  artifactory (3.0.5)
32
32
  ast (2.4.0)
33
33
  aws-eventstream (1.0.3)
34
- aws-partitions (1.223.0)
35
- aws-sdk-apigateway (1.35.0)
36
- aws-sdk-core (~> 3, >= 3.61.1)
34
+ aws-partitions (1.246.0)
35
+ aws-sdk-apigateway (1.36.0)
36
+ aws-sdk-core (~> 3, >= 3.71.0)
37
37
  aws-sigv4 (~> 1.1)
38
- aws-sdk-apigatewayv2 (1.13.0)
39
- aws-sdk-core (~> 3, >= 3.61.1)
38
+ aws-sdk-apigatewayv2 (1.14.0)
39
+ aws-sdk-core (~> 3, >= 3.71.0)
40
40
  aws-sigv4 (~> 1.1)
41
- aws-sdk-athena (1.20.0)
42
- aws-sdk-core (~> 3, >= 3.61.1)
41
+ aws-sdk-athena (1.22.0)
42
+ aws-sdk-core (~> 3, >= 3.71.0)
43
43
  aws-sigv4 (~> 1.1)
44
44
  aws-sdk-autoscaling (1.22.0)
45
45
  aws-sdk-core (~> 3, >= 3.52.1)
46
46
  aws-sigv4 (~> 1.1)
47
- aws-sdk-budgets (1.25.0)
48
- aws-sdk-core (~> 3, >= 3.61.1)
47
+ aws-sdk-budgets (1.27.0)
48
+ aws-sdk-core (~> 3, >= 3.71.0)
49
49
  aws-sigv4 (~> 1.1)
50
- aws-sdk-cloudformation (1.25.0)
51
- aws-sdk-core (~> 3, >= 3.61.1)
50
+ aws-sdk-cloudformation (1.29.0)
51
+ aws-sdk-core (~> 3, >= 3.71.0)
52
52
  aws-sigv4 (~> 1.1)
53
- aws-sdk-cloudhsm (1.18.0)
54
- aws-sdk-core (~> 3, >= 3.61.1)
53
+ aws-sdk-cloudhsm (1.19.0)
54
+ aws-sdk-core (~> 3, >= 3.71.0)
55
55
  aws-sigv4 (~> 1.1)
56
- aws-sdk-cloudhsmv2 (1.18.0)
57
- aws-sdk-core (~> 3, >= 3.61.1)
56
+ aws-sdk-cloudhsmv2 (1.19.0)
57
+ aws-sdk-core (~> 3, >= 3.71.0)
58
58
  aws-sigv4 (~> 1.1)
59
- aws-sdk-cloudtrail (1.17.0)
60
- aws-sdk-core (~> 3, >= 3.61.1)
59
+ aws-sdk-cloudtrail (1.20.0)
60
+ aws-sdk-core (~> 3, >= 3.71.0)
61
61
  aws-sigv4 (~> 1.1)
62
- aws-sdk-cloudwatch (1.28.0)
63
- aws-sdk-core (~> 3, >= 3.61.1)
62
+ aws-sdk-cloudwatch (1.31.0)
63
+ aws-sdk-core (~> 3, >= 3.71.0)
64
64
  aws-sigv4 (~> 1.1)
65
- aws-sdk-cloudwatchlogs (1.25.0)
66
- aws-sdk-core (~> 3, >= 3.61.1)
65
+ aws-sdk-cloudwatchlogs (1.27.0)
66
+ aws-sdk-core (~> 3, >= 3.71.0)
67
67
  aws-sigv4 (~> 1.1)
68
- aws-sdk-codecommit (1.28.0)
69
- aws-sdk-core (~> 3, >= 3.61.1)
68
+ aws-sdk-codecommit (1.30.0)
69
+ aws-sdk-core (~> 3, >= 3.71.0)
70
70
  aws-sigv4 (~> 1.1)
71
- aws-sdk-codedeploy (1.26.0)
72
- aws-sdk-core (~> 3, >= 3.61.1)
71
+ aws-sdk-codedeploy (1.27.0)
72
+ aws-sdk-core (~> 3, >= 3.71.0)
73
73
  aws-sigv4 (~> 1.1)
74
- aws-sdk-codepipeline (1.25.0)
75
- aws-sdk-core (~> 3, >= 3.61.1)
74
+ aws-sdk-codepipeline (1.27.0)
75
+ aws-sdk-core (~> 3, >= 3.71.0)
76
76
  aws-sigv4 (~> 1.1)
77
- aws-sdk-configservice (1.37.0)
78
- aws-sdk-core (~> 3, >= 3.61.1)
77
+ aws-sdk-configservice (1.40.0)
78
+ aws-sdk-core (~> 3, >= 3.71.0)
79
79
  aws-sigv4 (~> 1.1)
80
- aws-sdk-core (3.68.1)
80
+ aws-sdk-core (3.82.0)
81
81
  aws-eventstream (~> 1.0, >= 1.0.2)
82
- aws-partitions (~> 1.0)
82
+ aws-partitions (~> 1, >= 1.239.0)
83
83
  aws-sigv4 (~> 1.1)
84
84
  jmespath (~> 1.0)
85
- aws-sdk-costandusagereportservice (1.17.0)
86
- aws-sdk-core (~> 3, >= 3.61.1)
85
+ aws-sdk-costandusagereportservice (1.18.0)
86
+ aws-sdk-core (~> 3, >= 3.71.0)
87
87
  aws-sigv4 (~> 1.1)
88
- aws-sdk-dynamodb (1.36.0)
89
- aws-sdk-core (~> 3, >= 3.61.1)
88
+ aws-sdk-dynamodb (1.40.0)
89
+ aws-sdk-core (~> 3, >= 3.71.0)
90
90
  aws-sigv4 (~> 1.1)
91
- aws-sdk-ec2 (1.112.0)
92
- aws-sdk-core (~> 3, >= 3.61.1)
91
+ aws-sdk-ec2 (1.121.0)
92
+ aws-sdk-core (~> 3, >= 3.71.0)
93
93
  aws-sigv4 (~> 1.1)
94
- aws-sdk-ecr (1.20.0)
95
- aws-sdk-core (~> 3, >= 3.61.1)
94
+ aws-sdk-ecr (1.23.0)
95
+ aws-sdk-core (~> 3, >= 3.71.0)
96
96
  aws-sigv4 (~> 1.1)
97
- aws-sdk-ecs (1.51.0)
98
- aws-sdk-core (~> 3, >= 3.61.1)
97
+ aws-sdk-ecs (1.53.0)
98
+ aws-sdk-core (~> 3, >= 3.71.0)
99
99
  aws-sigv4 (~> 1.1)
100
- aws-sdk-eks (1.26.0)
101
- aws-sdk-core (~> 3, >= 3.61.1)
100
+ aws-sdk-eks (1.28.0)
101
+ aws-sdk-core (~> 3, >= 3.71.0)
102
102
  aws-sigv4 (~> 1.1)
103
- aws-sdk-elasticache (1.26.0)
104
- aws-sdk-core (~> 3, >= 3.61.1)
103
+ aws-sdk-elasticache (1.29.0)
104
+ aws-sdk-core (~> 3, >= 3.71.0)
105
105
  aws-sigv4 (~> 1.1)
106
- aws-sdk-elasticbeanstalk (1.25.0)
107
- aws-sdk-core (~> 3, >= 3.61.1)
106
+ aws-sdk-elasticbeanstalk (1.26.0)
107
+ aws-sdk-core (~> 3, >= 3.71.0)
108
108
  aws-sigv4 (~> 1.1)
109
- aws-sdk-elasticloadbalancing (1.18.0)
110
- aws-sdk-core (~> 3, >= 3.61.1)
109
+ aws-sdk-elasticloadbalancing (1.19.0)
110
+ aws-sdk-core (~> 3, >= 3.71.0)
111
111
  aws-sigv4 (~> 1.1)
112
- aws-sdk-elasticloadbalancingv2 (1.34.0)
113
- aws-sdk-core (~> 3, >= 3.61.1)
112
+ aws-sdk-elasticloadbalancingv2 (1.39.0)
113
+ aws-sdk-core (~> 3, >= 3.71.0)
114
114
  aws-sigv4 (~> 1.1)
115
- aws-sdk-elasticsearchservice (1.27.0)
116
- aws-sdk-core (~> 3, >= 3.61.1)
115
+ aws-sdk-elasticsearchservice (1.28.0)
116
+ aws-sdk-core (~> 3, >= 3.71.0)
117
117
  aws-sigv4 (~> 1.1)
118
- aws-sdk-firehose (1.22.0)
119
- aws-sdk-core (~> 3, >= 3.61.1)
118
+ aws-sdk-firehose (1.24.0)
119
+ aws-sdk-core (~> 3, >= 3.71.0)
120
120
  aws-sigv4 (~> 1.1)
121
- aws-sdk-iam (1.30.0)
122
- aws-sdk-core (~> 3, >= 3.61.1)
121
+ aws-sdk-iam (1.32.0)
122
+ aws-sdk-core (~> 3, >= 3.71.0)
123
123
  aws-sigv4 (~> 1.1)
124
- aws-sdk-kafka (1.13.0)
125
- aws-sdk-core (~> 3, >= 3.61.1)
124
+ aws-sdk-kafka (1.15.0)
125
+ aws-sdk-core (~> 3, >= 3.71.0)
126
126
  aws-sigv4 (~> 1.1)
127
- aws-sdk-kinesis (1.19.0)
128
- aws-sdk-core (~> 3, >= 3.61.1)
127
+ aws-sdk-kinesis (1.20.0)
128
+ aws-sdk-core (~> 3, >= 3.71.0)
129
129
  aws-sigv4 (~> 1.1)
130
- aws-sdk-kms (1.24.0)
131
- aws-sdk-core (~> 3, >= 3.61.1)
130
+ aws-sdk-kms (1.26.0)
131
+ aws-sdk-core (~> 3, >= 3.71.0)
132
132
  aws-sigv4 (~> 1.1)
133
- aws-sdk-lambda (1.30.0)
134
- aws-sdk-core (~> 3, >= 3.61.1)
133
+ aws-sdk-lambda (1.33.0)
134
+ aws-sdk-core (~> 3, >= 3.71.0)
135
135
  aws-sigv4 (~> 1.1)
136
136
  aws-sdk-organizations (1.17.0)
137
137
  aws-sdk-core (~> 3, >= 3.39.0)
138
138
  aws-sigv4 (~> 1.0)
139
- aws-sdk-rds (1.67.0)
140
- aws-sdk-core (~> 3, >= 3.61.1)
139
+ aws-sdk-rds (1.72.0)
140
+ aws-sdk-core (~> 3, >= 3.71.0)
141
141
  aws-sigv4 (~> 1.1)
142
- aws-sdk-redshift (1.32.0)
143
- aws-sdk-core (~> 3, >= 3.61.1)
142
+ aws-sdk-redshift (1.34.0)
143
+ aws-sdk-core (~> 3, >= 3.71.0)
144
144
  aws-sigv4 (~> 1.1)
145
- aws-sdk-route53 (1.29.0)
146
- aws-sdk-core (~> 3, >= 3.61.1)
145
+ aws-sdk-route53 (1.30.0)
146
+ aws-sdk-core (~> 3, >= 3.71.0)
147
147
  aws-sigv4 (~> 1.1)
148
- aws-sdk-route53domains (1.17.0)
149
- aws-sdk-core (~> 3, >= 3.61.1)
148
+ aws-sdk-route53domains (1.18.0)
149
+ aws-sdk-core (~> 3, >= 3.71.0)
150
150
  aws-sigv4 (~> 1.1)
151
- aws-sdk-route53resolver (1.10.0)
152
- aws-sdk-core (~> 3, >= 3.61.1)
151
+ aws-sdk-route53resolver (1.11.0)
152
+ aws-sdk-core (~> 3, >= 3.71.0)
153
153
  aws-sigv4 (~> 1.1)
154
- aws-sdk-s3 (1.49.0)
155
- aws-sdk-core (~> 3, >= 3.61.1)
154
+ aws-sdk-s3 (1.57.0)
155
+ aws-sdk-core (~> 3, >= 3.77.0)
156
156
  aws-sdk-kms (~> 1)
157
157
  aws-sigv4 (~> 1.1)
158
- aws-sdk-securityhub (1.13.0)
159
- aws-sdk-core (~> 3, >= 3.61.1)
158
+ aws-sdk-securityhub (1.14.0)
159
+ aws-sdk-core (~> 3, >= 3.71.0)
160
160
  aws-sigv4 (~> 1.1)
161
- aws-sdk-ses (1.26.0)
162
- aws-sdk-core (~> 3, >= 3.61.1)
161
+ aws-sdk-ses (1.27.0)
162
+ aws-sdk-core (~> 3, >= 3.71.0)
163
163
  aws-sigv4 (~> 1.1)
164
- aws-sdk-sms (1.16.0)
165
- aws-sdk-core (~> 3, >= 3.61.1)
164
+ aws-sdk-sms (1.17.0)
165
+ aws-sdk-core (~> 3, >= 3.71.0)
166
166
  aws-sigv4 (~> 1.1)
167
- aws-sdk-sns (1.19.0)
168
- aws-sdk-core (~> 3, >= 3.61.1)
167
+ aws-sdk-sns (1.21.0)
168
+ aws-sdk-core (~> 3, >= 3.71.0)
169
169
  aws-sigv4 (~> 1.1)
170
- aws-sdk-sqs (1.22.0)
171
- aws-sdk-core (~> 3, >= 3.61.1)
170
+ aws-sdk-sqs (1.23.1)
171
+ aws-sdk-core (~> 3, >= 3.71.0)
172
172
  aws-sigv4 (~> 1.1)
173
- aws-sdk-ssm (1.57.0)
174
- aws-sdk-core (~> 3, >= 3.61.1)
173
+ aws-sdk-ssm (1.65.0)
174
+ aws-sdk-core (~> 3, >= 3.71.0)
175
175
  aws-sigv4 (~> 1.1)
176
176
  aws-sigv4 (1.1.0)
177
177
  aws-eventstream (~> 1.0, >= 1.0.2)
@@ -181,15 +181,15 @@ GEM
181
181
  thread_safe (~> 0.3, >= 0.3.1)
182
182
  azure_graph_rbac (0.17.1)
183
183
  ms_rest_azure (~> 0.11.0)
184
- azure_mgmt_compute (0.18.7)
184
+ azure_mgmt_compute (0.19.0)
185
185
  ms_rest_azure (~> 0.11.1)
186
- azure_mgmt_key_vault (0.17.4)
187
- ms_rest_azure (~> 0.11.0)
188
- azure_mgmt_network (0.21.0)
186
+ azure_mgmt_key_vault (0.17.5)
187
+ ms_rest_azure (~> 0.11.1)
188
+ azure_mgmt_network (0.23.0)
189
189
  ms_rest_azure (~> 0.11.1)
190
- azure_mgmt_resources (0.17.7)
190
+ azure_mgmt_resources (0.17.8)
191
191
  ms_rest_azure (~> 0.11.1)
192
- azure_mgmt_storage (0.18.1)
192
+ azure_mgmt_storage (0.18.2)
193
193
  ms_rest_azure (~> 0.11.1)
194
194
  backports (3.15.0)
195
195
  bcrypt_pbkdf (1.0.1)
@@ -212,11 +212,12 @@ GEM
212
212
  debug_inspector (>= 0.0.1)
213
213
  builder (3.2.3)
214
214
  byebug (11.0.1)
215
- chef (15.4.45)
215
+ chef (15.5.17)
216
216
  addressable
217
217
  bcrypt_pbkdf (~> 1.0)
218
218
  bundler (>= 1.10)
219
- chef-config (= 15.4.45)
219
+ chef-config (= 15.5.17)
220
+ chef-utils (= 15.5.17)
220
221
  chef-zero (>= 14.0.11)
221
222
  diff-lcs (~> 1.2, >= 1.2.4)
222
223
  ed25519 (~> 1.2)
@@ -228,7 +229,7 @@ GEM
228
229
  iniparse (~> 1.4)
229
230
  license-acceptance (~> 1.0, >= 1.0.5)
230
231
  mixlib-archive (>= 0.4, < 2.0)
231
- mixlib-authentication (~> 2.1)
232
+ mixlib-authentication (>= 2.1, < 4)
232
233
  mixlib-cli (>= 2.1.1, < 3.0)
233
234
  mixlib-log (>= 2.0.3, < 4.0)
234
235
  mixlib-shellout (>= 3.0.3, < 4.0)
@@ -243,11 +244,12 @@ GEM
243
244
  train-winrm (>= 0.2.5)
244
245
  tty-screen (~> 0.6)
245
246
  uuidtools (~> 2.1.5)
246
- chef (15.4.45-universal-mingw32)
247
+ chef (15.5.17-universal-mingw32)
247
248
  addressable
248
249
  bcrypt_pbkdf (~> 1.0)
249
250
  bundler (>= 1.10)
250
- chef-config (= 15.4.45)
251
+ chef-config (= 15.5.17)
252
+ chef-utils (= 15.5.17)
251
253
  chef-zero (>= 14.0.11)
252
254
  diff-lcs (~> 1.2, >= 1.2.4)
253
255
  ed25519 (~> 1.2)
@@ -260,7 +262,7 @@ GEM
260
262
  iso8601 (~> 0.12.1)
261
263
  license-acceptance (~> 1.0, >= 1.0.5)
262
264
  mixlib-archive (>= 0.4, < 2.0)
263
- mixlib-authentication (~> 2.1)
265
+ mixlib-authentication (>= 2.1, < 4)
264
266
  mixlib-cli (>= 2.1.1, < 3.0)
265
267
  mixlib-log (>= 2.0.3, < 4.0)
266
268
  mixlib-shellout (>= 3.0.3, < 4.0)
@@ -286,6 +288,9 @@ GEM
286
288
  win32-service (>= 2.1.2, < 3.0)
287
289
  win32-taskscheduler (~> 2.0)
288
290
  wmi-lite (~> 1.0)
291
+ chef-api (0.10.0)
292
+ logify (~> 0.1)
293
+ mime-types
289
294
  chef-apply (0.3.0)
290
295
  chef (>= 15.0)
291
296
  chef-dk (>= 4.0)
@@ -300,26 +305,22 @@ GEM
300
305
  toml-rb
301
306
  train
302
307
  tty-spinner
303
- chef-bin (15.4.45)
304
- chef (= 15.4.45)
305
- chef-config (15.4.45)
308
+ chef-bin (15.5.17)
309
+ chef (= 15.5.17)
310
+ chef-config (15.5.17)
306
311
  addressable
312
+ chef-utils (= 15.5.17)
307
313
  fuzzyurl
308
314
  mixlib-config (>= 2.2.12, < 4.0)
309
315
  mixlib-shellout (>= 2.0, < 4.0)
310
316
  tomlrb (~> 1.2)
311
- chef-infra-api (0.9.1)
312
- logify (~> 0.1)
313
- mime-types
314
- chef-stove (7.1.1)
315
- chef-infra-api (~> 0.5)
316
- logify (~> 0.2)
317
- chef-sugar-ng (5.0.4)
317
+ chef-sugar (5.1.9)
318
318
  chef-telemetry (0.1.8)
319
319
  chef-config
320
320
  concurrent-ruby (~> 1.0)
321
321
  ffi-yajl (~> 2.2)
322
322
  http (~> 2.2)
323
+ chef-utils (15.5.17)
323
324
  chef-vault (3.4.3)
324
325
  chef-zero (14.0.13)
325
326
  ffi-yajl (~> 2.2)
@@ -334,8 +335,8 @@ GEM
334
335
  chef (>= 13)
335
336
  fauxhai (>= 6.11)
336
337
  rspec (~> 3.0)
337
- chefstyle (0.13.3)
338
- rubocop (= 0.72.0)
338
+ chefstyle (0.14.0)
339
+ rubocop (= 0.75.1)
339
340
  citrus (3.0.2)
340
341
  cleanroom (1.0.0)
341
342
  coderay (1.1.2)
@@ -344,8 +345,8 @@ GEM
344
345
  concurrent-ruby (1.1.5)
345
346
  cookbook-omnifetch (0.9.0)
346
347
  mixlib-archive (>= 0.4, < 2.0)
347
- cookstyle (5.9.3)
348
- rubocop (= 0.72.0)
348
+ cookstyle (5.13.7)
349
+ rubocop (= 0.75.1)
349
350
  cucumber (3.1.2)
350
351
  builder (>= 2.1.2)
351
352
  cucumber-core (~> 3.2.0)
@@ -381,8 +382,7 @@ GEM
381
382
  multi_json
382
383
  domain_name (0.5.20190701)
383
384
  unf (>= 0.0.5, < 1.0.0)
384
- droplet_kit (2.9.0)
385
- activesupport (> 3.0, < 6)
385
+ droplet_kit (3.3.1)
386
386
  faraday (~> 0.15)
387
387
  kartograph (~> 0.2.3)
388
388
  resource_kit (~> 0.1.5)
@@ -390,9 +390,10 @@ GEM
390
390
  ed25519 (1.2.4)
391
391
  equalizer (0.0.11)
392
392
  equatable (0.6.1)
393
+ erubi (1.9.0)
393
394
  erubis (2.7.0)
394
- excon (0.67.0)
395
- faraday (0.17.0)
395
+ excon (0.69.1)
396
+ faraday (0.17.1)
396
397
  multipart-post (>= 1.2, < 3)
397
398
  faraday-cookie_jar (0.0.6)
398
399
  faraday (>= 0.7.4)
@@ -401,9 +402,9 @@ GEM
401
402
  faraday (>= 0.7.4, < 1.0)
402
403
  fauxhai (7.4.0)
403
404
  net-ssh
404
- ffi (1.11.1)
405
- ffi (1.11.1-x64-mingw32)
406
- ffi (1.11.1-x86-mingw32)
405
+ ffi (1.11.3)
406
+ ffi (1.11.3-x64-mingw32)
407
+ ffi (1.11.3-x86-mingw32)
407
408
  ffi-libarchive (0.4.10)
408
409
  ffi (~> 1.0)
409
410
  ffi-rzmq (2.0.7)
@@ -414,8 +415,8 @@ GEM
414
415
  ffi
415
416
  ffi-yajl (2.3.1)
416
417
  libyajl2 (~> 1.2)
417
- filesize (0.1.1)
418
- foodcritic (16.1.1)
418
+ filesize (0.2.0)
419
+ foodcritic (16.2.0)
419
420
  cucumber-core (>= 1.3, < 4.0)
420
421
  erubis
421
422
  ffi-yajl (~> 2.0)
@@ -429,24 +430,24 @@ GEM
429
430
  google-api-client (~> 0.13)
430
431
  gherkin (5.1.0)
431
432
  git (1.5.0)
432
- google-api-client (0.23.9)
433
+ google-api-client (0.34.1)
433
434
  addressable (~> 2.5, >= 2.5.1)
434
- googleauth (>= 0.5, < 0.7.0)
435
+ googleauth (~> 0.9)
435
436
  httpclient (>= 2.8.1, < 3.0)
436
- mime-types (~> 3.0)
437
+ mini_mime (~> 1.0)
437
438
  representable (~> 3.0)
438
439
  retriable (>= 2.0, < 4.0)
439
- signet (~> 0.9)
440
- googleauth (0.6.7)
440
+ signet (~> 0.12)
441
+ googleauth (0.10.0)
441
442
  faraday (~> 0.12)
442
443
  jwt (>= 1.4, < 3.0)
443
444
  memoist (~> 0.16)
444
445
  multi_json (~> 1.11)
445
446
  os (>= 0.9, < 2.0)
446
- signet (~> 0.7)
447
+ signet (~> 0.12)
447
448
  gssapi (1.3.0)
448
449
  ffi (>= 1.0.1)
449
- guard (2.15.1)
450
+ guard (2.16.1)
450
451
  formatador (>= 0.2.4)
451
452
  listen (>= 2.7, < 4.0)
452
453
  lumberjack (>= 1.0.12, < 2.0)
@@ -475,7 +476,7 @@ GEM
475
476
  ice_nine (0.11.2)
476
477
  inifile (3.0.0)
477
478
  iniparse (1.4.4)
478
- inspec (4.18.0)
479
+ inspec (4.18.39)
479
480
  addressable (~> 2.4)
480
481
  faraday (>= 0.9.0)
481
482
  faraday_middleware (~> 0.12.2)
@@ -503,11 +504,11 @@ GEM
503
504
  train-winrm (~> 0.2)
504
505
  tty-prompt (~> 0.17)
505
506
  tty-table (~> 0.10)
506
- inspec-bin (4.18.0)
507
- inspec (= 4.18.0)
507
+ inspec-bin (4.18.39)
508
+ inspec (= 4.18.39)
508
509
  ipaddress (0.8.3)
509
510
  iso8601 (0.12.1)
510
- jaro_winkler (1.5.3)
511
+ jaro_winkler (1.5.4)
511
512
  jmespath (1.4.0)
512
513
  json (2.2.0)
513
514
  json-schema (2.8.1)
@@ -519,10 +520,10 @@ GEM
519
520
  azure_mgmt_resources (~> 0.17, >= 0.17.2)
520
521
  inifile (~> 3.0, >= 3.0.0)
521
522
  sshkey (~> 1, >= 1.0.0)
522
- kitchen-digitalocean (0.10.4)
523
- droplet_kit (~> 2.8)
523
+ kitchen-digitalocean (0.10.5)
524
+ droplet_kit (>= 2.8, < 4.0)
524
525
  test-kitchen (>= 1.17, < 3)
525
- kitchen-dokken (2.7.0)
526
+ kitchen-dokken (2.8.0)
526
527
  docker-api (~> 1.33)
527
528
  lockfile (~> 2.1)
528
529
  test-kitchen (>= 1.15, < 3)
@@ -532,13 +533,13 @@ GEM
532
533
  multi_json
533
534
  retryable (>= 2.0, < 4.0)
534
535
  test-kitchen (>= 1.4.1, < 3)
535
- kitchen-google (2.0.1)
536
+ kitchen-google (2.0.2)
536
537
  gcewinpass (~> 1.1)
537
- google-api-client (~> 0.19)
538
+ google-api-client (>= 0.23.9, < 0.35.0)
538
539
  test-kitchen
539
540
  kitchen-hyperv (0.5.3)
540
541
  test-kitchen (>= 1.4, < 3)
541
- kitchen-inspec (1.2.0)
542
+ kitchen-inspec (1.3.1)
542
543
  hashie (~> 3.4)
543
544
  inspec (>= 1.47, < 5.0)
544
545
  test-kitchen (>= 1.6, < 3)
@@ -560,13 +561,13 @@ GEM
560
561
  chef (>= 15.0)
561
562
  excon (>= 0.50)
562
563
  mixlib-shellout
563
- knife-ec2 (1.0.16)
564
+ knife-ec2 (1.0.17)
564
565
  aws-sdk-ec2 (~> 1.95)
565
566
  aws-sdk-s3 (~> 1.43)
566
567
  chef (>= 15.1)
567
- knife-google (4.2.0)
568
+ knife-google (4.2.1)
568
569
  gcewinpass (~> 1.1)
569
- google-api-client (>= 0.19.8, < 0.25)
570
+ google-api-client (>= 0.23.9, < 0.35.0)
570
571
  knife-cloud (>= 2.0.0)
571
572
  knife-opc (0.4.1)
572
573
  knife-push (1.1.2)
@@ -577,13 +578,13 @@ GEM
577
578
  diffy (>= 3.0.1)
578
579
  git (>= 1.2.5)
579
580
  knife-tidy (2.0.1)
580
- knife-vsphere (4.0.3)
581
+ knife-vsphere (4.0.7)
581
582
  chef (>= 15.1)
582
583
  chef-bin (>= 15.1)
583
584
  chef-vault (>= 2.6.0)
584
- filesize (~> 0.1.1)
585
+ filesize (>= 0.1.1, < 0.3.0)
585
586
  netaddr (~> 1.5)
586
- rbvmomi (~> 1.8)
587
+ rbvmomi (>= 1.8, < 3.0)
587
588
  knife-windows (3.0.3)
588
589
  chef (>= 15.0)
589
590
  winrm (~> 2.1)
@@ -604,11 +605,12 @@ GEM
604
605
  multi_json (~> 1.10)
605
606
  logify (0.2.0)
606
607
  lumberjack (1.0.13)
607
- memoist (0.16.0)
608
+ memoist (0.16.1)
608
609
  method_source (0.9.2)
609
610
  mime-types (3.3)
610
611
  mime-types-data (~> 3.2015)
611
612
  mime-types-data (3.2019.1009)
613
+ mini_mime (1.0.2)
612
614
  mini_portile2 (2.4.0)
613
615
  minitar (0.9)
614
616
  minitest (5.10.3)
@@ -616,9 +618,9 @@ GEM
616
618
  mixlib-log
617
619
  mixlib-archive (1.0.1-universal-mingw32)
618
620
  mixlib-log
619
- mixlib-authentication (2.1.1)
621
+ mixlib-authentication (3.0.4)
620
622
  mixlib-cli (2.1.1)
621
- mixlib-config (3.0.1)
623
+ mixlib-config (3.0.5)
622
624
  tomlrb
623
625
  mixlib-install (3.11.21)
624
626
  mixlib-shellout
@@ -644,7 +646,7 @@ GEM
644
646
  multi_json (1.14.1)
645
647
  multi_test (0.1.2)
646
648
  multipart-post (2.1.1)
647
- necromancer (0.5.0)
649
+ necromancer (0.5.1)
648
650
  nenv (0.3.0)
649
651
  net-scp (2.0.0)
650
652
  net-ssh (>= 2.6.5, < 6.0.0)
@@ -657,11 +659,11 @@ GEM
657
659
  net-ssh (>= 2.6.5)
658
660
  net-ssh-gateway (>= 1.2.0)
659
661
  netaddr (1.5.1)
660
- nokogiri (1.10.4)
662
+ nokogiri (1.10.5)
661
663
  mini_portile2 (~> 2.4.0)
662
- nokogiri (1.10.4-x64-mingw32)
664
+ nokogiri (1.10.5-x64-mingw32)
663
665
  mini_portile2 (~> 2.4.0)
664
- nokogiri (1.10.4-x86-mingw32)
666
+ nokogiri (1.10.5-x86-mingw32)
665
667
  mini_portile2 (~> 2.4.0)
666
668
  nori (2.6.0)
667
669
  notiffany (0.1.3)
@@ -686,9 +688,10 @@ GEM
686
688
  ffi-rzmq
687
689
  ohai (>= 14.0, < 16.0)
688
690
  uuidtools
691
+ optimist (3.0.0)
689
692
  os (1.0.1)
690
693
  paint (1.0.1)
691
- parallel (1.18.0)
694
+ parallel (1.19.1)
692
695
  parser (2.6.5.0)
693
696
  ast (~> 2.4.0)
694
697
  parslet (1.8.2)
@@ -721,11 +724,11 @@ GEM
721
724
  rb-inotify (0.10.0)
722
725
  ffi (~> 1.0)
723
726
  rb-readline (0.5.5)
724
- rbvmomi (1.13.0)
727
+ rbvmomi (2.2.0)
725
728
  builder (~> 3.0)
726
729
  json (>= 1.8)
727
730
  nokogiri (~> 1.5)
728
- trollop (~> 2.1)
731
+ optimist (~> 3.0)
729
732
  rdoc (6.0.1)
730
733
  rdp-ruby-wmi (0.3.1)
731
734
  representable (3.0.4)
@@ -735,7 +738,7 @@ GEM
735
738
  resource_kit (0.1.7)
736
739
  addressable (>= 2.3.6, < 3.0.0)
737
740
  retriable (3.1.2)
738
- retryable (3.0.4)
741
+ retryable (3.0.5)
739
742
  rspec (3.8.0)
740
743
  rspec-core (~> 3.8.0)
741
744
  rspec-expectations (~> 3.8.0)
@@ -752,7 +755,7 @@ GEM
752
755
  diff-lcs (>= 1.2.0, < 2.0)
753
756
  rspec-support (~> 3.8.0)
754
757
  rspec-support (3.8.3)
755
- rubocop (0.72.0)
758
+ rubocop (0.75.1)
756
759
  jaro_winkler (~> 1.5.1)
757
760
  parallel (~> 1.10)
758
761
  parser (>= 2.6)
@@ -781,17 +784,20 @@ GEM
781
784
  semverse (>= 1.1, < 4.0)
782
785
  sshkey (1.9.0)
783
786
  sslshake (1.3.0)
784
- strings (0.1.6)
787
+ stove (7.1.5)
788
+ chef-api (~> 0.5)
789
+ logify (~> 0.2)
790
+ strings (0.1.8)
785
791
  strings-ansi (~> 0.1)
786
792
  unicode-display_width (~> 1.5)
787
793
  unicode_utils (~> 1.4)
788
- strings-ansi (0.1.0)
794
+ strings-ansi (0.2.0)
789
795
  structured_warnings (0.4.0)
790
796
  syslog-logger (1.6.8)
791
797
  systemu (2.6.5)
792
798
  term-ansicolor (1.7.1)
793
799
  tins (~> 1.0)
794
- test-kitchen (2.3.3)
800
+ test-kitchen (2.3.4)
795
801
  bcrypt_pbkdf (~> 1.0)
796
802
  ed25519 (~> 1.2)
797
803
  license-acceptance (~> 1.0, >= 1.0.11)
@@ -807,23 +813,24 @@ GEM
807
813
  thor (0.20.3)
808
814
  thread_safe (0.3.6)
809
815
  timeliness (0.3.10)
810
- tins (1.21.1)
811
- toml-rb (1.1.2)
816
+ tins (1.22.2)
817
+ toml-rb (2.0.1)
812
818
  citrus (~> 3.0, > 3.0)
813
- tomlrb (1.2.8)
814
- train (3.1.4)
819
+ tomlrb (1.2.9)
820
+ train (3.1.8)
821
+ activesupport (~> 5.2.3)
815
822
  azure_graph_rbac (~> 0.16)
816
823
  azure_mgmt_key_vault (~> 0.17)
817
824
  azure_mgmt_resources (~> 0.15)
818
825
  docker-api (~> 1.26)
819
- google-api-client (~> 0.23.9)
820
- googleauth (~> 0.6.6)
826
+ google-api-client (>= 0.23.9, < 0.35.0)
827
+ googleauth (>= 0.6.6, < 0.11.0)
821
828
  inifile
822
829
  json (>= 1.8, < 3.0)
823
830
  mixlib-shellout (>= 2.0, < 4.0)
824
831
  net-scp (>= 1.2, < 3.0)
825
832
  net-ssh (>= 2.9, < 6.0)
826
- train-aws (0.1.11)
833
+ train-aws (0.1.13)
827
834
  aws-sdk-apigateway (~> 1)
828
835
  aws-sdk-apigatewayv2 (~> 1)
829
836
  aws-sdk-athena (~> 1)
@@ -870,29 +877,28 @@ GEM
870
877
  aws-sdk-sns (~> 1.9)
871
878
  aws-sdk-sqs (~> 1.10)
872
879
  aws-sdk-ssm (~> 1)
873
- train-core (3.1.4)
880
+ train-core (3.1.8)
874
881
  json (>= 1.8, < 3.0)
875
882
  mixlib-shellout (>= 2.0, < 4.0)
876
883
  net-scp (>= 1.2, < 3.0)
877
884
  net-ssh (>= 2.9, < 6.0)
878
- train-habitat (0.2.11)
885
+ train-habitat (0.2.13)
879
886
  train-winrm (0.2.5)
880
887
  winrm (~> 2.0)
881
888
  winrm-fs (~> 1.0)
882
889
  treetop (1.6.10)
883
890
  polyglot (~> 0.3)
884
- trollop (2.9.9)
885
891
  tty-box (0.5.0)
886
892
  pastel (~> 0.7.2)
887
893
  strings (~> 0.1.6)
888
894
  tty-cursor (~> 0.7)
889
895
  tty-color (0.5.0)
890
896
  tty-cursor (0.7.0)
891
- tty-prompt (0.19.0)
897
+ tty-prompt (0.20.0)
892
898
  necromancer (~> 0.5.0)
893
899
  pastel (~> 0.7.0)
894
- tty-reader (~> 0.6.0)
895
- tty-reader (0.6.0)
900
+ tty-reader (~> 0.7.0)
901
+ tty-reader (0.7.0)
896
902
  tty-cursor (~> 0.7)
897
903
  tty-screen (~> 0.7)
898
904
  wisper (~> 2.0.0)
@@ -950,20 +956,21 @@ GEM
950
956
  windows-pr (1.2.6)
951
957
  win32-api (>= 1.4.5)
952
958
  windows-api (>= 0.4.0)
953
- winrm (2.3.2)
959
+ winrm (2.3.3)
954
960
  builder (>= 2.1.2)
955
- erubis (~> 2.7)
961
+ erubi (~> 1.8)
956
962
  gssapi (~> 1.2)
957
963
  gyoku (~> 1.0)
958
964
  httpclient (~> 2.2, >= 2.2.0.2)
959
965
  logging (>= 1.6.1, < 3.0)
960
966
  nori (~> 2.0)
961
967
  rubyntlm (~> 0.6.0, >= 0.6.1)
962
- winrm-elevated (1.1.1)
968
+ winrm-elevated (1.1.2)
969
+ erubi (~> 1.8)
963
970
  winrm (~> 2.0)
964
971
  winrm-fs (~> 1.0)
965
- winrm-fs (1.3.2)
966
- erubis (~> 2.7)
972
+ winrm-fs (1.3.3)
973
+ erubi (~> 1.8)
967
974
  logging (>= 1.6.1, < 3.0)
968
975
  rubyzip (~> 1.1)
969
976
  winrm (~> 2.0)
@@ -982,12 +989,11 @@ DEPENDENCIES
982
989
  bcrypt_pbkdf
983
990
  berkshelf (>= 7.0.8)
984
991
  bundler
985
- chef (= 15.4.45)
992
+ chef (= 15.5.17)
986
993
  chef-apply (= 0.3.0)
987
- chef-bin (= 15.4.45)
994
+ chef-bin (= 15.5.17)
988
995
  chef-dk!
989
- chef-stove
990
- chef-sugar-ng
996
+ chef-sugar
991
997
  chef-vault (>= 3.4.1)
992
998
  cheffish (>= 14.0.1)
993
999
  chefspec (>= 7.3.0, < 8)
@@ -1016,12 +1022,12 @@ DEPENDENCIES
1016
1022
  knife-acl (>= 1.0.3)
1017
1023
  knife-azure (>= 2.0.1)
1018
1024
  knife-ec2 (>= 1.0)
1019
- knife-google (>= 3.3.3)
1025
+ knife-google (>= 4.2.0)
1020
1026
  knife-opc (>= 0.4.0)
1021
1027
  knife-push
1022
1028
  knife-spork
1023
1029
  knife-tidy (>= 1.2.0)
1024
- knife-vsphere (>= 2.1.1)
1030
+ knife-vsphere (>= 4.0)
1025
1031
  knife-windows (>= 3.0)
1026
1032
  listen
1027
1033
  minitest (<= 5.10.3)
@@ -1045,6 +1051,7 @@ DEPENDENCIES
1045
1051
  rspec-mocks (~> 3.0)
1046
1052
  ruby-prof
1047
1053
  ruby-shadow
1054
+ stove (>= 7.1.5)
1048
1055
  test-kitchen (>= 2.0)
1049
1056
  win32-api
1050
1057
  win32-dir
@@ -417,8 +417,8 @@ module ChefDK
417
417
  end
418
418
 
419
419
  # We try and use some chef-sugar code to make sure it loads correctly
420
- add_component "chef-sugar-ng" do |c|
421
- c.gem_base_dir = "chef-sugar-ng"
420
+ add_component "chef-sugar" do |c|
421
+ c.gem_base_dir = "chef-sugar"
422
422
  c.smoke_test do
423
423
  tmpdir do |cwd|
424
424
  with_file(File.join(cwd, "foo.rb")) do |f|
@@ -79,7 +79,7 @@ module ChefDK
79
79
 
80
80
  def data_bag_create
81
81
  http_client.post("data", { "name" => COMPAT_MODE_DATA_BAG_NAME })
82
- rescue Net::HTTPServerException => e
82
+ rescue Net::HTTPClientException => e
83
83
  raise e unless e.response.code == "409"
84
84
  end
85
85
 
@@ -214,7 +214,7 @@ module ChefDK
214
214
 
215
215
  def upload_lockfile_as_data_bag_item(policy_id, data_item)
216
216
  http_client.put("data/#{COMPAT_MODE_DATA_BAG_NAME}/#{policy_id}", data_item)
217
- rescue Net::HTTPServerException => e
217
+ rescue Net::HTTPClientException => e
218
218
  raise e unless e.response.code == "404"
219
219
 
220
220
  http_client.post("data/#{COMPAT_MODE_DATA_BAG_NAME}", data_item)
@@ -134,7 +134,7 @@ module ChefDK
134
134
  def fetch_policy_revision_data
135
135
  @policy_revision_data = http_client.get("/policies/#{policy_name}")
136
136
  @policy_exists = true
137
- rescue Net::HTTPServerException => e
137
+ rescue Net::HTTPClientException => e
138
138
  raise unless e.response.code == "404"
139
139
 
140
140
  @policy_exists = false
@@ -16,5 +16,5 @@
16
16
  #
17
17
 
18
18
  module ChefDK
19
- VERSION = "4.5.0".freeze
19
+ VERSION = "4.6.35".freeze
20
20
  end
@@ -41,7 +41,7 @@ describe ChefDK::Command::Verify do
41
41
  "chef-apply",
42
42
  "chef-client",
43
43
  "chef-dk",
44
- "chef-sugar-ng",
44
+ "chef-sugar",
45
45
  "chef-vault",
46
46
  "chefspec",
47
47
  "delivery-cli",
@@ -319,14 +319,14 @@ describe ChefDK::Policyfile::Uploader do
319
319
 
320
320
  it "does not error when the 'policyfiles' data bag exists" do
321
321
  response = double("Net::HTTP response", code: "409")
322
- error = Net::HTTPServerException.new("conflict", response)
322
+ error = Net::HTTPClientException .new("conflict", response)
323
323
  expect(http_client).to receive(:post).with("data", { "name" => "policyfiles" }).and_raise(error)
324
324
  expect { uploader.data_bag_create }.to_not raise_error
325
325
  end
326
326
 
327
327
  it "uploads the policyfile as a data bag item" do
328
328
  response = double("Net::HTTP response", code: "404")
329
- error = Net::HTTPServerException.new("Not Found", response)
329
+ error = Net::HTTPClientException .new("Not Found", response)
330
330
  expect(http_client).to receive(:put)
331
331
  .with("data/policyfiles/example-unit-test", policyfile_as_data_bag_item)
332
332
  .and_raise(error)
@@ -211,6 +211,8 @@ describe ChefDK::PolicyfileServices::CleanPolicies do
211
211
  end
212
212
 
213
213
  it "deletes what it can, then raises an error" do
214
+ # Ruby 2.6 deprecated HTTPServerException but the errors are still initialized using it, so
215
+ # this will continue to print that out until they remove HTTPServerException
214
216
  expected_message = <<~ERROR
215
217
  Failed to delete some policy revisions:
216
218
  - appserver (4444444444444444444444444444444444444444444444444444444444444444): Net::HTTPServerException 403 \"Unauthorized\"
@@ -64,7 +64,7 @@ describe ChefDK::ServiceExceptionInspectors::HTTP do
64
64
  end
65
65
 
66
66
  let(:exception) do
67
- Net::HTTPServerException.new(message, response).tap { |e| e.chef_rest_request = request }
67
+ Net::HTTPClientException .new(message, response).tap { |e| e.chef_rest_request = request }
68
68
  end
69
69
 
70
70
  subject(:inspector) { described_class.new(exception) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-dk
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.5.0
4
+ version: 4.6.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel DeLeo
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-10-16 00:00:00.000000000 Z
13
+ date: 2019-11-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mixlib-cli