vagrant/plugins/provisioners
Jeff Bonhag e672e5dc65
Fix issues with Windows SSH provisioner
Windows commands that run over SSH are wrapped in a script that writes a
special marker to the two output streams (stdout and stderr).  This
allows Vagrant to consume the output streams.

Unfortunately, this leads to a sort of chicken-and-egg problem where no
commands can be run before a wrapper script exists. For example, you
can't make a destination directory to upload the wrapper script without
first creating a wrapper script to make the directory. :)

This commit changes the behavior of the WinSSH communicator to assume
that the destination directory already exists for provisioning scripts.

It also moves the default `upload_path` from the shell provisioner
config so we can have OS-specific defaults.

Finally, it introduces a Windows-specific #upload method which will
properly use a Windows path separator on a non-Windows host.
2020-01-13 13:55:48 -05:00
..
ansible FreeBSD: Update Ansible's package name 2019-12-17 12:53:24 -08:00
cfengine #6674 CFEngine Provisioner Broken on Debian (http > https) 2015-12-16 14:25:23 +01:00
chef FreeBSD: Remove APT-ism 2019-09-17 03:58:37 -03:00
docker Reset communicator after updating user groups 2018-11-12 15:36:21 -08:00
file Ensure relative path for file provisioner is relative to machines cwd 2019-10-02 15:33:23 -07:00
puppet Fixes #8315: Properly set env variables for puppet provisioner 2018-09-18 10:09:01 -07:00
salt Merge pull request #10539 from jalandis/disable-required-install_type-salt-option-windows 2019-01-03 13:44:05 -08:00
shell Fix issues with Windows SSH provisioner 2020-01-13 13:55:48 -05:00