vagrant-deltacloud-provider 0.0.7 → 0.0.8
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,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: add8cce019fbc9e3fc3b5e77857e46ce4ecf0cae
|
4
|
+
data.tar.gz: d26485067cbbed8d2b3ed49c3ec75d29e56df757
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62ceb53410b26c0a553122a0df1d5467958e9fb6a6a87890a1aea7131a7bed27a6a8b866419f2b345a2cef7c13684db1204a533646e6e125557e4cfb0c6930ab
|
7
|
+
data.tar.gz: 252ccc3851f024ca2be0fb0cadbe71efc1df071fd5f1ea31cf3647665c006b4df283331bd99ab8217708dc807c899665b997c3674f74bd8c6906bc2165689073
|
data/CHANGELOG.md
CHANGED
data/dummy.box
CHANGED
Binary file
|
@@ -1,10 +1,12 @@
|
|
1
1
|
require 'log4r'
|
2
|
+
require 'vagrant-deltacloud-provider/command/utils'
|
2
3
|
require 'vagrant-deltacloud-provider/client/deltacloud'
|
3
4
|
|
4
5
|
module VagrantPlugins
|
5
6
|
module Deltacloud
|
6
7
|
module Action
|
7
8
|
class WaitForServerToBeAccessible < AbstractAction
|
9
|
+
include VagrantPlugins::Deltacloud::Command::Utils
|
8
10
|
def initialize(app, env, resolver = nil, ssh = nil)
|
9
11
|
@logger = Log4r::Logger.new('vagrant_deltacloud::action::wait_accessible')
|
10
12
|
@app = app
|
@@ -27,7 +29,7 @@ module VagrantPlugins
|
|
27
29
|
ssh_timeout = env[:machine].provider_config.ssh_timeout
|
28
30
|
return if server_is_reachable?(env, ssh_timeout)
|
29
31
|
env[:ui].error(I18n.t('vagrant_deltacloud.timeout'))
|
30
|
-
fail Errors::SshUnavailable, host:
|
32
|
+
fail Errors::SshUnavailable, host: get_ip_address(env), timeout: ssh_timeout
|
31
33
|
end
|
32
34
|
|
33
35
|
def server_is_reachable?(env, timeout)
|
@@ -144,7 +144,6 @@ module VagrantPlugins
|
|
144
144
|
|
145
145
|
# Don't set the value if it is the unset value, either.
|
146
146
|
value = obj.instance_variable_get(key)
|
147
|
-
print key
|
148
147
|
if [:@networks, :@volumes, :@rsync_includes].include? key
|
149
148
|
result.instance_variable_set(key, value) unless value.empty?
|
150
149
|
else
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-deltacloud-provider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tero Keski-Valkama
|
@@ -167,6 +167,7 @@ files:
|
|
167
167
|
- Vagrantfile
|
168
168
|
- dummy.box
|
169
169
|
- example_box/README.md
|
170
|
+
- example_box/Vagrantfile
|
170
171
|
- example_box/metadata.json
|
171
172
|
- functional_tests/Vagrantfile
|
172
173
|
- functional_tests/keys/vagrant-deltacloud
|