vagabund 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vagabund/boxer/command.rb +15 -10
- data/lib/vagabund/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ba9d13234d139dc29e778e85e99eaa00e0bdf4a
|
4
|
+
data.tar.gz: 37d4bbe691e8acfc36a7e0f3673b64ebe3d7257a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e85a5b09ede5c53688f442421443dd0f707d9fe9572e068bd4a3cb0646b51b8a7233af48d3101d839d6e3db71e969565ad4db22937ad80aee851ba31b2ec0829
|
7
|
+
data.tar.gz: 604ff475faf3226dda5f028c202cabecf77c2f4d5eb84bb4e24f403923620efe58901bbd2c559f5291c604d5beeb47a7dda3d00c8ae82f9e613484e3ac2428e8
|
@@ -147,16 +147,21 @@ module Vagabund
|
|
147
147
|
ami_json = JSON.parse(`aws ec2 describe-images --owners=self --output=json`.chomp)
|
148
148
|
image = ami_json['Images'].select { |img| img['ImageId'] == image_id }.first
|
149
149
|
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
150
|
+
if image.nil? # sometimes AWS takes a while to even list the AMI
|
151
|
+
@env.ui.info " #{image_id}: Image is in state '#{image['State']}'" if image['State'] != last_state
|
152
|
+
|
153
|
+
last_state = image['State']
|
154
|
+
if image['State'] == 'failed'
|
155
|
+
@env.ui.error "==> #{image_id}: Image Creation Failed!", bold: true
|
156
|
+
@env.ui.error " #{image_id}: #{image['StateReason']['Message']}"
|
157
|
+
break;
|
158
|
+
elsif image['State'] == state
|
159
|
+
break;
|
160
|
+
end
|
161
|
+
else
|
162
|
+
@env.ui.info " #{image_id}: Image is in state 'unknown'" if last_state != 'unknown'
|
163
|
+
last_state = 'unknown'
|
164
|
+
end
|
160
165
|
|
161
166
|
sleep 5
|
162
167
|
end
|
data/lib/vagabund/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagabund
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Rebec
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
113
|
version: '0'
|
114
114
|
requirements: []
|
115
115
|
rubyforge_project:
|
116
|
-
rubygems_version: 2.
|
116
|
+
rubygems_version: 2.4.6
|
117
117
|
signing_key:
|
118
118
|
specification_version: 4
|
119
119
|
summary: Vagrant plugin for provisioning users, configs, packages, projects and more.
|