knife-zero 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/chef/knife/zero_bootstrap.rb +6 -6
- data/lib/knife-zero/version.rb +1 -1
- data/test/knife-zero/test_versioin.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 44cf84092314004ad94e89203f75d0b6ea6288f4
|
|
4
|
+
data.tar.gz: db9b5e072c8fa7c72b8c7e45f430bf03d0886e56
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0a85dc16d988db80196031105baaed5f2d1c5eee572bcbd4129b4d952f0d4f6a00b595bebbde82ecd184e80c7a41879bec241e085565ba24fd12eceacd492c2b
|
|
7
|
+
data.tar.gz: 5a48efd0493b912277410c57654b42e8b26f99d8971d66739691615124f41661847a1011afb9025e88ee910f7559ed7a1e21f849ea6fb6a7e43695d73de57708
|
data/CHANGELOG.md
CHANGED
|
@@ -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]
|
|
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]
|
|
144
|
-
ssh.config[:ssh_gateway] = Chef::Config[:knife][:ssh_gateway]
|
|
145
|
-
ssh.config[:forward_agent] = Chef::Config[:knife][:forward_agent]
|
|
146
|
-
ssh.config[:identity_file] = Chef::Config[:knife][: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]
|
|
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
|
data/lib/knife-zero/version.rb
CHANGED
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.
|
|
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-
|
|
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:
|