vominator 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ec2/instances.rb +1 -1
- data/lib/vominator/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: 3f2c3eeb2bdb95eda2193e4a341e0aecbb4478d5
|
4
|
+
data.tar.gz: 9e24e5a58270175f46bc3f295c265c107f330af1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2260cee2e7f3b6ad10c0915b75eddb77b7bd7f7b40177208e8299f2d9d126c2af631562948bb2b427b82aaa59a7fe198da4c0cb8ab84ce81a7f177e5d69c0d15
|
7
|
+
data.tar.gz: 133b6eca3cfa06e0b304a2ae2d378ca0b92ae0eaeb6a5762862cb93852f007fbc7ffc04336e26ce3a8e1b944594b3f22300076ae10c582a01b33ee56516df7c9
|
data/lib/ec2/instances.rb
CHANGED
@@ -138,7 +138,7 @@ vpc_security_groups = Vominator::EC2.get_security_group_name_ids_hash(ec2, puke_
|
|
138
138
|
instances.each do |instance|
|
139
139
|
hostname = instance.keys[0]
|
140
140
|
fqdn = "#{hostname}.#{puke_config['domain']}"
|
141
|
-
instance_type = instance['type'][options[:environment]]
|
141
|
+
instance_type = instance['type'][options[:environment]] || instance['type']
|
142
142
|
instance_ip = instance['ip'].sub('OCTET',puke_config['octet'])
|
143
143
|
instance_security_groups = instance['security_groups'].map { |sg| sg}.uniq.sort
|
144
144
|
ebs_optimized = instance['ebs_optimized'].nil? ? false : instance['ebs_optimized']
|
data/lib/vominator/version.rb
CHANGED