ec2-clusterssh 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/cluster +1 -5
- data/lib/ec2/clusterssh/version.rb +1 -1
- 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: 848a48921e58725ee95773b35388fe4ca79b5a44
|
4
|
+
data.tar.gz: 8ab7e61c93d83a66927fc9fcce91ed8d1a82294b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eaea66e58ff83657117583dcf2b27833a76f7c28c6cb5ee2473f3432bdccbea2c7f8a4b26b8b3652d073794fbeb6aad276f2e2a6db978557151787000b9c8698
|
7
|
+
data.tar.gz: 1469fd5ad5423fd76d4e1600fbe44c63fd5056c8fe4967663afe7d63766171ecd60b2712c687006d9e673abd8e88001c5e8d6459a9212e8366a7647a07a72ad6
|
data/bin/cluster
CHANGED
@@ -34,9 +34,6 @@ OptionParser.new do |opts|
|
|
34
34
|
|
35
35
|
end.parse!
|
36
36
|
|
37
|
-
puts options
|
38
|
-
|
39
|
-
|
40
37
|
Aws.config.update({:region => options['region']})
|
41
38
|
$ec2 = Aws::EC2::Client.new
|
42
39
|
|
@@ -73,7 +70,6 @@ options['tags'].each do |tag|
|
|
73
70
|
matched_instances = get_instances_by_tag(key,values,options)
|
74
71
|
end
|
75
72
|
matched_instances = matched_instances & get_instances_by_tag(key,values,options)
|
76
|
-
puts "#{tag}: #{matched_instances}"
|
77
73
|
end
|
78
74
|
|
79
75
|
if matched_instances.length == 0
|
@@ -90,4 +86,4 @@ cmd = cmd + " #{matched_instances.join ' '}"
|
|
90
86
|
|
91
87
|
puts "Connecting to #{matched_instances.length} instances"
|
92
88
|
puts cmd
|
93
|
-
|
89
|
+
exec cmd
|