vagrant-vsphere 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/lib/vSphere/action/clone.rb +1 -1
- data/lib/vSphere/version.rb +1 -1
- data/spec/clone_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b849287254d7d458dd01177a712d88b8cda2457
|
4
|
+
data.tar.gz: 245b4fd9edf27c7be1704bd6130495aa8ad08e73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2dbee432c779914179ab77cd29496e701b7355e11c5c13f2cc8c2aed6b1441ecc7e5ecdb7517dc2a31d90597c0c6902bba39dc9c24e9acbdff36c039abc6755
|
7
|
+
data.tar.gz: 8043c30a3c64943625725d8d0b0b021eab2a2ae5375ca241a56b4824d8dbe6a687f0a118e9bf4bbfaf4aa360b46b1a72e30d3fb9dc79118e1b00d56dee0542d1
|
data/README.md
CHANGED
@@ -12,9 +12,9 @@ This provider is built on top of the [RbVmomi](https://github.com/vmware/rbvmomi
|
|
12
12
|
* libxml2, libxml2-dev, libxslt, libxslt-dev
|
13
13
|
|
14
14
|
## Current Version
|
15
|
-
**0.
|
15
|
+
**0.11.0**
|
16
16
|
|
17
|
-
vagrant-vsphere (0.
|
17
|
+
vagrant-vsphere (0.11.0) is available from [RubyGems.org](https://rubygems.org/gems/vagrant-vsphere)
|
18
18
|
|
19
19
|
## Installation
|
20
20
|
|
@@ -176,6 +176,8 @@ This is useful if running Vagrant from multiple directories or if multiple machi
|
|
176
176
|
* 0.10.0
|
177
177
|
* new optional parameter to clone into custom folder in vSphere [#73 mikola-spb:vm-base-path](https://github.com/nsidc/vagrant-vsphere/pull/73)
|
178
178
|
* follows semvar better, this adds functionality in a backwards compatible way, so bumps the minor. 0.9.0, should have been a major version.
|
179
|
+
* 0.11.0
|
180
|
+
* Create the VM target folder if it doesn't exist #76 marnovdm:feature/create_vm_folder.
|
179
181
|
|
180
182
|
## Versioning
|
181
183
|
|
data/lib/vSphere/action/clone.rb
CHANGED
@@ -131,7 +131,7 @@ module VagrantPlugins
|
|
131
131
|
if config.vm_base_path.nil?
|
132
132
|
template.parent
|
133
133
|
else
|
134
|
-
dc.vmFolder.traverse(config.vm_base_path, RbVmomi::VIM::Folder)
|
134
|
+
dc.vmFolder.traverse(config.vm_base_path, RbVmomi::VIM::Folder, create=true)
|
135
135
|
end
|
136
136
|
end
|
137
137
|
end
|
data/lib/vSphere/version.rb
CHANGED
data/spec/clone_spec.rb
CHANGED
@@ -20,7 +20,7 @@ describe VagrantPlugins::VSphere::Action::Clone do
|
|
20
20
|
custom_base_folder = double(CUSTOM_VM_FOLDER,
|
21
21
|
:pretty_path => "#{@data_center.pretty_path}/#{CUSTOM_VM_FOLDER}")
|
22
22
|
@machine.provider_config.stub(:vm_base_path).and_return(CUSTOM_VM_FOLDER)
|
23
|
-
@data_center.vmFolder.stub(:traverse).with(CUSTOM_VM_FOLDER, RbVmomi::VIM::Folder).and_return(custom_base_folder)
|
23
|
+
@data_center.vmFolder.stub(:traverse).with(CUSTOM_VM_FOLDER, RbVmomi::VIM::Folder, true).and_return(custom_base_folder)
|
24
24
|
call
|
25
25
|
expect(@template).to have_received(:CloneVM_Task).with({
|
26
26
|
:folder => custom_base_folder,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-vsphere
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Grauch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|