knife-zero 1.5.0 → 1.5.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: 7615a63a5eff793078740317f3ca12fdb607821e
4
- data.tar.gz: 0d73adc8804b0bd7795cdf3c7bfa4f37b73ed7ca
3
+ metadata.gz: 44cf84092314004ad94e89203f75d0b6ea6288f4
4
+ data.tar.gz: db9b5e072c8fa7c72b8c7e45f430bf03d0886e56
5
5
  SHA512:
6
- metadata.gz: abec6340cc40f8df2457bb2d11323c4f83d12a4a2cedd6f8178fe98e6803a70e9a3ec3732d3a38e196da9d8b1a1678ac404c1ccdf1430484e5127199b50eb5ef
7
- data.tar.gz: ec85f918f363ac842b3e65c1391ba9093e2ba6322763fa55249be4fa7bc01af698167116c81a8540cb7b5aa3595bb84c032c36f9b7c81c4ceb224460b29d5514
6
+ metadata.gz: 0a85dc16d988db80196031105baaed5f2d1c5eee572bcbd4129b4d952f0d4f6a00b595bebbde82ecd184e80c7a41879bec241e085565ba24fd12eceacd492c2b
7
+ data.tar.gz: 5a48efd0493b912277410c57654b42e8b26f99d8971d66739691615124f41661847a1011afb9025e88ee910f7559ed7a1e21f849ea6fb6a7e43695d73de57708
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## v1.5.1
6
+
7
+ - Bug: `--ssh-user` arg doesn't override `knife[:ssh_user]`.
8
+ - PR #35 HT: @patcon
9
+
5
10
  ## v1.5.0
6
11
 
7
12
  - Feature: Support bootstrap as vault client(chef-vault).
@@ -138,14 +138,14 @@ class Chef
138
138
  ssh.ui = ui
139
139
  ssh.name_args = [ server_name, ssh_command ]
140
140
  ssh.config = Net::SSH.configuration_for(server_name)
141
- ssh.config[:ssh_user] = Chef::Config[:knife][:ssh_user] || config[:ssh_user]
141
+ ssh.config[:ssh_user] = config[:ssh_user] || Chef::Config[:knife][:ssh_user]
142
142
  ssh.config[:ssh_password] = config[:ssh_password]
143
- ssh.config[:ssh_port] = Chef::Config[:knife][:ssh_port] || config[:ssh_port]
144
- ssh.config[:ssh_gateway] = Chef::Config[:knife][:ssh_gateway] || config[:ssh_gateway]
145
- ssh.config[:forward_agent] = Chef::Config[:knife][:forward_agent] || config[:forward_agent]
146
- ssh.config[:identity_file] = Chef::Config[:knife][:identity_file] || config[:identity_file]
143
+ ssh.config[:ssh_port] = config[:ssh_port] || Chef::Config[:knife][:ssh_port]
144
+ ssh.config[:ssh_gateway] = config[:ssh_gateway] || Chef::Config[:knife][:ssh_gateway]
145
+ ssh.config[:forward_agent] = config[:forward_agent] || Chef::Config[:knife][:forward_agent]
146
+ ssh.config[:identity_file] = config[:identity_file] || Chef::Config[:knife][:identity_file]
147
147
  ssh.config[:manual] = true
148
- ssh.config[:host_key_verify] = Chef::Config[:knife][:host_key_verify] || config[:host_key_verify]
148
+ ssh.config[:host_key_verify] = config[:host_key_verify] || Chef::Config[:knife][:host_key_verify]
149
149
  ssh.config[:on_error] = :raise
150
150
  ssh
151
151
  rescue => e
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Zero
3
- VERSION = "1.5.0"
3
+ VERSION = "1.5.1"
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
@@ -2,6 +2,6 @@ require "knife-zero/version"
2
2
 
3
3
  class TC_Version < Test::Unit::TestCase
4
4
  test "returns version correctly" do
5
- assert_equal("1.5.0", Knife::Zero::VERSION)
5
+ assert_equal("1.5.1", Knife::Zero::VERSION)
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sawanoboly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-08 00:00:00.000000000 Z
11
+ date: 2015-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -220,3 +220,4 @@ test_files:
220
220
  - test/knife-zero/test_bootstrap_ssh.rb
221
221
  - test/knife-zero/test_versioin.rb
222
222
  - test/run_test.rb
223
+ has_rdoc: