vagrant-vsphere 0.8.4 → 0.8.5

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: 81543750c5ee31e6115c32b28ff14394da3e380d
4
- data.tar.gz: 13f541745820d6d9708d4ef35332f9ca71b04acb
3
+ metadata.gz: 8a231dfcaaf57127cede0935e62278c1ae717766
4
+ data.tar.gz: 3ad278c2ac87efa2ab9512f4d74de409f3a77a4d
5
5
  SHA512:
6
- metadata.gz: 78d97ccc5a9844e82cc41dbfc3637490ad0caec3e8fe611ff05284c9727212121dc2ddeb17e5a380a7d4a666c9c0a6332941395201ab2e4609f469f783fc56c7
7
- data.tar.gz: b52dcfda735e1c49c47e5b7a4bdf9c039fbc33c14f3eea3f206a4f9d061c7b2bff776310602381ca99f3fcf940bb471a6c95738920f5f5088fd9e3cbdb630273
6
+ metadata.gz: 1994fa10f6089e1fe7d8b467309d4eac536e4ce8ac5dd36b6a5d96c3150788c82884e83c572d4319438a0c47b684fe49c4839b8e05a1116980e9c054d80f3585
7
+ data.tar.gz: 3c77272430482f123001170f8ec34e31b338247620bcacd0ca2ae320f3ba3dc7d416c0a3685004854960f59bef3b6187b1854ea70331bc1d9d6570b327269546
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.8.4**
15
+ **0.8.5**
16
16
 
17
- vagrant-vsphere (0.8.4) is available from [RubyGems.org](https://rubygems.org/)
17
+ vagrant-vsphere (0.8.5) is available from [RubyGems.org](https://rubygems.org/gems/vagrant-vsphere)
18
18
 
19
19
  ## Installation
20
20
 
@@ -162,7 +162,9 @@ This is useful if running Vagrant from multiple directories or if multiple machi
162
162
  * 0.8.3
163
163
  * Fixed "No error message" on rbvmomi method calls. [#74: mkuzmin:rbvmomi-error-messages](https://github.com/nsidc/vagrant-vsphere/pull/74)
164
164
  * 0.8.4
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)
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
+ * 0.8.5
167
+ * fixed synced folders to work with WinRM communicator [#72 10thmagnitude:master](https://github.com/nsidc/vagrant-vsphere/pull/72)
166
168
 
167
169
 
168
170
 
@@ -47,8 +47,13 @@ module VagrantPlugins
47
47
  :guestpath => guestpath))
48
48
 
49
49
  # Create the guest path
50
- env[:machine].communicate.sudo("mkdir -p '#{guestpath}'")
51
- env[:machine].communicate.sudo("chown #{ssh_info[:username]} '#{guestpath}'")
50
+ if env[:machine].communicate.class.to_s =~ /WinRM/
51
+ env[:machine].communicate.execute("New-Item '#{guestpath}' -type directory -force")
52
+
53
+ else
54
+ env[:machine].communicate.sudo("mkdir -p '#{guestpath}'")
55
+ env[:machine].communicate.sudo("chown #{ssh_info[:username]} '#{guestpath}'")
56
+ end
52
57
 
53
58
  # Rsync over to the guest path using the SSH info
54
59
  command = [
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module VSphere
3
- VERSION = '0.8.4'
3
+ VERSION = '0.8.5'
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: 0.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Grauch