vagrant-windows 1.2.2 → 1.2.3
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.
data/README.md
CHANGED
@@ -13,7 +13,7 @@ Use Windows guests with Vagrant
|
|
13
13
|
|
14
14
|
## Installation
|
15
15
|
|
16
|
-
- For Vagrant 1.1 and
|
16
|
+
- For Vagrant 1.1 and above execute `vagrant plugin install vagrant-windows`.
|
17
17
|
- For Vagrant 1.0 execute `vagrant plugin install vagrant-windows --plugin-version 0.1.2`.
|
18
18
|
|
19
19
|
## Creating a Base Box
|
@@ -17,6 +17,11 @@ module VagrantPlugins
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def run_chef_solo_on_windows
|
20
|
+
|
21
|
+
# This re-establishes our symbolic links if they were created between now and a reboot
|
22
|
+
# Fixes issue #119
|
23
|
+
@machine.communicate.execute('& net use a-non-existant-share', :error_check => false)
|
24
|
+
|
20
25
|
# create cheftaskrun.ps1 that the scheduled task will invoke when run
|
21
26
|
render_file_and_upload("cheftaskrun.ps1", chef_script_options[:chef_task_run_ps1], :options => chef_script_options)
|
22
27
|
|
@@ -41,7 +46,7 @@ module VagrantPlugins
|
|
41
46
|
@machine.env.ui.info I18n.t("vagrant.provisioners.chef.running_solo_again")
|
42
47
|
end
|
43
48
|
|
44
|
-
exit_status = @machine.communicate.execute(command) do |type, data|
|
49
|
+
exit_status = @machine.communicate.execute(command, :error_check => false) do |type, data|
|
45
50
|
# Output the data with the proper color based on the stream.
|
46
51
|
color = type == :stdout ? :green : :red
|
47
52
|
|
@@ -18,6 +18,10 @@ module VagrantPlugins
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def run_puppet_apply_on_windows
|
21
|
+
|
22
|
+
# This re-establishes our symbolic links if they were created between now and a reboot
|
23
|
+
@machine.communicate.execute('& net use a-non-existant-share', :error_check => false)
|
24
|
+
|
21
25
|
options = [config.options].flatten
|
22
26
|
module_paths = @module_paths.map { |_, to| to }
|
23
27
|
if !@module_paths.empty?
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-windows
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-10-
|
13
|
+
date: 2013-10-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: winrm
|
@@ -224,7 +224,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
224
224
|
version: '0'
|
225
225
|
segments:
|
226
226
|
- 0
|
227
|
-
hash: -
|
227
|
+
hash: -3479257835022585511
|
228
228
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
229
229
|
none: false
|
230
230
|
requirements:
|
@@ -233,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
233
233
|
version: '0'
|
234
234
|
segments:
|
235
235
|
- 0
|
236
|
-
hash: -
|
236
|
+
hash: -3479257835022585511
|
237
237
|
requirements: []
|
238
238
|
rubyforge_project:
|
239
239
|
rubygems_version: 1.8.23
|