ssh_voodoo 0.0.2 → 0.0.3
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.
- data/lib/ssh_voodoo.rb +9 -3
- data/ssh_voodoo.gemspec +1 -1
- metadata +4 -4
data/lib/ssh_voodoo.rb
CHANGED
|
@@ -184,9 +184,15 @@ class SshVoodoo
|
|
|
184
184
|
end
|
|
185
185
|
end
|
|
186
186
|
tp.shutdown
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
187
|
+
|
|
188
|
+
failed = statuses.reject{|k,v| v == 0}.keys
|
|
189
|
+
if failed.empty?
|
|
190
|
+
puts "Command ran successfully on all hosts."
|
|
191
|
+
else
|
|
192
|
+
puts "Command failed to run on the following hosts:\n"
|
|
193
|
+
puts failed
|
|
194
|
+
end
|
|
195
|
+
|
|
190
196
|
return statuses
|
|
191
197
|
end
|
|
192
198
|
end
|
data/ssh_voodoo.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ssh_voodoo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.0.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Darren Dao
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2012-03
|
|
18
|
+
date: 2012-05-03 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: net-ssh
|