knife-ec2 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/chef/knife/ec2_server_create.rb +6 -0
- data/lib/knife-ec2/version.rb +1 -1
- metadata +2 -2
@@ -169,9 +169,15 @@ class Chef
|
|
169
169
|
end
|
170
170
|
rescue Errno::ETIMEDOUT
|
171
171
|
false
|
172
|
+
rescue Errno::EPERM
|
173
|
+
false
|
172
174
|
rescue Errno::ECONNREFUSED
|
173
175
|
sleep 2
|
174
176
|
false
|
177
|
+
# This happens on EC2 quite often
|
178
|
+
rescue Errno::EHOSTUNREACH
|
179
|
+
sleep 2
|
180
|
+
false
|
175
181
|
ensure
|
176
182
|
tcp_socket && tcp_socket.close
|
177
183
|
end
|
data/lib/knife-ec2/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: knife-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.5.
|
5
|
+
version: 0.5.6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Adam Jacob
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-05-
|
13
|
+
date: 2011-05-13 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|