Megan Marsh
00eba7e894
make trailing slash still work
2018-07-12 09:08:36 -07:00
Megan Marsh
36df317b89
don't try to determine file or folder with winrm communicator; not all systems will have powershell installed on them
2018-07-11 13:30:20 -07:00
Megan Marsh
f8f256354f
use winrmcp logic when creating new winrm client for uploads and downloads
2018-02-07 09:56:10 -08:00
Megan Marsh
a5e6134819
implement dir check for ssh communicator
2017-10-03 15:55:32 -07:00
Megan Marsh
35ef7bce5c
implement dir check for winrm communicator
2017-10-03 15:35:03 -07:00
Mark DeLillo
9a16b6768e
Fix decode
...
- Write decoded bytes without padding
Signed-off-by: Natalie Arellano <narellano@pivotal.io>
2017-04-26 12:15:57 -04:00
Paul Nikonowicz
0614fc234f
Implement download for WinRM communicator
...
Signed-off-by: Mark DeLillo <mdelillo@pivotal.io>
2017-04-26 12:15:30 -04:00
Matthew Hooker
81522dced0
move packer to hashicorp
2017-04-04 13:39:01 -07:00
Matthew Hooker
85e85ddb47
communicator/winrm: make directory upload behave more like scp
...
changes behavior to be in-line with the docs.
Resolves #3562
2017-01-21 21:45:08 -08:00
Matthew Hooker
7db6e8ec38
copy default params
2016-10-05 16:43:38 -07:00
Matthew Hooker
9b0fdc7509
remove test import hacks
2016-10-05 16:30:29 -07:00
Rickard von Essen
51a9a51699
Update winrm and winrmcp dependencies
...
Updated winrm and winrmcp dependencies. Relevant unit and acceptance tests passed successfully.
shell.Execute didn't return a Command object.
See f1bcf36a69/winrmcp/cp.go (L167)
and 54ea5d0147/winrm/shell.go (L10-L22)
respectively.
Closes #3763
Original patch by: Philipp Kosel <philipp.kosel@gmail.com>
2016-10-03 13:48:29 -07:00
Christopher Boumenot
b57ed27352
Add support for NTLM the WinRM communicator.
...
WinRM exposes an HTTP transport decorator that can be used for different
authentication schemes. Windows on Azures requires this if one is to use
the out of the box configuration.
2016-03-10 10:53:38 -08:00
Vasiliy Tolstov
feee19e4ed
file provisioner improvements
...
* allow specify source/destination as dir
* allow specify many files as source
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-02-12 11:48:28 -08:00
Chris Bednarski
569e6cc464
go fmt
2016-02-08 17:34:06 -08:00
Ben Goodwin
64152e4a64
Implement WinRM-over-HTTPS
2016-01-12 21:28:20 -05:00
Mark Peek
cad9899cfb
communicator/winrm: call wg.Add() before running goroutine
2015-10-14 09:08:39 -07:00
Mark Peek
e27b2bcf23
communicator/winrm: fix race in runCommand
2015-10-14 08:25:39 -07:00
Chris Bednarski
29e6194e49
Added a warning log so we can diagnose failure cases
2015-07-15 12:29:42 -07:00
Chris Bednarski
8e3559c3b1
Guard against uninitialized pointers in io.Copy to fix #2416
2015-07-15 12:26:19 -07:00
Mitchell Hashimoto
49769a17c2
Merge pull request #2243 from mitchellh/f-powershell
...
Windows provisioners: powershell, windows-shell, windows-restart
2015-06-17 17:51:42 +02:00
Mitchell Hashimoto
686d4413ec
communicator/winrm: error if download
2015-06-15 15:08:56 -07:00
Mitchell Hashimoto
b25b7d1fb2
communicator/winrm: log exit code of processes
2015-06-14 11:19:26 -07:00
Mitchell Hashimoto
7a39758054
helper/communicator: WinRM stuff
2015-06-13 22:05:48 -07:00
Mitchell Hashimoto
0c0f876654
communicator/winrm
2015-06-13 22:00:40 -07:00