inprovise 0.2.27 → 0.2.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/inprovise/channel/ssh.rb +3 -1
- data/lib/inprovise/version.rb +1 -1
- 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: 4c155dbc28e256a863c030b4d56fe014faebe47031fde373a4d66efc4cb1c93f
|
4
|
+
data.tar.gz: 2ca6d214aa2f93e3cf2ded1e00aca27a97d77e972224acb47391e31af6e5e93f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eab9cfc983f5335b6dc9d42a46baaf2ff6a2c173ffcac33f0ba89c37f352407611546bf9923207753aa72599b7c27d753a13d901c4997eec38d4d35b2c5af1cd
|
7
|
+
data.tar.gz: 805820ab2193fdb1140753f10ba8099bfade7b2cd8d90ac7d690437e9734b3d1a2304900db1722a434aa4e9978dde47989bdbf8cfe89246305bb479a0fad43c6
|
@@ -124,7 +124,9 @@ Inprovise::CmdChannel.define('ssh') do
|
|
124
124
|
:passphrase , :password , :port , :properties , :proxy , :rekey_blocks_limit , :rekey_limit , :rekey_packet_limit ,
|
125
125
|
:timeout , :user , :user_known_hosts_file , :verbose, :verify_host_key ]
|
126
126
|
ssh_cfg = (@node.config[:ssh] || {}).reduce({}) do |hsh, (k,v)|
|
127
|
-
|
127
|
+
if opts.include?(k)
|
128
|
+
hsh[k] = (k == :verify_host_key ? v.to_sym : v)
|
129
|
+
end
|
128
130
|
hsh
|
129
131
|
end
|
130
132
|
(@node.config[:credentials] || {}).reduce(ssh_cfg) do |hsh, (k,v)|
|
data/lib/inprovise/version.rb
CHANGED