Prior to this commit, if a file provisioner block was ran twice with a folder on a remote host, due to how scp works, it would first copy over that folder, and then on the second action it would copy an identical folder nested within the first one. While this is 'intended' behavior with scp, it is unexpected behavior for the file provisioner. This commit updates the file provisioner to first ensure that the directory to be copied exists on the remote host prior to copying, and then the destination dir has been changed to the directory that the destination will be copied to, rather than the exact directly that includes the folder from the host to prevent the nested folder behavior. |
||
---|---|---|
.. | ||
commands | ||
communicators | ||
guests | ||
hosts | ||
kernel_v1 | ||
kernel_v2 | ||
providers | ||
provisioners | ||
pushes | ||
synced_folders | ||
README.md |
README.md
Vagrant Core Plugins
These are plugins that ship with Vagrant. Vagrant core uses its own plugin system to power a lot of the core pieces that ship with Vagrant. Each plugin will have its own README which explains its specific role.