kitchen-sshtgz 1.0.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kitchen/transport/ssh_tgz.rb +12 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aeb46d09f0343c2059a717f18d5af12d50ed1bd03867a6a4bf4db98890743a3e
|
4
|
+
data.tar.gz: 5eed88841a29755b16ace6c021dcdab0cde42b863c830926780472fc9d3f68fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b64019a95748c94d97cab06caa5fb4deb2718babd6a4aa419e251d75e312d668b73bdad3c5a77874bff428f20303245011eae4fc67209f193e46c2a0e3a6850
|
7
|
+
data.tar.gz: 89474d20667366939ee15f38605c301b009ad6408d2ad751a2e54201f206bd0240d35216552a32577d0bb2e0a7e8899fd1779517cdaac5e901e5cfa75c15472b
|
@@ -37,6 +37,16 @@ module Kitchen
|
|
37
37
|
#
|
38
38
|
class SshTgz < Kitchen::Transport::Ssh
|
39
39
|
|
40
|
+
def finalize_config!(instance)
|
41
|
+
super.tap do
|
42
|
+
if defined?(Kitchen::Verifier::Inspec) && instance.verifier.is_a?(Kitchen::Verifier::Inspec)
|
43
|
+
instance.verifier.send(:define_singleton_method, :runner_options_for_sshtgz) do |config_data|
|
44
|
+
runner_options_for_ssh(config_data)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
40
50
|
#
|
41
51
|
# Manage a connection for the SshTgz transport mechanism. This is essentially
|
42
52
|
# the same as for the Ssh::Connection class, except we compress before
|
@@ -55,6 +65,8 @@ module Kitchen
|
|
55
65
|
super
|
56
66
|
end
|
57
67
|
|
68
|
+
|
69
|
+
|
58
70
|
private
|
59
71
|
|
60
72
|
#
|