mccloud 0.0.27 → 0.0.28
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 +8 -6
- data/lib/mccloud/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ae0d84467bd58d659e995a324b01ddf98c77352
|
4
|
+
data.tar.gz: c4e28e4107c7cdb3e13d632c5802f54713e1d9d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d78206241f0c90f20eb1c572a91365744148799e609a7e908de8ef3fe28ec6ccc4fb333d877d86de5f41b184baa4c2cbc2a42d867977d36e9f1b2efceb26a7e
|
7
|
+
data.tar.gz: fa63a1c78ec011ff94fb40645b335cc52b112f28c6e7a08d1ad80d0ef74d6014163923c219f480fb717c9b45ea9170147b701a2fb9fbf465fd272eca383789f3
|
@@ -219,12 +219,14 @@ module Mccloud
|
|
219
219
|
|
220
220
|
self.raw.servers.each do |s|
|
221
221
|
name_tag = s.tags["Name"]
|
222
|
-
if name_tag.
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
222
|
+
if (!name_tag.nil?)
|
223
|
+
if name_tag.start_with?(filter)
|
224
|
+
servername = name_tag.sub(/^#{filter}/,'')
|
225
|
+
h = Hash.new
|
226
|
+
h['public_ip_address']=s.public_ip_address
|
227
|
+
h['private_ip_address']=s.private_ip_address
|
228
|
+
hostentries[servername] = h
|
229
|
+
end
|
228
230
|
end
|
229
231
|
end
|
230
232
|
|
data/lib/mccloud/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mccloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Debois
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ssh
|