cloud-maker 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cloud_maker/ec2.rb +7 -3
- metadata +17 -1
data/lib/cloud_maker/ec2.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'right_aws'
|
2
|
-
|
3
1
|
module CloudMaker
|
4
2
|
class EC2
|
5
3
|
# Public: Gets/Sets the AWS access key.
|
@@ -115,7 +113,13 @@ module CloudMaker
|
|
115
113
|
)
|
116
114
|
|
117
115
|
instance.tags.set(cloud_maker_config['tags']) if cloud_maker_config['tags']
|
118
|
-
|
116
|
+
|
117
|
+
if cloud_maker_config["elastic_ip"]
|
118
|
+
while instance.status == :pending
|
119
|
+
#wait
|
120
|
+
end
|
121
|
+
instance.associate_elastic_ip(cloud_maker_config["elastic_ip"])
|
122
|
+
end
|
119
123
|
|
120
124
|
archiver = S3Archiver.new(
|
121
125
|
:instance_id => instance.id,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloud-maker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -60,6 +60,22 @@ dependencies:
|
|
60
60
|
- - ~>
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '1.6'
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: rest-client
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ~>
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '1.6'
|
71
|
+
type: :runtime
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ~>
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '1.6'
|
63
79
|
- !ruby/object:Gem::Dependency
|
64
80
|
name: deep_merge
|
65
81
|
requirement: !ruby/object:Gem::Requirement
|