poolparty 1.4.3 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION.yml +1 -1
- data/lib/cloud_providers/ec2/helpers/elastic_auto_scaler.rb +15 -11
- metadata +2 -2
data/VERSION.yml
CHANGED
|
@@ -150,17 +150,21 @@ module CloudProviders
|
|
|
150
150
|
end
|
|
151
151
|
end
|
|
152
152
|
def launch_configurations
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
153
|
+
begin
|
|
154
|
+
@launch_configurations ||= as.describe_launch_configurations.DescribeLaunchConfigurationsResult.LaunchConfigurations.member.map do |a|
|
|
155
|
+
{
|
|
156
|
+
:name => a["LaunchConfigurationName"],
|
|
157
|
+
:ramdisk_id => a["RamdiskId"],
|
|
158
|
+
:image_id => a["ImageId"],
|
|
159
|
+
:security_groups => (a["SecurityGroups"]["member"] rescue ["default"]),
|
|
160
|
+
:created_time => a["CreatedTime"],
|
|
161
|
+
:user_data => a["UserData"] || "",
|
|
162
|
+
:key_name => a["KeyName"],
|
|
163
|
+
:instance_type => a["InstanceType"]
|
|
164
|
+
}
|
|
165
|
+
end
|
|
166
|
+
rescue Exception => e
|
|
167
|
+
[]
|
|
164
168
|
end
|
|
165
169
|
end
|
|
166
170
|
def create_autoscaling_group!
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: poolparty
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ari Lerner
|
|
@@ -11,7 +11,7 @@ autorequire:
|
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
13
|
|
|
14
|
-
date: 2009-12-
|
|
14
|
+
date: 2009-12-02 00:00:00 -08:00
|
|
15
15
|
default_executable:
|
|
16
16
|
dependencies: []
|
|
17
17
|
|