packer-cn/communicator
Matthew Hooker c5e0710a9a
Do nothing if we detect destination is a directory
We can't modify the destination path in the communicator because it
breaks assumptions in the provisioners. For example, we try to chmod in
the shell provisioner. The chmod command uses the path as supplied by
the user. If the communicator decides to rewrite the path, the
provisioner doesn't know that, and so tries to chmod the wrong thing.

The best we can do is detect that the destination is a directory and
fail.

Also correctly surface output from sftp uploader.
2018-03-20 16:33:00 -07:00
..
none docker: stream uploads over stdin 2017-08-24 13:29:38 -07:00
ssh Do nothing if we detect destination is a directory 2018-03-20 16:33:00 -07:00
winrm use winrmcp logic when creating new winrm client for uploads and downloads 2018-02-07 09:56:10 -08:00