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: 48dabe83b429bc8a8a59740af61f60e8a17d60a5
4
- data.tar.gz: 958319adcc21aa5eac70bdfa1291a536ad3700be
3
+ metadata.gz: add8cce019fbc9e3fc3b5e77857e46ce4ecf0cae
4
+ data.tar.gz: d26485067cbbed8d2b3ed49c3ec75d29e56df757
5
5
  SHA512:
6
- metadata.gz: 714968c906f53a0e2ad8616324f0857a7676d28dfe645ecc37401c98f59950c78a75d0d0fd5c99a0e9f7466c8fcfc325d66abc53df2f74ea47ee1b4cc734df7e
7
- data.tar.gz: e7d92bad81a4d04bfe1238d7513897799ffed05b2f063b14ee48719a5aa188a7acc5313f6a9c21b7e0f6a405d0a9ed9e45b2a0a34ea45bc88284774b713582c9
6
+ metadata.gz: 62ceb53410b26c0a553122a0df1d5467958e9fb6a6a87890a1aea7131a7bed27a6a8b866419f2b345a2cef7c13684db1204a533646e6e125557e4cfb0c6930ab
7
+ data.tar.gz: 252ccc3851f024ca2be0fb0cadbe71efc1df071fd5f1ea31cf3647665c006b4df283331bd99ab8217708dc807c899665b997c3674f74bd8c6906bc2165689073
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.0.8 (November 13, 2014)
2
+
3
+ * Clean up and bug fixes.
4
+
1
5
  # 0.0.7 (November 13, 2014)
2
6
 
3
7
  * Turned off the colorize usage, doesn't work from gems installation for some strange reason.
data/dummy.box CHANGED
Binary file
@@ -0,0 +1,7 @@
1
+ # -*- mode: ruby -*-
2
+ # vi: set ft=ruby :
3
+
4
+ Vagrant.configure("2") do |config|
5
+ config.vm.provider :deltacloud do |dc|
6
+ end
7
+ end
@@ -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: @resolver.resolve_ip(env), timeout: ssh_timeout
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
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Deltacloud
3
- VERSION = '0.0.7'
3
+ VERSION = '0.0.8'
4
4
  end
5
5
  end
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.7
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