vagrant-subutai 1.1.1 → 1.1.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/lib/vagrant-subutai/subutai_commands.rb +16 -1
- data/lib/vagrant-subutai/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e85448afa09e694451410e4f71f30e8124723d48
|
4
|
+
data.tar.gz: 8417f914901d15c0652decffdacd9985b5670429
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 768dba9dc41d0d159c60365b5f94758ccc226a43de94d3d0f1a62b8d31165ca351fc4cc622ec20b0296440dca43dd97b9bca511a9f6615cc3d34a7c3b5dadf19
|
7
|
+
data.tar.gz: e781b7fb725b7747e37449dc0fea0363483278405b9cb3981d47815cbc1d1a950754e3f747c7d97937ca4023cc6fa034caad7c6294704ad31b3c6e25ef3079a6
|
data/CHANGELOG.md
CHANGED
@@ -297,13 +297,28 @@ module VagrantSubutai
|
|
297
297
|
sleep(2**attempt) #
|
298
298
|
blueprint(url, attempt+1)
|
299
299
|
end
|
300
|
+
rescue Errno::ECONNABORTED
|
301
|
+
if attempt < VagrantSubutai::Configs::Blueprint::ATTEMPT
|
302
|
+
sleep(2**attempt) #
|
303
|
+
blueprint(url, attempt+1)
|
304
|
+
end
|
300
305
|
rescue OpenSSL::OpenSSLError # generic openssl error
|
301
306
|
if attempt < VagrantSubutai::Configs::Blueprint::ATTEMPT
|
302
307
|
sleep(2**attempt) #
|
303
308
|
blueprint(url, attempt+1)
|
304
309
|
end
|
310
|
+
rescue OpenSSL::SSL::SSLError
|
311
|
+
if attempt < VagrantSubutai::Configs::Blueprint::ATTEMPT
|
312
|
+
sleep(2**attempt) #
|
313
|
+
blueprint(url, attempt+1)
|
314
|
+
end
|
305
315
|
rescue => e
|
306
|
-
|
316
|
+
if attempt == 1 # fails first attempt then try
|
317
|
+
sleep(10)
|
318
|
+
blueprint(url, attempt+1)
|
319
|
+
else
|
320
|
+
Put.error e
|
321
|
+
end
|
307
322
|
end
|
308
323
|
end
|
309
324
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-subutai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Subutai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|