test-kitchen 2.4.0 → 2.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -12
  3. data/Rakefile +0 -2
  4. data/bin/kitchen +0 -2
  5. data/lib/kitchen.rb +0 -1
  6. data/lib/kitchen/base64_stream.rb +0 -1
  7. data/lib/kitchen/cli.rb +0 -1
  8. data/lib/kitchen/collection.rb +0 -1
  9. data/lib/kitchen/color.rb +0 -1
  10. data/lib/kitchen/command.rb +0 -1
  11. data/lib/kitchen/command/action.rb +0 -1
  12. data/lib/kitchen/command/console.rb +0 -1
  13. data/lib/kitchen/command/diagnose.rb +0 -1
  14. data/lib/kitchen/command/doctor.rb +0 -1
  15. data/lib/kitchen/command/exec.rb +0 -1
  16. data/lib/kitchen/command/list.rb +0 -1
  17. data/lib/kitchen/command/login.rb +0 -1
  18. data/lib/kitchen/command/package.rb +0 -1
  19. data/lib/kitchen/command/sink.rb +0 -1
  20. data/lib/kitchen/command/test.rb +0 -1
  21. data/lib/kitchen/config.rb +0 -1
  22. data/lib/kitchen/configurable.rb +0 -1
  23. data/lib/kitchen/data_munger.rb +0 -1
  24. data/lib/kitchen/diagnostic.rb +0 -1
  25. data/lib/kitchen/driver.rb +0 -1
  26. data/lib/kitchen/driver/base.rb +0 -1
  27. data/lib/kitchen/driver/dummy.rb +0 -1
  28. data/lib/kitchen/driver/exec.rb +0 -1
  29. data/lib/kitchen/driver/proxy.rb +0 -1
  30. data/lib/kitchen/driver/ssh_base.rb +0 -1
  31. data/lib/kitchen/errors.rb +0 -1
  32. data/lib/kitchen/generator/init.rb +0 -1
  33. data/lib/kitchen/instance.rb +0 -1
  34. data/lib/kitchen/lazy_hash.rb +0 -1
  35. data/lib/kitchen/lifecycle_hooks.rb +0 -1
  36. data/lib/kitchen/loader/yaml.rb +0 -1
  37. data/lib/kitchen/logger.rb +0 -1
  38. data/lib/kitchen/logging.rb +0 -1
  39. data/lib/kitchen/login_command.rb +0 -1
  40. data/lib/kitchen/metadata_chopper.rb +0 -1
  41. data/lib/kitchen/platform.rb +0 -1
  42. data/lib/kitchen/plugin.rb +0 -1
  43. data/lib/kitchen/provisioner.rb +0 -1
  44. data/lib/kitchen/provisioner/base.rb +0 -1
  45. data/lib/kitchen/provisioner/chef/berkshelf.rb +0 -1
  46. data/lib/kitchen/provisioner/chef/common_sandbox.rb +0 -1
  47. data/lib/kitchen/provisioner/chef/policyfile.rb +0 -1
  48. data/lib/kitchen/provisioner/chef_apply.rb +2 -3
  49. data/lib/kitchen/provisioner/chef_base.rb +10 -10
  50. data/lib/kitchen/provisioner/chef_solo.rb +0 -1
  51. data/lib/kitchen/provisioner/chef_zero.rb +0 -1
  52. data/lib/kitchen/provisioner/dummy.rb +0 -1
  53. data/lib/kitchen/provisioner/shell.rb +6 -3
  54. data/lib/kitchen/rake_tasks.rb +0 -1
  55. data/lib/kitchen/shell_out.rb +0 -1
  56. data/lib/kitchen/ssh.rb +0 -1
  57. data/lib/kitchen/state_file.rb +0 -1
  58. data/lib/kitchen/suite.rb +0 -1
  59. data/lib/kitchen/thor_tasks.rb +0 -1
  60. data/lib/kitchen/transport.rb +0 -1
  61. data/lib/kitchen/transport/base.rb +0 -1
  62. data/lib/kitchen/transport/dummy.rb +0 -1
  63. data/lib/kitchen/transport/exec.rb +0 -1
  64. data/lib/kitchen/transport/ssh.rb +0 -1
  65. data/lib/kitchen/transport/winrm.rb +0 -1
  66. data/lib/kitchen/util.rb +0 -1
  67. data/lib/kitchen/verifier.rb +0 -1
  68. data/lib/kitchen/verifier/base.rb +0 -1
  69. data/lib/kitchen/verifier/busser.rb +0 -1
  70. data/lib/kitchen/verifier/dummy.rb +0 -1
  71. data/lib/kitchen/verifier/shell.rb +0 -1
  72. data/lib/kitchen/version.rb +1 -2
  73. data/lib/vendor/hash_recursive_merge.rb +0 -1
  74. data/support/chef_base_install_command.ps1 +3 -3
  75. data/support/chef_base_install_command.sh +2 -2
  76. data/templates/init/kitchen.yml.erb +2 -2
  77. data/test-kitchen.gemspec +4 -5
  78. metadata +23 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13209f8ae2db3d98eefbf14798a6ac583d867ce4f8e0dd19615ed6a2bdc3b2a7
