kondate 0.4.12 → 0.4.13

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: 606429d6834bb0f4e739ba012173f6a3b302fba8
4
- data.tar.gz: 53ddebe8bf60450f6412f3e368ed418e51240b0d
3
+ metadata.gz: 7813919c569904c53baf4c6d2cb9a16f70b1cf1a
4
+ data.tar.gz: eb7ec59e0efae2a9ffd3cd40c3cfa96dd4190ee3
5
5
  SHA512:
6
- metadata.gz: 0dc7e9269274e9ba19fc81ea7b2cbb5721907b7fdfd28ec83ff04b2f4385f0bc7521a8ad1aa1b983a4a45f111af0bfd115f53624a0e345c4d3750eb7cee8a92d
7
- data.tar.gz: afd4ebb456048a3cc5c111ddeff8458fce0d278eaffceb969fe5e8d196257ba3b9afcac2a09b67eb3081d2711deb7f9d4c2bd3d8ad621ab492a313c26b08045d
6
+ metadata.gz: 8cd8af292e79696ccbc05c56dc0871c61650676029177417cb7caa80230a6ab0c172804fddfc1adec18d51cadbfb8bc9eae4e00be3a83175f5511197503dc6c6
7
+ data.tar.gz: df119a15ea7614d09924105d790e27b1808e917b5bae051c9b828fb0fe9626f47857ffe09b9115f6008cab3088ebd8f2315e962e9e5c67cbfa1b0668300cb132
@@ -1,3 +1,9 @@
1
+ # 0.4.13 (2017-03-27)
2
+
3
+ Enhancements:
4
+
5
+ * Fix to see all Net::SSH::Config keys in itamae
6
+
1
7
  # 0.4.12 (2017-03-17)
2
8
 
3
9
  Enhancements:
@@ -145,11 +145,11 @@ module Kondate
145
145
  if @options[:vagrant]
146
146
  command << " --vagrant"
147
147
  else
148
- config = Net::SSH::Config.for(host)
149
- $stdout.puts "DEBUG: Net::SSH::Config.for(#{host.inspect}) => #{config}" if @options[:debug]
150
- command << " -u #{properties['ssh_user'] || config[:user] || ENV['USER']}"
151
- command << " -i #{(properties['ssh_keys'] || []).first || (config[:keys] || []).first || (File.exist?(File.expand_path('~/.ssh/id_dsa')) ? '~/.ssh/id_dsa' : '~/.ssh/id_rsa')}"
152
- command << " -p #{properties['ssh_port'] || config[:port] || 22}"
148
+ # itamae itself sees Net:SSH::Config.for(host)
149
+ # here, we set ssh config if property file specially specifies
150
+ command << " -u #{properties['ssh_user']}" if properties['ssh_user']
151
+ command << " -i #{(Array(properties['ssh_keys']) || []).first}" if properties['ssh_keys']
152
+ command << " -p #{properties['ssh_port']}" if properties['ssh_port']
153
153
  end
154
154
 
155
155
  command << " -y #{property_file.path}"
@@ -1,3 +1,3 @@
1
1
  module Kondate
2
- VERSION = "0.4.12"
2
+ VERSION = "0.4.13"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kondate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.12
4
+ version: 0.4.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - sonots
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-17 00:00:00.000000000 Z
11
+ date: 2017-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae