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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 123529251f944b53495e54c09cd23781dd3aa05b98433393a728d88a29c12cdf
4
- data.tar.gz: febcdf2d52b83f322075a9f4f872c7bf17d27c25edfed23d9edb26fe0f03c365
3
+ metadata.gz: 4c155dbc28e256a863c030b4d56fe014faebe47031fde373a4d66efc4cb1c93f
4
+ data.tar.gz: 2ca6d214aa2f93e3cf2ded1e00aca27a97d77e972224acb47391e31af6e5e93f
5
5
  SHA512:
6
- metadata.gz: 94d00d34d78977e360dbea1887426df434d9a03011d788407a7b2205927edbfe9c6afdb75947b856366d7521db25bb2ec7bdf9d945b7f2a53c2879c7dfebf4b9
7
- data.tar.gz: 76c94d0c33cdee43d81f527cd2482268d86bbb770a1d5d10a57ef76ec2930254074e639f48460be50379f957db1bf5d7468b8ed86686800d7438ebfc37977187
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
- hsh[k] = v if opts.include?(k)
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)|
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Inprovise
7
7
 
8
- VERSION = '0.2.27'
8
+ VERSION = '0.2.28'
9
9
 
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inprovise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.27
4
+ version: 0.2.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Corino