ec2launcher 1.0.21 → 1.0.22
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/lib/ec2launcher/dsl/application.rb +4 -3
- data/lib/ec2launcher/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG.md
CHANGED
@@ -206,12 +206,12 @@ module EC2Launcher
|
|
206
206
|
@basename = other_server.basename unless other_server.basename.nil?
|
207
207
|
|
208
208
|
unless other_server.block_devices.nil?
|
209
|
-
@block_devices = []
|
209
|
+
@block_devices = [] if @block_devices.nil?
|
210
210
|
other_server.block_devices.each {|bd| @block_devices << bd }
|
211
211
|
end
|
212
212
|
|
213
213
|
unless other_server.elb.nil?
|
214
|
-
@elb = {}
|
214
|
+
@elb = {} if @elb.nil?
|
215
215
|
other_server.elb.keys.each {|env_name| @elb[env_name] = other_server.elb[env_name] }
|
216
216
|
end
|
217
217
|
|
@@ -219,11 +219,12 @@ module EC2Launcher
|
|
219
219
|
@name_suffix = other_server.name_suffix unless other_server.name_suffix.nil?
|
220
220
|
|
221
221
|
unless other_server.roles.nil?
|
222
|
-
@roles = []
|
222
|
+
@roles = [] if @roles.nil?
|
223
223
|
other_server.roles.each {|role| @roles << role }
|
224
224
|
end
|
225
225
|
|
226
226
|
unless other_server.security_groups.nil?
|
227
|
+
@security_groups = {} if @security_groups.nil?
|
227
228
|
other_server.security_groups.keys.each do |env_name|
|
228
229
|
unless @security_groups.has_key? env_name
|
229
230
|
@security_groups[env_name] = []
|
data/lib/ec2launcher/version.rb
CHANGED