chef-provisioning-fog 0.24.0 → 0.24.1

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
  SHA1:
3
- metadata.gz: 28663c82f5f555d07bf7f36251c6ffbb399406f1
4
- data.tar.gz: 429b6b82b16433497f8189ce8b51548e583b9fcb
3
+ metadata.gz: 424b731a9af36f9b069dd5e923b6170d7d2cd31e
4
+ data.tar.gz: b625e977d063e9fa156e0b93974213ce93bff5cf
5
5
  SHA512:
6
- metadata.gz: c62ccd05b48e1dff51c9e0cb0b8c62e364af7b8f9c8f0893e7b4b3b5035e71045c71e390e7af3505bf43558e51998585b1de052fa451de5938287c6409cbb4d5
7
- data.tar.gz: 17be6e8f1380c4491d1a8d8e0bc13f7cf61367d1e4cecc05f7ac9c12d171501ded3a54aafc2e6ef850564c98fe30e649c40523213aecab607a26804848008b8b
6
+ metadata.gz: 069ef0460e9b34e7ca6e66b807c185bf60805ae1b6898aa69c3ba835803465dfdb2ed5f36a90516c651b7b11ea0ca562a9a7d6587c688760b78c4f2272e55993
7
+ data.tar.gz: d72c10fe5d445a2c3faf47dbe63dfec3253f86ddbbea0d550fec9a2a24542d93311c75de26a06c304e34270ed7e018499bc7b50e4183de5e9809bbf5a7130198
@@ -719,7 +719,11 @@ module FogDriver
719
719
 
720
720
  #Enable pty by default
721
721
  options[:ssh_pty_enable] = true
722
- options[:ssh_gateway] = machine_spec.reference['ssh_gateway'] if machine_spec.reference.has_key?('ssh_gateway')
722
+ if machine_options[:ssh_gateway]
723
+ options[:ssh_gateway] = machine_options[:ssh_gateway]
724
+ elsif machine_spec.reference.has_key?('ssh_gateway')
725
+ options[:ssh_gateway] = machine_spec.reference['ssh_gateway']
726
+ end
723
727
 
724
728
  Transport::SSH.new(remote_host, username, ssh_options, options, config)
725
729
  end
@@ -1,7 +1,7 @@
1
1
  class Chef
2
2
  module Provisioning
3
3
  module FogDriver
4
- VERSION = '0.24.0'
4
+ VERSION = '0.24.1'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-provisioning-fog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.24.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Keiser
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2017-03-11 00:00:00.000000000 Z
15
+ date: 2017-08-21 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: chef-provisioning
@@ -261,7 +261,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
261
261
  version: '0'
262
262
  requirements: []
263
263
  rubyforge_project:
264
- rubygems_version: 2.6.10
264
+ rubygems_version: 2.5.1
265
265
  signing_key:
266
266
  specification_version: 4
267
267
  summary: Driver for creating Fog instances in Chef Provisioning.