avst-cloud 0.1.10 → 0.1.11

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODMwMmYwNTQ3YjA0ZGU5ZDYxM2Q4YTcwMjI5MWNlNmZjMTFiM2UwMw==
4
+ ZDFmMWM1ZTFjZjUwODcxZTRjYzU5NGUzYzM1OWFiY2I5MzcyNmE3Nw==
5
5
  data.tar.gz: !binary |-
6
- NDRkYjNjZjhhYjJlZWZlY2RmMWVjMWYyYTFmYTBkMzU3OGI3ZWU2YQ==
6
+ NzY3NjAxOWU2NmIyMTI2N2M3MDBlNmI0MGQ2OGI1OWY1MWIwOTc1MQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZGRlNWZjNDVkZDU0MjA3OWJmMjc2NTU2YmU1MDdlMzY5NGJlNzc2YjkyNzQ0
10
- Y2FmYWYzZDAzOTM0MzlmM2VmYWJjZjNkYzQ5Yzg5YjIyYWQ5NjkyOGE1NGU1
11
- MjgyMjAzNTYwN2RhYWY1NTA5YjI0YmMzODQ5MGY2NzczZTgzOTc=
9
+ OTA4ZmFiNGYwNGIyZjlhMGNjOTJmYTA5NzQ5MWE3YzM3MDc2MTkyNjdmMzkz
10
+ Yjg3ZGEzNDYwYmFlNGYzZDUzMTJkNTFjYTRiMTc1MWExM2Y4NjhiNjk0NjI0
11
+ OTJhYmU1MjlmZDIyYzA2ZmM2ZGRmYWIzNWFiZDNmZjY0MmYzYTI=
12
12
  data.tar.gz: !binary |-
13
- MGJlN2U3MTM1YTcwNWJjZmVkZjkwMzI2MjY2NWQ5MWYwMmNiYzFjZTRhZmZh
14
- YTZjZWJmYjg4ZGQ5ZWU4NTk4MGM0YjBhOTgyYTM2ZTQ2ZTc3OTU4OTQzYWMz
15
- Y2VlMjEyZDAxNDBhMjA1MGMwMDhkMzM1YjJhMTQyMWUzMzNkMWQ=
13
+ ZmY1MmQxMThkMzg2MDk0OGQzMTFlMGVkMTk0YTRhOGVmZWU3YTZiMGFkNDUy
14
+ Yjk5MmIzZmNmZjRiNWY3OThmOWFlODI3NjFhY2QzOTEwMGI4YzBjODA1NTlj
15
+ M2I2MDNkZTczZWY3ZWJkMjM2Yjc3NDViN2E2YmRiNGFiNDQ0NGE=
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "avst-cloud"
7
- spec.version = '0.1.10'
7
+ spec.version = '0.1.11'
8
8
  spec.authors = ["Martin Brehovsky", "Jon Bevan", "Matthew Hope"]
9
9
  spec.email = ["mbrehovsky@adaptavist.com", "jbevan@adaptavist.com", "mhope@adaptavist.com"]
10
10
  spec.summary = %q{Automated creation, bootstrapping and provisioning of servers }
@@ -53,12 +53,8 @@ module AvstCloud
53
53
  ssh_command session
54
54
  end
55
55
  success = true
56
- rescue Errno::ECONNREFUSED
57
- logger.debug "Connection refused. Server may not have booted yet. Sleeping #{attempts}/#{max_attempts}"
58
- sleep(10)
59
- attempts=attempts+1
60
- rescue Errno::ETIMEDOUT
61
- logger.debug "Connection timed out. Server may not have booted yet. Sleeping #{attempts}/#{max_attempts}"
56
+ rescue Errno::ECONNREFUSED, Errno::ETIMEDOUT, Net::SSH::ConnectionTimeout, Timeout::Error => e
57
+ logger.debug "Connection refused or timeout. Server may not have booted yet. Sleeping #{attempts}/#{max_attempts}"
62
58
  sleep(10)
63
59
  attempts=attempts+1
64
60
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avst-cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Brehovsky
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-02-15 00:00:00.000000000 Z
13
+ date: 2016-03-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler