test-kitchen 1.22.0 → 1.22.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/lib/kitchen/generator/init.rb +1 -0
- data/lib/kitchen/transport/ssh.rb +5 -1
- data/lib/kitchen/version.rb +1 -1
- data/spec/kitchen/transport/ssh_spec.rb +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a25f1efb06c17a12ffbdfdf5047e74b1fb784945e687848b1966da79e571b164
|
4
|
+
data.tar.gz: 58e429e9df4ecd71a335243a0580a0351aacff07d2ee1d1f9a05f0eb82a17554
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35cf9c12e8bdc1eba84b38b50bcee1332cca0db9e5548bccf07f3bc0185d88afc40d75341baee5a3cba64e888bd011e2479206e9796eb6c4a5bbcf51b4aef66f
|
7
|
+
data.tar.gz: 58f2c081cb0ac675cde486c9455b01e25f7dd98d49122c86039c76bd62ea33603fc203c1d521b3698c684a0b7464c13ca5d70fcfea2bc2f2b78062fa938b4b30
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v1.22.1](https://github.com/test-kitchen/test-kitchen/tree/v1.22.1) (2018-08-03)
|
4
|
+
[Full Changelog](https://github.com/test-kitchen/test-kitchen/compare/v1.22.0...v1.22.1)
|
5
|
+
|
6
|
+
**Merged pull requests:**
|
7
|
+
|
8
|
+
- \[SHACK-295\] ChefDK 2.x uses an old version of net-ssh [\#1439](https://github.com/test-kitchen/test-kitchen/pull/1439) ([tyler-ball](https://github.com/tyler-ball))
|
9
|
+
|
10
|
+
|
3
11
|
## [v1.22.0](https://github.com/test-kitchen/test-kitchen/tree/v1.22.0) (2018-06-28)
|
4
12
|
[Full Changelog](https://github.com/test-kitchen/test-kitchen/compare/v1.21.2...v1.22.0)
|
5
13
|
|
@@ -56,7 +64,7 @@ This also applies to `kitchen.local.yml` and we've made the change backwards com
|
|
56
64
|
Allows a user to use data_bags from an array of directories
|
57
65
|
|
58
66
|
```
|
59
|
-
data_bags_path:
|
67
|
+
data_bags_path:
|
60
68
|
- 'data_bags'
|
61
69
|
- 'test/integrations/data_bags'
|
62
70
|
```
|
@@ -517,13 +517,17 @@ module Kitchen
|
|
517
517
|
# net-ssh to ~> 4.2, this will prevent InSpec from being used in
|
518
518
|
# Chef v12 because of it pinning to a v3 of net-ssh.
|
519
519
|
#
|
520
|
-
def verify_host_key_option
|
520
|
+
def self.verify_host_key_option
|
521
521
|
current_net_ssh = Net::SSH::Version::CURRENT
|
522
522
|
new_option_version = Net::SSH::Version[4, 2, 0]
|
523
523
|
|
524
524
|
current_net_ssh >= new_option_version ? :verify_host_key : :paranoid
|
525
525
|
end
|
526
526
|
|
527
|
+
def verify_host_key_option
|
528
|
+
self.class.verify_host_key_option
|
529
|
+
end
|
530
|
+
|
527
531
|
# Creates a new SSH Connection instance and save it for potential future
|
528
532
|
# reuse.
|
529
533
|
#
|
data/lib/kitchen/version.rb
CHANGED
@@ -188,8 +188,9 @@ describe Kitchen::Transport::Ssh do
|
|
188
188
|
end
|
189
189
|
|
190
190
|
it "sets the :verify_host_key flag to false" do
|
191
|
+
verify_host_key_option = Kitchen::Transport::Ssh.verify_host_key_option
|
191
192
|
klass.expects(:new).with do |hash|
|
192
|
-
hash[
|
193
|
+
hash[verify_host_key_option] == false
|
193
194
|
end
|
194
195
|
|
195
196
|
make_connection
|
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: 1.22.
|
4
|
+
version: 1.22.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fletcher Nichol
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-shellout
|
@@ -525,7 +525,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
525
525
|
version: '0'
|
526
526
|
requirements: []
|
527
527
|
rubyforge_project:
|
528
|
-
rubygems_version: 2.7.
|
528
|
+
rubygems_version: 2.7.7
|
529
529
|
signing_key:
|
530
530
|
specification_version: 4
|
531
531
|
summary: Test Kitchen is an integration tool for developing and testing infrastructure
|