awful 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awful/launch_config.rb +5 -5
- data/lib/awful/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: 3aad3b018c0688a9f25b0ebe9b229dcfbe37df39
|
4
|
+
data.tar.gz: 34c7320a6dfcc5cafc93d15654aeeaf346832505
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7b19df16d6a9fbe6fcaa722e19278a21279277da6f7257c0ed2aa50eaba7d6162cf7cc8eba1efae5b6da7cd0c248dc331290e9b6987d6d5b409f48e149ee208
|
7
|
+
data.tar.gz: 455fed42422787be69d9ab1660c53137d27f9005fd3c7f0c768ee0279fbb9273fe13036145f7b14d971d472d1d7e22188d0e1c695b41556ba8a96c8ef2f12981
|
data/lib/awful/launch_config.rb
CHANGED
@@ -30,8 +30,8 @@ module Awful
|
|
30
30
|
end.sort_by(&:created_time).first(num.to_i).map(&:launch_configuration_name).tap do |names|
|
31
31
|
puts names
|
32
32
|
if yes? 'delete these launch configs?', :yellow
|
33
|
-
names.each do |
|
34
|
-
autoscaling.delete_launch_configuration(launch_configuration_name:
|
33
|
+
names.each do |n|
|
34
|
+
autoscaling.delete_launch_configuration(launch_configuration_name: n)
|
35
35
|
end
|
36
36
|
end
|
37
37
|
end
|
@@ -53,11 +53,11 @@ module Awful
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
-
desc 'create [
|
56
|
+
desc 'create NAME [FILE]', 'create a new launch configuration'
|
57
57
|
method_option :timestamp, aliases: '-t', default: false, desc: 'Add timestamp to launch config name'
|
58
58
|
method_option :patch, aliases: '-p', default: false, desc: 'Add release to launch config name'
|
59
|
-
def create(name)
|
60
|
-
opt = load_cfg(options)
|
59
|
+
def create(name, file = nil)
|
60
|
+
opt = load_cfg(options, file)
|
61
61
|
|
62
62
|
whitelist = %i[launch_configuration_name image_id key_name security_groups classic_link_vpc_id classic_link_vpc_security_groups user_data
|
63
63
|
instance_id instance_type kernel_id ramdisk_id block_device_mappings instance_monitoring spot_price iam_instance_profile
|
data/lib/awful/version.rb
CHANGED