vagrant-vsphere 0.8.5 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a231dfcaaf57127cede0935e62278c1ae717766
4
- data.tar.gz: 3ad278c2ac87efa2ab9512f4d74de409f3a77a4d
3
+ metadata.gz: a02c9f4ac97953016ac3fac92a14e7efbcc5b673
4
+ data.tar.gz: 038f06bf972ccfcd6692b642b91f3922b8d9a618
5
5
  SHA512:
6
- metadata.gz: 1994fa10f6089e1fe7d8b467309d4eac536e4ce8ac5dd36b6a5d96c3150788c82884e83c572d4319438a0c47b684fe49c4839b8e05a1116980e9c054d80f3585
7
- data.tar.gz: 3c77272430482f123001170f8ec34e31b338247620bcacd0ca2ae320f3ba3dc7d416c0a3685004854960f59bef3b6187b1854ea70331bc1d9d6570b327269546
6
+ metadata.gz: 347b867ae7551d99311daab235e410ff51e372aabdedd5c2e5c83418050e43dee02c4d516d5c91b74e6ae22bd50d1ed8c80f96882ee22bd3c411df4d91b80c06
7
+ data.tar.gz: 93e5f3aef54aa2f63a861767469500a2b8219edfbd3296bbf42a8dbb447f0554df347dcaf5b7589a7739a6237109b04c99e0bc9058e53751039adf0298558f22
data/.gitignore CHANGED
@@ -3,4 +3,5 @@
3
3
  Vagrantfile
4
4
  pkg/*
5
5
  *.box
6
- Gemfile.lock
6
+ Gemfile.lock
7
+ /vendor/
data/Gemfile CHANGED
@@ -8,6 +8,6 @@ group :development do
8
8
  # Vagrant environment itself using `vagrant plugin`.
9
9
 
10
10
  ruby "2.0.0"
11
- gem 'vagrant', :git => 'git://github.com/mitchellh/vagrant.git', :tag => 'v1.5.0'
11
+ gem 'vagrant', :git => 'git://github.com/mitchellh/vagrant.git', :tag => 'v1.6.3'
12
12
 
13
13
  end
data/README.md CHANGED
@@ -1,20 +1,20 @@
1
1
  # Vagrant vSphere Provider
2
2
 
3
- This is a [Vagrant](http://www.vagrantup.com) 1.5+ plugin that adds a [vSphere](http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.wssdk.apiref.doc_50%2Fright-pane.html)
3
+ This is a [Vagrant](http://www.vagrantup.com) 1.6.3+ plugin that adds a [vSphere](http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.wssdk.apiref.doc_50%2Fright-pane.html)
4
4
  provider to Vagrant, allowing Vagrant to control and provision machines using VMware. New machines are created from virtual machines or templates which must be configured prior to using using this provider.
5
5
 
6
6
  This provider is built on top of the [RbVmomi](https://github.com/vmware/rbvmomi) Ruby interface to the vSphere API.
7
7
 
8
8
  ## Requirements
9
- * Vagrant 1.5+
9
+ * Vagrant 1.6.3+
10
10
  * VMware + vSphere API
11
11
  * Ruby 1.9+
12
12
  * libxml2, libxml2-dev, libxslt, libxslt-dev
13
13
 
14
14
  ## Current Version
15
- **0.8.5**
15
+ **0.9.0**
16
16
 
17
- vagrant-vsphere (0.8.5) is available from [RubyGems.org](https://rubygems.org/gems/vagrant-vsphere)
17
+ vagrant-vsphere (0.9.0) is available from [RubyGems.org](https://rubygems.org/gems/vagrant-vsphere)
18
18
 
19
19
  ## Installation
20
20
 
@@ -165,7 +165,9 @@ This is useful if running Vagrant from multiple directories or if multiple machi
165
165
  * Use root resource pool when cloning from template [#63: matt-richardson:support-resource-pools-on-vsphere-standard-edition](https://github.com/nsidc/vagrant-vsphere/pull/63)
166
166
  * 0.8.5
167
167
  * fixed synced folders to work with WinRM communicator [#72 10thmagnitude:master](https://github.com/nsidc/vagrant-vsphere/pull/72)
168
-
168
+ * 0.9.0
169
+ * increases Vagrant requirements to 1.6.3+
170
+ * Supports differentiating between SSH/WinRM communicator [#67 marnovdm:feature/waiting-for-winrm](https://github.com/nsidc/vagrant-vsphere/pull/67)
169
171
 
170
172
 
171
173
 
@@ -3,7 +3,12 @@ module VagrantPlugins
3
3
  module Util
4
4
  module MachineHelpers
5
5
  def wait_for_ssh(env)
6
- env[:ui].info(I18n.t("vsphere.waiting_for_ssh"))
6
+ if not env[:machine].config.vm.communicator.nil? and env[:machine].config.vm.communicator == :winrm
7
+ env[:ui].info(I18n.t("vsphere.waiting_for_winrm"))
8
+ else
9
+ env[:ui].info(I18n.t("vsphere.waiting_for_ssh"))
10
+ end
11
+
7
12
  while true
8
13
  break if env[:machine].communicate.ready?
9
14
  sleep 5
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module VSphere
3
- VERSION = '0.8.5'
3
+ VERSION = '0.9.0'
4
4
  end
5
5
  end
data/locales/en.yml CHANGED
@@ -18,6 +18,8 @@ en:
18
18
  The VM is not running
19
19
  waiting_for_ssh: |-
20
20
  Waiting for SSH to become available...
21
+ waiting_for_winrm: |-
22
+ Waiting for WinRM to become available...
21
23
  rsync_folder: |-
22
24
  Rsyncing folder: %{hostpath} => %{guestpath}
23
25
 
data/spec/spec_helper.rb CHANGED
@@ -52,7 +52,7 @@ RSpec.configure do |config|
52
52
  :proxy_host => nil,
53
53
  :proxy_port => nil)
54
54
  vm_config = double(
55
- :vm => double('config_vm', :synced_folders => [], :provisioners => [], :networks => [[:private_network, {:ip => '0.0.0.0'}]]),
55
+ :vm => double('config_vm', :synced_folders => [], :provisioners => [], :communicator => nil, :networks => [[:private_network, {:ip => '0.0.0.0'}]]),
56
56
  :validate => []
57
57
  )
58
58
  @app = double 'app', :call => true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Grauch