4
- data.tar.gz: 9e4300e69c3873ef2310381ab3c4f52349683bf1635afa4ce7464d89d33c1874
3
+ metadata.gz: ba11941e2fb1db16f6bdb83f86c9822ad222f18f0e26e37a94683fb6fda29042
4
+ data.tar.gz: 57b12bd55f5b39b0be4fd482dc22666fb62eeb7182a44199b7aadcd90857330f
5
5
  SHA512:
6
- metadata.gz: f40db4a968197d9102ba4a651ce6dce9b5557cc6498a5fca8529fb0cad9c5467d99f3340f99ed6d25f1424c95edd3dda2676a16ea98ddc556d69514e6e7d9b9b
7
- data.tar.gz: 14ea562a570a3263111942233bc5bbd53aba4c75128284a8e84e295c612612b86293036cf7d56f9b5860a486d5f3d450b92934334c81cc6eb6b21754ae9ae8de
6
+ metadata.gz: '095582d89c5645bbace34075c30b95170f9c0d5a5a06067c58e7b348bf4d711d5a068101940b0b035ad371f213eaebef70a695d620aa230fafc4ca86828005f4'
7
+ data.tar.gz: 7b2c76fcea81d87b976745081682122ed7dec1d63ffba2d99180913871c595c7e17adc511223a996a0e25b277f8e782ec8cd1623479a93d79092eda0ce5a3d03
data/Gemfile CHANGED
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  source "https://rubygems.org"
3
2
  gemspec
4
3
 
@@ -10,7 +9,7 @@ group :integration do
10
9
  end
11
10
 
12
11
  group :changelog do
13
- gem "github_changelog_generator", "1.15.0"
12
+ gem "github_changelog_generator", "1.15.2"
14
13
  end
15
14
 
16
15
  group :debug do
@@ -26,13 +25,3 @@ end
26
25
  group :docs do
27
26
  gem "yard"
28
27
  end
29
-
30
- instance_eval(ENV["GEMFILE_MOD"]) if ENV["GEMFILE_MOD"]
31
-
32
- # To avoid bringing in development or test dependencies that are not
33
- # absolutely needed, if you want to load tools not present in the gemspec
34
- # or this Gemfile, add those additional dependencies into a Gemfile.local
35
- # file which is ignored by this repository.
36
- # rubocop:disable Security/Eval
37
- eval(IO.read(__FILE__ + ".local"), binding) if File.exist?(__FILE__ + ".local")
38
- # rubocop:enable Security/Eval
data/Rakefile CHANGED
@@ -1,5 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
1
  require "bundler/gem_tasks"
4
2
 
5
3
  require "rake/testtask"
@@ -1,6 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
- # -*- encoding: utf-8 -*-
3
-
4
2
  # Trap interrupts to quit cleanly. See
5
3
  # https://twitter.com/mitchellh/status/283014103189053442
6
4
  Signal.trap("INT") { exit 1 }
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  #
4
3
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: SAWANOBORI Yukihiko (<sawanoboriyu@higanworks.com>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  #
4
3
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Licensed under the Apache License, Version 2.0 (the "License");
4
3
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Seth Chisamore <schisamo@opscode.com>
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Noah Kantrowitz <noah@coderanger.net>
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: SAWANOBORI Yukihiko <sawanoboriyu@higanworks.com>)
4
3
  #
@@ -30,8 +29,8 @@
30
29
  # name: chef_apply
31
30
  #
32
31
  # platforms:
33
- # - name: ubuntu-16.04
34
- # - name: centos-7
32
+ # - name: ubuntu-20.04
33
+ # - name: centos-8
35
34
  #
36
35
  # suites:
37
36
  # - name: default
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -69,6 +68,7 @@ module Kitchen
69
68
  README.* VERSION metadata.{json,rb} attributes.rb recipe.rb
70
69
  attributes/**/* definitions/**/* files/**/* libraries/**/*
71
70
  providers/**/* recipes/**/* resources/**/* templates/**/*
71
+ ohai/**/*
72
72
  ).join(",")
73
73
  # to ease upgrades, allow the user to turn deprecation warnings into errors
74
74
  default_config :deprecations_as_errors, false
@@ -153,7 +153,7 @@ module Kitchen
153
153
 
154
154
  # New Usage #
155
155
  provisioner:
156
- product_name: <chef or chefdk>
156
+ product_name: <chef or chef-workstation>
157
157
  install_strategy: skip
158
158
  MSG
159
159
  when provisioner[:require_chef_omnibus].to_s.match(/\d/)
@@ -166,7 +166,7 @@ module Kitchen
166
166
 
167
167
  # New Usage #
168
168
  provisioner:
169
- product_name: <chef or chefdk>
169
+ product_name: <chef or chef-workstation>
170
170
  product_version: #{provisioner[:require_chef_omnibus]}
171
171
  MSG
172
172
  when provisioner[:require_chef_omnibus] == "latest"
@@ -179,7 +179,7 @@ module Kitchen
179
179
 
180
180
  # New Usage #
181
181
  provisioner:
182
- product_name: <chef or chefdk>
182
+ product_name: <chef or chef-workstation>
183
183
  install_strategy: always
184
184
  MSG
185
185
  end
@@ -199,11 +199,11 @@ module Kitchen
199
199
 
200
200
  # Deprecated Example #
201
201
  provisioner:
202
- chef_omnibus_install_options: -P chefdk -c current
202
+ chef_omnibus_install_options: -P chef-workstation -c current
203
203
 
204
204
  # New Usage #
205
205
  provisioner:
206
- product_name: chefdk
206
+ product_name: chef-workstation
207
207
  channel: current
208
208
  MSG
209
209
 
@@ -216,7 +216,7 @@ module Kitchen
216
216
 
217
217
  # New Usage #
218
218
  provisioner:
219
- product_name: <chef or chefdk>
219
+ product_name: <chef or chef-workstation>
220
220
  download_url: http://direct-download-url
221
221
  MSG
222
222
 
@@ -225,9 +225,9 @@ module Kitchen
225
225
  fully managed by using attribute settings.
226
226
  MSG
227
227
 
228
- # Reads the local Chef::Config object (if present). We do this because
229
- # we want to start bring Chef config and ChefDK tool config closer
230
- # together. For example, we want to configure proxy settings in 1
228
+ # Reads the local Chef::Config object (if present). We do this because
229
+ # we want to start bring Chef config and Chef Workstation config closer
230
+ # together. For example, we want to configure proxy settings in 1
231
231
  # location instead of 3 configuration files.
232
232
  #
233
233
  # @param config [Hash] initial provided configuration
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Chris Lundquist (<chris.lundquist@github.com>)
4
3
  #
@@ -106,13 +105,17 @@ module Kitchen
106
105
 
107
106
  if config[:arguments] && !config[:arguments].empty?
108
107
  if config[:arguments].is_a?(Array)
109
- script = Shellwords.join([script] + config[:arguments])
108
+ if powershell_shell?
109
+ script = ([script] + config[:arguments]).join(" ")
110
+ else
111
+ script = Shellwords.join([script] + config[:arguments])
112
+ end
110
113
  else
111
114
  script.concat(" ").concat(config[:arguments].to_s)
112
115
  end
113
116
  end
114
117
 
