test-kitchen 3.6.0 → 3.7.2

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 (83) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +6 -6
  3. data/LICENSE +1 -1
  4. data/Rakefile +2 -2
  5. data/lib/kitchen/base64_stream.rb +5 -5
  6. data/lib/kitchen/chef_utils_wiring.rb +2 -2
  7. data/lib/kitchen/cli.rb +1 -1
  8. data/lib/kitchen/collection.rb +1 -1
  9. data/lib/kitchen/color.rb +2 -2
  10. data/lib/kitchen/command/action.rb +1 -1
  11. data/lib/kitchen/command/console.rb +1 -1
  12. data/lib/kitchen/command/diagnose.rb +1 -1
  13. data/lib/kitchen/command/doctor.rb +1 -1
  14. data/lib/kitchen/command/exec.rb +1 -1
  15. data/lib/kitchen/command/list.rb +3 -3
  16. data/lib/kitchen/command/login.rb +1 -1
  17. data/lib/kitchen/command/package.rb +1 -1
  18. data/lib/kitchen/command/sink.rb +1 -1
  19. data/lib/kitchen/command/test.rb +1 -1
  20. data/lib/kitchen/command.rb +6 -6
  21. data/lib/kitchen/config.rb +2 -2
  22. data/lib/kitchen/configurable.rb +3 -3
  23. data/lib/kitchen/data_munger.rb +3 -3
  24. data/lib/kitchen/diagnostic.rb +2 -2
  25. data/lib/kitchen/driver/base.rb +1 -1
  26. data/lib/kitchen/driver/dummy.rb +1 -1
  27. data/lib/kitchen/driver/exec.rb +1 -1
  28. data/lib/kitchen/driver/proxy.rb +1 -1
  29. data/lib/kitchen/driver/ssh_base.rb +1 -1
  30. data/lib/kitchen/driver.rb +1 -1
  31. data/lib/kitchen/errors.rb +1 -1
  32. data/lib/kitchen/generator/init.rb +2 -2
  33. data/lib/kitchen/instance.rb +9 -9
  34. data/lib/kitchen/lazy_hash.rb +1 -1
  35. data/lib/kitchen/lifecycle_hooks.rb +1 -1
  36. data/lib/kitchen/loader/yaml.rb +5 -5
  37. data/lib/kitchen/logger.rb +1 -1
  38. data/lib/kitchen/logging.rb +1 -1
  39. data/lib/kitchen/login_command.rb +2 -2
  40. data/lib/kitchen/metadata_chopper.rb +1 -1
  41. data/lib/kitchen/platform.rb +1 -1
  42. data/lib/kitchen/platform_filter.rb +4 -2
  43. data/lib/kitchen/plugin.rb +1 -1
  44. data/lib/kitchen/plugin_base.rb +1 -1
  45. data/lib/kitchen/provisioner/base.rb +1 -1
  46. data/lib/kitchen/provisioner/chef/berkshelf.rb +2 -2
  47. data/lib/kitchen/provisioner/chef/common_sandbox.rb +2 -2
  48. data/lib/kitchen/provisioner/chef/policyfile.rb +11 -5
  49. data/lib/kitchen/provisioner/chef_apply.rb +3 -3
  50. data/lib/kitchen/provisioner/chef_base.rb +7 -6
  51. data/lib/kitchen/provisioner/chef_infra.rb +2 -2
  52. data/lib/kitchen/provisioner/chef_solo.rb +1 -1
  53. data/lib/kitchen/provisioner/chef_target.rb +130 -0
  54. data/lib/kitchen/provisioner/dummy.rb +1 -1
  55. data/lib/kitchen/provisioner/shell.rb +1 -1
  56. data/lib/kitchen/provisioner.rb +1 -1
  57. data/lib/kitchen/rake_tasks.rb +1 -1
  58. data/lib/kitchen/shell_out.rb +2 -2
  59. data/lib/kitchen/ssh.rb +3 -3
  60. data/lib/kitchen/state_file.rb +2 -2
  61. data/lib/kitchen/suite.rb +1 -1
  62. data/lib/kitchen/thor_tasks.rb +1 -1
  63. data/lib/kitchen/transport/base.rb +1 -1
  64. data/lib/kitchen/transport/dummy.rb +1 -1
  65. data/lib/kitchen/transport/exec.rb +2 -2
  66. data/lib/kitchen/transport/ssh.rb +2 -2
  67. data/lib/kitchen/transport/winrm.rb +2 -2
  68. data/lib/kitchen/transport.rb +2 -2
  69. data/lib/kitchen/util.rb +2 -2
  70. data/lib/kitchen/verifier/base.rb +2 -2
  71. data/lib/kitchen/verifier/busser.rb +1 -1
  72. data/lib/kitchen/verifier/dummy.rb +1 -1
  73. data/lib/kitchen/verifier/shell.rb +1 -1
  74. data/lib/kitchen/verifier.rb +1 -1
  75. data/lib/kitchen/version.rb +2 -2
  76. data/lib/kitchen/which.rb +1 -1
  77. data/lib/kitchen.rb +1 -1
  78. data/lib/vendor/hash_recursive_merge.rb +1 -1
  79. data/templates/driver/license_apachev2.erb +1 -1
  80. data/templates/driver/license_lgplv3.erb +1 -1
  81. data/templates/init/kitchen.yml.erb +2 -2
  82. data/test-kitchen.gemspec +1 -1
  83. metadata +6 -5
