Sander van Harmelen
4a29c714e5
Adding support for WinRM
2015-05-01 18:48:54 +02:00
Sander van Harmelen
b1c6a3f63f
Few small fixes to make the last tests also pass
...
The reason why the shebang is removed from these tests, is because the
shebang is only needed for SSH/Linux connections. So in the new setup
the shebang line is added in the SSH communicator instead of in the
resource provisioner itself…
2015-05-01 18:48:54 +02:00
Sander van Harmelen
c9e9e374bb
Adding some abstractions for the communicators
...
This is needed as preperation for adding WinRM support. There is still
one error in the tests which needs another look, but other than that it
seems like were now ready to start working on the WinRM part…
2015-05-01 18:48:54 +02:00
Mitchell Hashimoto
de8666a5fa
helper/ssh: add random number to script [GH-1545]
2015-04-18 16:09:08 -07:00
Paul Hinze
3f66e480cc
provisioner/file: expand ~ in source
...
closes #1559
tested manually, since a unit test would be sort of annoying to write.
:)
2015-04-16 18:53:04 -05:00
Tarrant
05407296c6
Add cleanup function to close SSHAgent
2015-03-20 18:18:35 -07:00
Tarrant
164f303da4
Add SSH Agent support
2015-03-15 16:12:59 -07:00
Mitchell Hashimoto
539eca5ee6
Fix failing tests
2014-10-09 21:29:21 -07:00
Mitchell Hashimoto
a154520ce8
provisioners/remote-exec: output
2014-10-05 23:23:30 -07:00
Mitchell Hashimoto
0808236c6e
provisioners/local-exec: output the output
2014-10-05 23:05:49 -07:00
Mitchell Hashimoto
e5868ebdd9
provisioners/*: new interface
2014-10-04 16:29:33 -07:00
Mitchell Hashimoto
c452579512
provisioners/*: compiling, tests passing
2014-09-16 17:08:27 -07:00
bdd
4a53f38d3a
Update resource_provisioner.go
...
Better variable name.
2014-08-25 17:39:46 -04:00
bdd
b2ff49be2e
More descriptive variable names for pipes.
2014-08-25 12:39:07 -04:00
bdd
6da9a2d49d
Use scanner instead of buffer read line
...
Supported in Go 1.1 http://golang.org/pkg/bufio/#Scanner
2014-08-25 11:58:14 -04:00
Alex Gaynor
46154ca1d3
Fixed a ton of typos in docs and comments
2014-08-07 00:19:56 -07:00
Mitchell Hashimoto
8720d2465e
builtin/provisioners/*: new API
2014-07-22 10:38:39 -07:00
Armon Dadgar
427b445ba8
provisioner/file: Adding validation tests
2014-07-16 11:41:56 -07:00
Armon Dadgar
272ffcbe44
provisioner/file: Initial pass at file provisioner
2014-07-16 10:33:45 -07:00
Armon Dadgar
b84814539f
Refactor shared SSH setup code
2014-07-16 10:33:44 -07:00
Armon Dadgar
2c3e619960
Removing unused constants
2014-07-16 10:33:44 -07:00
Armon Dadgar
8691a3ce91
Refactor helper methods out of provisioner
2014-07-16 10:33:44 -07:00
Armon Dadgar
a9cad200d8
provisioner/file: Skeleton files
2014-07-16 10:33:44 -07:00
Armon Dadgar
104b28e19e
terraform: Remove ResourceConnectionInfo, use raw map
2014-07-15 12:34:07 -07:00
Armon Dadgar
de8ee65b2b
provisioner/remote-exec: Retry SSH connections
2014-07-15 12:34:07 -07:00
Armon Dadgar
2b6d7dc0b9
provisioner/remote-exec: Adding retry logic
2014-07-15 12:34:07 -07:00
Armon Dadgar
389d9ba2fc
provisioner/remote-exec: First pass at copy+exec
2014-07-15 12:34:07 -07:00
Armon Dadgar
f215d31df4
provisioner/remote-exec: Collect scripts to upload
2014-07-15 12:34:07 -07:00
Armon Dadgar
cd3170b906
provisioner/remote-exec: Working on SSH configuration
2014-07-15 12:34:07 -07:00
Armon Dadgar
5023b896ab
provisioner/remote-exec: Enforce XOR of command and inline
2014-07-15 12:34:07 -07:00
Armon Dadgar
6381fbd226
provisioner/remote-exec: Adding initial skeleton
2014-07-15 12:34:06 -07:00
Mitchell Hashimoto
01b58669b0
provisioners/local-exec: tests pass on Windows due to line-endings diff
...
/cc @armon
2014-07-10 13:09:09 -07:00
Armon Dadgar
7721caf867
provisioner/local-exec: Adding tests for Apply and Validate
2014-07-10 11:38:57 -07:00
Armon Dadgar
6ace8e12e5
provisioner/local-exec: Use interpolated values
2014-07-10 11:38:57 -07:00
Armon Dadgar
9c49642b37
provisioner/local-exec: First pass
2014-07-10 11:38:56 -07:00