vagrant-vsphere 1.0.0 → 1.0.1

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: 9e213ed207d134e78f329cddbc785e7095b00486
4
- data.tar.gz: 9247fb1fe8f10430408b01108c4c965ec60d1f23
3
+ metadata.gz: faf30eaf9f39c9f7abcb8b97554a0562ca6d4c90
4
+ data.tar.gz: c5fbb49c7759d8d2ee6e52c2944637ca9cab594f
5
5
  SHA512:
6
- metadata.gz: 0d8ae03ec33c350e1913d41783a0a578c81ab3633eb12b123ec24c644e0600359cd43b581bca31ab674d899183e95c3e2e7f93edaf458910fed1e7fe6f73e468
7
- data.tar.gz: 3f08935d3c7ea34138f9ad2bad69efb900af14b662fb072e6299dadd900ff758228ff0be3d3ef5b5760a0a6888619990b1dc6e20deb8d8f9619832ffec35ceec
6
+ metadata.gz: e4c92537d8e4b00cafd185268587b8a955ab63ed9c146a9ba287c6307d9e47a8b9aa3c86846aef53ed13d87547386f7639a76b465fef6c17166c81d1833a8bdc
7
+ data.tar.gz: 54837b1d1f0f87afe06299b74f4fead65284bb74d24c9dfe9c5a1f81841cddda26c02abe80dca3101909bbdb89611068da27dc0c00aca5322f8e3e9b2cc3ddfd
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 1.0.0
2
+ current_version = 1.0.1
3
3
  tag = true
4
4
  commit = true
5
5
 
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 1.0.1 (2015-01-06)
2
+
3
+ - Fix "undefined local variable or method datastore" error due to typo in a
4
+ variable name
5
+ ([#116 mkuzmin:datastore](https://github.com/nsidc/vagrant-vsphere/pull/116))
6
+ - Remove "missing required parameter uuid" error from `vagrant destroy` output
7
+ when no machine exists
8
+ ([#117 mkuzmin:destroy](https://github.com/nsidc/vagrant-vsphere/pull/117))
9
+
1
10
  ## 1.0.0 (2015-01-05)
2
11
 
3
12
  - Increase Vagrant requirement to 1.6.4+
data/README.md CHANGED
@@ -19,9 +19,9 @@ This provider is built on top of the
19
19
  * libxml2, libxml2-dev, libxslt, libxslt-dev
20
20
 
21
21
  ## Current Version
22
- **version: 1.0.0**
22
+ **version: 1.0.1**
23
23
 
24
- vagrant-vsphere (**version: 1.0.0**) is available from
24
+ vagrant-vsphere (**version: 1.0.1**) is available from
25
25
  [RubyGems.org](https://rubygems.org/gems/vagrant-vsphere)
26
26
 
27
27
  ## Installation
@@ -28,7 +28,7 @@ module VagrantPlugins
28
28
  begin
29
29
  # Storage DRS does not support vSphere linked clones. http://www.vmware.com/files/pdf/techpaper/vsphere-storage-drs-interoperability.pdf
30
30
  ds = get_datastore dc, machine
31
- fail Errors::VSphereError, :'invalid_configuration_linked_clone_with_sdrs' if config.linked_clone && datastore.is_a?(RbVmomi::VIM::StoragePod)
31
+ fail Errors::VSphereError, :'invalid_configuration_linked_clone_with_sdrs' if config.linked_clone && ds.is_a?(RbVmomi::VIM::StoragePod)
32
32
 
33
33
  location = get_location ds, dc, machine, template
34
34
  spec = RbVmomi::VIM.VirtualMachineCloneSpec location: location, powerOn: true, template: false
@@ -22,6 +22,7 @@ module VagrantPlugins
22
22
  private
23
23
 
24
24
  def destroy_vm(env)
25
+ return if env[:machine].state.id == :not_created
25
26
  vm = get_vm_by_uuid env[:vSphere_connection], env[:machine]
26
27
  return if vm.nil?
27
28
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module VSphere
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
5
  end
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: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Grauch