gaptool-client 0.8.0.pre.alpha2 → 0.8.0.pre.alpha3
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/VERSION +1 -1
- data/lib/gaptool_client.rb +3 -4
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cb7da2336580dbd7f63b160a83bbd066b0c9b5aa
|
|
4
|
+
data.tar.gz: 2ac19b1d8a8d2c70620b3b943477197514f2c850
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e72b4610e2fc678c8a998583368b43c445a429bb8c4efd0ae18e6b1c55b28e0e81ccfaa75d0c52ae6d01c673eb1bbaba33de8597e32e8b6956732a50b1259bd0
|
|
7
|
+
data.tar.gz: b34660bb638816dfac2a64051daa9e0af012afdb865ad961eb47db2dbfccf61e731af913cefe716916db3f3dcc95fbcba090d40ffa2cbe8737f24c35ca3e3617
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.8.0-
|
|
1
|
+
0.8.0-alpha3
|
data/lib/gaptool_client.rb
CHANGED
|
@@ -61,9 +61,8 @@ module Gaptool
|
|
|
61
61
|
exit code
|
|
62
62
|
end
|
|
63
63
|
|
|
64
|
-
def self.get_host(node
|
|
65
|
-
|
|
66
|
-
"#{node['role']}-#{node['environment']}-#{node['instance']}#{domain}"
|
|
64
|
+
def self.get_host(node)
|
|
65
|
+
"#{node['role']}-#{node['environment']}-#{node['instance']}"
|
|
67
66
|
end
|
|
68
67
|
|
|
69
68
|
def self.ssh_snip_for_node(node)
|
|
@@ -175,7 +174,7 @@ EOF
|
|
|
175
174
|
pre = opts[:pre_hooks] || []
|
|
176
175
|
post = opts[:post_hooks] || []
|
|
177
176
|
nodes = Hash[nodes.map { |n| [n['hostname'], n] }]
|
|
178
|
-
handlers = Hash[nodes.map { |hostname, node| [hostname, InteractionHandler.new(Gaptool.get_host(node
|
|
177
|
+
handlers = Hash[nodes.map { |hostname, node| [hostname, InteractionHandler.new(Gaptool.get_host(node))] }]
|
|
179
178
|
opts = { in: :groups, limit: group_size }
|
|
180
179
|
opts = { in: :sequence } if serial
|
|
181
180
|
Gaptool.configure_sshkit
|