@@ -7,7 +7,7 @@
7
7
  # you may not use this file except in compliance with the License.
8
8
  # You may obtain a copy of the License at
9
9
  #
10
- # http://www.apache.org/licenses/LICENSE-2.0
10
+ # https://www.apache.org/licenses/LICENSE-2.0
11
11
  #
12
12
  # Unless required by applicable law or agreed to in writing, software
13
13
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -78,7 +78,7 @@ module Kitchen
78
78
  super
79
79
 
80
80
  # zlib was never a valid value and breaks in net-ssh >= 2.10
81
- # TODO: remove these backwards compatiable casts in 2.0
81
+ # TODO: remove these backwards compatible casts in 2.0
82
82
  case config[:compression]
83
83
  when "zlib"
84
84
  config[:compression] = "zlib@openssh.com"
@@ -9,7 +9,7 @@
9
9
  # you may not use this file except in compliance with the License.
10
10
  # You may obtain a copy of the License at
11
11
  #
12
- # http://www.apache.org/licenses/LICENSE-2.0
12
+ # https://www.apache.org/licenses/LICENSE-2.0
13
13
  #
14
14
  # Unless required by applicable law or agreed to in writing, software
15
15
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -339,7 +339,7 @@ module Kitchen
339
339
  args = %W{/u:#{options[:user]}}
340
340
  args += %W{/p:#{options[:password]}} if options.key?(:password)
341
341
  args += %W{/v:#{URI.parse(options[:endpoint]).host}:#{rdp_port}}
342
- args += %W{/cert-tofu} # always accept certificate
342
+ args += %w{/cert-tofu} # always accept certificate
343
343
 
344
344
  LoginCommand.new(xfreerdp, args)
345
345
  end
@@ -7,7 +7,7 @@
7
7
  # you may not use this file except in compliance with the License.
8
8
  # You may obtain a copy of the License at
9
9
  #
10
- # http://www.apache.org/licenses/LICENSE-2.0
10
+ # https://www.apache.org/licenses/LICENSE-2.0
11
11
  #
12
12
  # Unless required by applicable law or agreed to in writing, software
13
13
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -19,7 +19,7 @@ require_relative "plugin"
19
19
 
20
20
  module Kitchen
21
21
  # A transport is responsible for the communication with an instance,
22
- # that is remote comands and other actions such as file transfer,
22
+ # that is remote commands and other actions such as file transfer,
23
23
  # login, etc.
24
24
  #
25
25
  # @author Salim Afiune <salim@afiunemaya.com.mx>
data/lib/kitchen/util.rb CHANGED
@@ -7,7 +7,7 @@
7
7
  # you may not use this file except in compliance with the License.
8
8
  # You may obtain a copy of the License at
9
9
  #
10
- # http://www.apache.org/licenses/LICENSE-2.0
10
+ # https://www.apache.org/licenses/LICENSE-2.0
11
11
  #
12
12
  # Unless required by applicable law or agreed to in writing, software
13
13
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -37,7 +37,7 @@ module Kitchen
37
37
  Logger.const_get(symbol.to_s.upcase)
38
38
  end
39
39
 
40
- # Returns the symbol represenation of a logging levels for a given
40
+ # Returns the symbol representation of a logging levels for a given
41
41
  # standard library Logger::Severity constant.
42
42
  #
43
43
  # @param const [Integer] Logger::Severity constant value for a logging
@@ -7,7 +7,7 @@
7
7
  # you may not use this file except in compliance with the License.
8
8
  # You may obtain a copy of the License at
9
9
  #
10
- # http://www.apache.org/licenses/LICENSE-2.0
10
+ # https://www.apache.org/licenses/LICENSE-2.0
11
11
  #
12
12
  # Unless required by applicable law or agreed to in writing, software
13
13
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -229,7 +229,7 @@ module Kitchen
229
229
  # Conditionally prefixes a command with a sudo command.
230
230
  #
231
231
  # @param command [String] command to be prefixed
232
- # @return [String] the command, conditionaly prefixed with sudo
232
+ # @return [String] the command, conditionally prefixed with sudo
233
233
  # @api private
234
234
  def sudo(script)
235
235
  config[:sudo] ? "#{config[:sudo_command]} #{script}" : script
@@ -7,7 +7,7 @@
7
7
  # you may not use this file except in compliance with the License.
8
8
  # You may obtain a copy of the License at
9
9
  #
10
- # http://www.apache.org/licenses/LICENSE-2.0
10
+ # https://www.apache.org/licenses/LICENSE-2.0
11
11
  #
12
12
  # Unless required by applicable law or agreed to in writing, software
13
13
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -7,7 +7,7 @@
7
7
  # you may not use this file except in compliance with the License.
8
8
  # You may obtain a copy of the License at
9
9
  #
10
- # http://www.apache.org/licenses/LICENSE-2.0
10
+ # https://www.apache.org/licenses/LICENSE-2.0
11
11
  #
12
12
  # Unless required by applicable law or agreed to in writing, software
13
13
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -7,7 +7,7 @@
7
7
  # you may not use this file except in compliance with the License.
8
8
  # You may obtain a copy of the License at
9
9
  #
10
- # http://www.apache.org/licenses/LICENSE-2.0
10
+ # https://www.apache.org/licenses/LICENSE-2.0
11
11
  #
12
12
  # Unless required by applicable law or agreed to in writing, software
13
13
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -7,7 +7,7 @@
7
7
  # you may not use this file except in compliance with the License.
8
8
  # You may obtain a copy of the License at
9
9
  #
10
- # http://www.apache.org/licenses/LICENSE-2.0
10
+ # https://www.apache.org/licenses/LICENSE-2.0
11
11
  #
12
12
  # Unless required by applicable law or agreed to in writing, software
13
13
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -7,7 +7,7 @@
7
7
  # you may not use this file except in compliance with the License.
8
8
  # You may obtain a copy of the License at
9
9
  #
10
- # http://www.apache.org/licenses/LICENSE-2.0
10
+ # https://www.apache.org/licenses/LICENSE-2.0
11
11
  #
12
12
  # Unless required by applicable law or agreed to in writing, software
13
13
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -16,5 +16,5 @@
16
16
  # limitations under the License.
17
17
 
18
18
  module Kitchen
19
- VERSION = "3.6.0".freeze
19
+ VERSION = "3.7.2".freeze
20
20
  end
data/lib/kitchen/which.rb CHANGED
@@ -7,7 +7,7 @@
7
7
  # you may not use this file except in compliance with the License.
8
8
  # You may obtain a copy of the License at
9
9
  #
10
- # http://www.apache.org/licenses/LICENSE-2.0
10
+ # https://www.apache.org/licenses/LICENSE-2.0
11
11
  #
12
12
  # Unless required by applicable law or agreed to in writing, software
13
13
  # distributed under the License is distributed on an "AS IS" BASIS,
data/lib/kitchen.rb CHANGED
@@ -7,7 +7,7 @@
7
7
  # you may not use this file except in compliance with the License.
8
8
  # You may obtain a copy of the License at
9
9
  #
10
- # http://www.apache.org/licenses/LICENSE-2.0
10
+ # https://www.apache.org/licenses/LICENSE-2.0
11
11
  #
12
12
  # Unless required by applicable law or agreed to in writing, software
13
13
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -9,7 +9,7 @@
9
9
  # Author:: Simone Carletti <weppos@weppos.net>
10
10
  # Copyright:: 2007-2008 The Authors
11
11
  # License:: MIT License
12
- # Link:: http://www.simonecarletti.com/
12
+ # Link:: https://simonecarletti.com/
13
13
  # Source:: http://gist.github.com/gists/6391/
14
14
  #
15
15
  module HashRecursiveMerge
@@ -6,7 +6,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
6
6
  you may not use this file except in compliance with the License.
7
7
  You may obtain a copy of the License at
8
8
 
9
- http://www.apache.org/licenses/LICENSE-2.0
9
+ https://www.apache.org/licenses/LICENSE-2.0
10
10
 
11
11
  Unless required by applicable law or agreed to in writing, software
12
12
  distributed under the License is distributed on an "AS IS" BASIS,
@@ -13,4 +13,4 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
13
  GNU General Public License for more details.
14
14
 
15
15
  You should have received a copy of the GNU General Public License
16
- along with this program. If not, see <http://www.gnu.org/licenses/>.
16
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
@@ -6,8 +6,8 @@ provisioner:
6
6
  name: <%= config[:provisioner] %>
7
7
 
8
8
  platforms:
9
- - name: ubuntu-20.04
10
- - name: centos-8
9
+ - name: ubuntu-24.04
10
+ - name: almalinux-10
11
11
 
12
12
  suites:
13
13
  - name: default
data/test-kitchen.gemspec CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |gem|
24
24
 
25
25
  gem.add_dependency "bcrypt_pbkdf", "~> 1.0" # ed25519 ssh key support
26
26
  gem.add_dependency "chef-utils", ">= 16.4.35"
27
- gem.add_dependency "ed25519", "~> 1.2" # ed25519 ssh key support
27
+ gem.add_dependency "ed25519", "~> 1.3" # ed25519 ssh key support
28
28
  gem.add_dependency "mixlib-install", "~> 3.6"
29
29
  gem.add_dependency "mixlib-shellout", ">= 1.2", "< 4.0"
30
30
  gem.add_dependency "net-scp", ">= 1.1", "< 5.0" # pinning until we can confirm 4+ works
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: 3.6.0
4
+ version: 3.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fletcher Nichol
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-27 00:00:00.000000000 Z
11
+ date: 2025-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt_pbkdf
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.2'
47
+ version: '1.3'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.2'
54
+ version: '1.3'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: mixlib-install
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -294,6 +294,7 @@ files:
294
294
  - lib/kitchen/provisioner/chef_base.rb
295
295
  - lib/kitchen/provisioner/chef_infra.rb
296
296
  - lib/kitchen/provisioner/chef_solo.rb
297
+ - lib/kitchen/provisioner/chef_target.rb
297
298
  - lib/kitchen/provisioner/chef_zero.rb
298
299
  - lib/kitchen/provisioner/dummy.rb
299
300
  - lib/kitchen/provisioner/shell.rb
@@ -363,7 +364,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
363
364
  - !ruby/object:Gem::Version
364
365
  version: '0'
365
366
  requirements: []
366
- rubygems_version: 3.4.10
367
+ rubygems_version: 3.5.9
367
368
  signing_key:
368
369
  specification_version: 4
369
370
  summary: Test Kitchen is an integration tool for developing and testing infrastructure