test-kitchen 2.2.4 → 2.2.5

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: ca47f5a70c2ade9303de2718d6bb089dcad517b0b41769d764e1f066aae2876c
4
- data.tar.gz: 1d8f5dfc07afb9b14e00d62f71f7cd401e240d6f4580bb941922316ef0bfa111
3
+ metadata.gz: 25783a8b110ce3743a0da21ee576b2a83dd9cc218bfba75e0f86e350d5a429cb
4
+ data.tar.gz: 8dc2c81284b6a7152b95155225078d8e85ccd0b3742e40a4b0c4daef3ecb1151
5
5
  SHA512:
6
- metadata.gz: 12a827dd4ef194d3bdafdfa6fbc6bb0e45f65010865fd73f86d4999f6f8dc5c6d5cfba25b38d56f40c3fc9e3c3838974ce8126712d75ecd265fff7297b33549a
7
- data.tar.gz: 2fdf1ad221bc74fb7e8b8cff6e760bf4493aaa3f59ea1580e18ab96a6e6663fa36b955757ffdf6cdf7648b961b1b66b0075f748d07eec4516208a8a14cb3b241
6
+ metadata.gz: 4d7270665bf6fbab9f7876a5347f97bb821a0bc9ece8a14378ce625fea305e3b7145de6f6409c9b7cf20f27ca481f368671a66c48ba694777056d80ce6fe11a9
7
+ data.tar.gz: 4d072e0b670d1b9b583f746b5850885bfa0484ece4f8b6826e33019110685e6be3daea984067801182fcdf75d45d93937e9a8b09103b83551f2374b6c4c37fd9
@@ -405,6 +405,7 @@ module Kitchen
405
405
  if legacy_ssh_base_driver?
406
406
  legacy_ssh_base_converge(state)
407
407
  else
408
+ provisioner.check_license
408
409
  provisioner.call(state)
409
410
  end
410
411
  end
@@ -68,7 +68,6 @@ module Kitchen
68
68
  # @raise [ActionFailed] if the action could not be completed
69
69
  # rubocop:disable Metrics/AbcSize
70
70
  def call(state)
71
- check_license
72
71
  create_sandbox
73
72
  sandbox_dirs = Util.list_directory(sandbox_path)
74
73
 
@@ -172,8 +172,8 @@ module Kitchen
172
172
  #
173
173
  # @api private
174
174
  def make_fake_cookbook
175
- info("Berksfile, cookbooks/, or metadata.rb not found " \
176
- "so Chef will run with effectively no cookbooks. Is this intended?")
175
+ info("Policyfile, Berksfile, cookbooks/, or metadata.rb not found " \
176
+ "so Chef Infra Client will run, but do nothing. Is this intended?")
177
177
  name = File.basename(config[:kitchen_root])
178
178
  fake_cb = File.join(tmpbooks_dir, name)
179
179
  FileUtils.mkdir_p(fake_cb)
@@ -282,7 +282,7 @@ module Kitchen
282
282
 
283
283
  def update_dna_for_policyfile
284
284
  if !config[:run_list].nil? && !config[:run_list].empty?
285
- warn("You must set your run_list in your policyfile instead of "\
285
+ warn("You must set your run_list in your Policyfile instead of "\
286
286
  "kitchen config. The run_list in your config will be ignored.")
287
287
  warn("Ignored run_list: #{config[:run_list].inspect}")
288
288
  end
@@ -87,7 +87,7 @@ module Kitchen
87
87
 
88
88
  private
89
89
 
90
- # @return [String] path to a Berksfile
90
+ # @return [String] path to a Policyfile
91
91
  # @api private
92
92
  attr_reader :policyfile
93
93
 
@@ -139,8 +139,8 @@ module Kitchen
139
139
  File.exist?(File.join(p, "chef"))
140
140
  end
141
141
  logger.fatal("The `chef` executable cannot be found in your " \
142
- "PATH. Ensure you have installed ChefDK from " \
143
- "https://downloads.chef.io and that your PATH " \
142
+ "PATH. Ensure you have installed ChefDK or Chef Workstation " \
143
+ "from https://downloads.chef.io and that your PATH " \
144
144
  "setting includes the path to the `chef` comand.")
145
145
  raise UserError,
146
146
  "Could not find the chef executable in your PATH."
@@ -17,5 +17,5 @@
17
17
  # limitations under the License.
18
18
 
19
19
  module Kitchen
20
- VERSION = "2.2.4".freeze
20
+ VERSION = "2.2.5".freeze
21
21
  end
@@ -36,7 +36,7 @@ Gem::Specification.new do |gem|
36
36
  gem.add_dependency "winrm-fs", "~> 1.1"
37
37
  # Required to run the Chef provisioner local license check for remote systems
38
38
  # TK is not under Chef EULA
39
- gem.add_dependency "license-acceptance", "~> 1.0", ">= 1.0.5"
39
+ gem.add_dependency "license-acceptance", "~> 1.0", ">= 1.0.11"
40
40
 
41
41
  gem.add_development_dependency "rb-readline"
42
42
  gem.add_development_dependency "bundler"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-kitchen
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
4
+ version: 2.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fletcher Nichol
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-13 00:00:00.000000000 Z
11
+ date: 2019-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout
@@ -197,7 +197,7 @@ dependencies:
197
197
  version: '1.0'
198
198
  - - ">="
199
199
  - !ruby/object:Gem::Version
200
- version: 1.0.5
200
+ version: 1.0.11
201
201
  type: :runtime
202
202
  prerelease: false
203
203
  version_requirements: !ruby/object:Gem::Requirement
@@ -207,7 +207,7 @@ dependencies:
207
207
  version: '1.0'
208
208
  - - ">="
209
209
  - !ruby/object:Gem::Version
210
- version: 1.0.5
210
+ version: 1.0.11
211
211
  - !ruby/object:Gem::Dependency
212
212
  name: rb-readline
213
213
  requirement: !ruby/object:Gem::Requirement