mccloud 0.0.24 → 0.0.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mccloud/provider/aws/provider.rb +9 -4
- data/lib/mccloud/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: 81a8e6bfe4a6b5685bf1e2705bc43e8ed3f5dc36
|
4
|
+
data.tar.gz: 630240773dc9bbd38b3054a5360db72f611eb8e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0945e13e0444dad25db1f93cb26edab17e86fea95a486e214ee9fed77cfe99a5acedef832319275f4bf11d0c2af524f1a5341e60c0515bed0b20c9cb75c5402
|
7
|
+
data.tar.gz: 39353aa2a5e511dc3e7641c0204a0ad3eeb808f748a1387fad2c5c50b2c2c6b041002ef8d594a15637f450a698a268257c794e6f81acc2684a08070740803c5a
|
@@ -218,11 +218,16 @@ module Mccloud
|
|
218
218
|
filter = self.filter
|
219
219
|
|
220
220
|
self.raw.servers.each do |s|
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
221
|
+
name_tag = s.tags["Name"]
|
222
|
+
if name_tag.start_with?(filter)
|
223
|
+
servername = name_tag.sub(/^#{filter}/,'')
|
224
|
+
h = Hash.new
|
225
|
+
h['public_ip_address']=s.public_ip_address
|
226
|
+
h['private_ip_address']=s.private_ip_address
|
227
|
+
hostentries[servername] = h
|
228
|
+
end
|
225
229
|
end
|
230
|
+
|
226
231
|
return hostentries
|
227
232
|
end
|
228
233
|
|
data/lib/mccloud/version.rb
CHANGED