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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df8f85f6947267db639529228577d5a68abae624
4
- data.tar.gz: bbb7d3a3af1beabd8b0ef02ecafc42fb78c78fd4
3
+ metadata.gz: 3f2c3eeb2bdb95eda2193e4a341e0aecbb4478d5
4
+ data.tar.gz: 9e24e5a58270175f46bc3f295c265c107f330af1
5
5
  SHA512:
6
- metadata.gz: d2605999e47f293804e313ba649b36113b716bf2b452276c7d7576c589d3b288eeed3fe384797f65f09be18755c78885a6be7d44160bec75243f0528c921c81d
7
- data.tar.gz: e69fb004a278997d0eedf07c0217804967045f8d3403e0e50462a677d9073c3f30c5d70ef2c530ebe9927a071a6ed1b9fb2fd2465dd05a908f96e398208ca591
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']
@@ -1,3 +1,3 @@
1
1
  module Vominator
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vominator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Kelly