115
- code = powershell_shell? ? %{& "#{script}"} : sudo(script)
118
+ code = powershell_shell? ? %{& #{script}} : sudo(script)
116
119
 
117
120
  prefix_command(wrap_shell_code(code))
118
121
  end
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Salim Afiune (<salim@afiunemaya.com.mx>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Salim Afiune (<salim@afiunemaya.com.mx>)
4
3
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Salim Afiune (<salim@afiunemaya.com.mx>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Licensed under the Apache License, Version 2.0 (the "License");
4
3
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Salim Afiune (<salim@afiunemaya.com.mx>)
4
3
  # Author:: Matt Wrock (<matt@mattwrock.com>)
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: SAWANOBORI Yukihiko (<sawanoboriyu@higanworks.com>)
4
3
  #
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # Author:: Fletcher Nichol (<fnichol@nichol.ca>)
4
3
  #
@@ -17,5 +16,5 @@
17
16
  # limitations under the License.
18
17
 
19
18
  module Kitchen
20
- VERSION = "2.4.0".freeze
19
+ VERSION = "2.5.4".freeze
21
20
  end
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  #
3
2
  # = Hash Recursive Merge
4
3
  #
@@ -44,7 +44,7 @@ Function Download-Chef($md_url, $dst) {
44
44
  }
45
45
 
46
46
  Function Install-Chef($msi) {
47
- Log "Installing Chef package $msi"
47
+ Log "Installing Chef Infra Client package $msi"
48
48
  $p = Start-Process -FilePath "msiexec.exe" -ArgumentList "/qn /i $msi" -Passthru -Wait
49
49
 
50
50
  if ($p.ExitCode -ne 0) { throw "msiexec was not successful. Received exit code $($p.ExitCode)" }
@@ -73,11 +73,11 @@ Try {
73
73
  $msi = Unresolve-Path $msi
74
74
 
75
75
  if (Check-UpdateChef $chef_omnibus_root $version) {
76
- Write-Host "-----> Installing Chef package ($pretty_version)`n"
76
+ Write-Host "-----> Installing Chef Infra Client package ($pretty_version)`n"
77
77
  Download-Chef "$chef_metadata_url" $msi
78
78
  Install-Chef $msi
79
79
  } else {
80
- Write-Host "-----> Chef package installation detected ($pretty_version)`n"
80
+ Write-Host "-----> Chef Infra Client package installation detected ($pretty_version)`n"
81
81
  }
82
82
  Catch {
83
83
  Write-Error ($_ | ft -Property * | out-string) -ErrorAction Continue
@@ -206,7 +206,7 @@ unable_to_download() {
206
206
  main() {
207
207
  should_update_chef "$chef_omnibus_root" "$version"
208
208
  if test $? -eq 0; then
209
- echo "-----> Installing Chef package (${pretty_version})";
209
+ echo "-----> Installing Chef Infra Client package (${pretty_version})";
210
210
 
211
211
  # solaris 10 lacks recent enough credentials, so http url is used
212
212
  platform="`/usr/bin/uname -s 2>/dev/null`";
@@ -218,7 +218,7 @@ main() {
218
218
  do_download "$chef_omnibus_url" /tmp/install.sh;
219
219
  $sudo_sh /tmp/install.sh $install_flags;
220
220
  else
221
- echo "-----> Chef package installation detected (${pretty_version})";
221
+ echo "-----> Chef Infra Client package installation detected (${pretty_version})";
222
222
  fi
223
223
  }
224
224
 
@@ -6,8 +6,8 @@ provisioner:
6
6
  name: <%= config[:provisioner] %>
7
7
 
8
8
  platforms:
9
- - name: ubuntu-18.04
10
- - name: centos-7
9
+ - name: ubuntu-20.04
10
+ - name: centos-8
11
11
 
12
12
  suites:
13
13
  - name: default
@@ -1,4 +1,3 @@
1
- # -*- encoding: utf-8 -*-
2
1
  lib = File.expand_path("../lib", __FILE__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require "kitchen/version"
@@ -24,12 +23,12 @@ Gem::Specification.new do |gem|
24
23
  gem.required_ruby_version = ">= 2.3"
25
24
 
26
25
  gem.add_dependency "mixlib-shellout", ">= 1.2", "< 4.0"
27
- gem.add_dependency "net-scp", ">= 1.1", "< 3.0" # pinning until we can confirm 3+ works
28
- gem.add_dependency "net-ssh", ">= 2.9", "< 6.0" # pinning until we can confirm 6+ works
26
+ gem.add_dependency "net-scp", ">= 1.1", "< 4.0" # pinning until we can confirm 4+ works
27
+ gem.add_dependency "net-ssh", ">= 2.9", "< 7.0" # pinning until we can confirm 7+ works
29
28
  gem.add_dependency "net-ssh-gateway", ">= 1.2", "< 3.0" # pinning until we can confirm 3+ works
30
29
  gem.add_dependency "ed25519", "~> 1.2" # ed25519 ssh key support
31
30
  gem.add_dependency "bcrypt_pbkdf", "~> 1.0" # ed25519 ssh key support
32
- gem.add_dependency "thor", "~> 0.19"
31
+ gem.add_dependency "thor", ">= 0.19", "< 2.0"
33
32
  gem.add_dependency "mixlib-install", "~> 3.6"
34
33
  gem.add_dependency "winrm", "~> 2.0"
35
34
  gem.add_dependency "winrm-elevated", "~> 1.0"
@@ -42,7 +41,7 @@ Gem::Specification.new do |gem|
42
41
  gem.add_development_dependency "bundler"
43
42
  gem.add_development_dependency "rake"
44
43
 
45
- gem.add_development_dependency "aruba", "~> 0.11"
44
+ gem.add_development_dependency "aruba", "~> 0.11", "< 1.0"
46
45
  gem.add_development_dependency "fakefs", "~> 1.0"
47
46
  gem.add_development_dependency "minitest", "~> 5.3", "< 5.12"
48
47
  gem.add_development_dependency "mocha", "~> 1.1"
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.4.0
4
+ version: 2.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fletcher Nichol
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-04 00:00:00.000000000 Z
11
+ date: 2020-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '1.1'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '3.0'
42
+ version: '4.0'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '1.1'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '3.0'
52
+ version: '4.0'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: net-ssh
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,7 @@ dependencies:
59
59
  version: '2.9'
60
60
  - - "<"
61
61
  - !ruby/object:Gem::Version
62
- version: '6.0'
62
+ version: '7.0'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
@@ -69,7 +69,7 @@ dependencies:
69
69
  version: '2.9'
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
- version: '6.0'
72
+ version: '7.0'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: net-ssh-gateway
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -122,16 +122,22 @@ dependencies:
122
122
  name: thor
123
123
  requirement: !ruby/object:Gem::Requirement
124
124
  requirements:
125
- - - "~>"
125
+ - - ">="
126
126
  - !ruby/object:Gem::Version
127
127
  version: '0.19'
128
+ - - "<"
129
+ - !ruby/object:Gem::Version
130
+ version: '2.0'
128
131
  type: :runtime
129
132
  prerelease: false
130
133
  version_requirements: !ruby/object:Gem::Requirement
131
134
  requirements:
132
- - - "~>"
135
+ - - ">="
133
136
  - !ruby/object:Gem::Version
134
137
  version: '0.19'
138
+ - - "<"
139
+ - !ruby/object:Gem::Version
140
+ version: '2.0'
135
141
  - !ruby/object:Gem::Dependency
136
142
  name: mixlib-install
137
143
  requirement: !ruby/object:Gem::Requirement
@@ -257,6 +263,9 @@ dependencies:
257
263
  - - "~>"
258
264
  - !ruby/object:Gem::Version
259
265
  version: '0.11'
266
+ - - "<"
267
+ - !ruby/object:Gem::Version
268
+ version: '1.0'
260
269
  type: :development
261
270
  prerelease: false
262
271
  version_requirements: !ruby/object:Gem::Requirement
@@ -264,6 +273,9 @@ dependencies:
264
273
  - - "~>"
265
274
  - !ruby/object:Gem::Version
266
275
  version: '0.11'
276
+ - - "<"
277
+ - !ruby/object:Gem::Version
278
+ version: '1.0'
267
279
  - !ruby/object:Gem::Dependency
268
280
  name: fakefs
269
281
  requirement: !ruby/object:Gem::Requirement
@@ -472,7 +484,7 @@ homepage: https://kitchen.ci/
472
484
  licenses:
473
485
  - Apache-2.0
474
486
  metadata: {}
475
- post_install_message:
487
+ post_install_message:
476
488
  rdoc_options: []
477
489
  require_paths:
478
490
  - lib
@@ -488,7 +500,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
488
500
  version: '0'
489
501
  requirements: []
490
502
  rubygems_version: 3.1.2
491
- signing_key:
503
+ signing_key:
492
504
  specification_version: 4
493
505
  summary: Test Kitchen is an integration tool for developing and testing infrastructure
494
506
  code and software on isolated target platforms.