itamae-mitsurin 0.37 → 0.38
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce77231150b75053ae849ce8b2148f9061a2bc54
|
4
|
+
data.tar.gz: cf6a95dbb7ecb252c819cbb430b82ae9822a6aa4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e3eb8316e71c408cba05e1a00de93644c300f3ebbfe76a4b298f17cae9188a1b14c0d2418e89b994d8971270100d5aa11a5c6ded49bd66daf1fce7c01f39076
|
7
|
+
data.tar.gz: 41e23113264b22587ba7cd045fcc9a8f12423f4d02868eff1c55a988667ac14d90f154421815f40fe61ad5f4193a0b995f6814732c2b881b20e3b41c65a2ddfe
|
@@ -105,6 +105,7 @@ module ItamaeMitsurin
|
|
105
105
|
sudo_password = node_property[:environments][:sudo_password]
|
106
106
|
ssh_port = node_property[:environments][:ssh_port]
|
107
107
|
ssh_key = node_property[:environments][:ssh_key]
|
108
|
+
local_ipv4 = node_property[:environments][:local_ipv4]
|
108
109
|
|
109
110
|
ENV['TARGET_HOST'] = node
|
110
111
|
ENV['NODE_FILE'] = node_file
|
@@ -112,7 +113,11 @@ module ItamaeMitsurin
|
|
112
113
|
ENV['SUDO_PASSWORD'] = sudo_password
|
113
114
|
|
114
115
|
command = "bundle exec itamae ssh"
|
115
|
-
|
116
|
+
if local_ipv4.nil?
|
117
|
+
command << " -h #{node}"
|
118
|
+
else
|
119
|
+
command << " -h #{local_ipv4}"
|
120
|
+
end
|
116
121
|
command << " -u #{ssh_user}"
|
117
122
|
command << " -p #{ssh_port}"
|
118
123
|
command << " -i keys/#{ssh_key}" unless ssh_key.nil?
|
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.38
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itamae-mitsurin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.38'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Akihiro Kamiyama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|