vagrant/plugins/provisioners/file
Brian Cain 40eaef08b7 (#8603) Ensure remote folder exists prior to scp in file provisioner
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.
2017-08-11 11:49:39 -07:00
..
config.rb provisioners/file: validate source relative to Vagrantfile path 2015-07-06 14:22:00 -06:00
plugin.rb Add a file provisioner 2013-09-03 11:03:46 -07:00
provisioner.rb (#8603) Ensure remote folder exists prior to scp in file provisioner 2017-08-11 11:49:39 -07:00