Commit Graph

57 Commits (f-debugger)

Author SHA1 Message Date
James Bardin 47a682141a remote provisioners require a connection config
5 years ago
James Bardin ff30030e4f builtin provisioners are re-used and not Closed
5 years ago
James Bardin 026ba5b013 ensure context cancel is never nil
5 years ago
James Bardin 313d3e5c4d builtin/provisioners/remote-exec: staticcheck
6 years ago
James Bardin 1ec8d921d4 rewrite remote-exec as an internal provisioner
6 years ago
James Bardin 01ac480a58 update provisioners to use legacy types
6 years ago
Alex Pilon 83aa07f907
prune NewResourceConfig and update tests
7 years ago
Radek Simko 5b9f2fafc8 Standardise directory name for test data
7 years ago
James Bardin e9e4ee4940
Merge pull request #17609 from hashicorp/jbardin/remote-command
8 years ago
James Bardin ad8642e2c2 have remote.ExitError format errors and status
8 years ago
James Bardin 56acda00bc add timeout test to remote-exec
8 years ago
James Bardin 9b4b5f2a72 use correct context for communicator.Retry
8 years ago
James Bardin 3fbdee0777 clean up remote.Cmd api
8 years ago
James Bardin af132a186d remove timeout from remote-exec command context
8 years ago
James Bardin 0345d960b2 simplify remote-exec runScripts
8 years ago
James Bardin c1b35ad69b have the ssh communicator return fatal errors
8 years ago
James Bardin f5b8091e2c remove retryFunc
8 years ago
James Bardin db42015342 backoff retries in remote-exec provisioner
9 years ago
Sander van Harmelen 0e422737ba Fix and refactor the Chef provisioner
9 years ago
Vladislav Rassokhin f5449a62e0 Various built-in provisioners improvements:
9 years ago
Jake Champlin 7e5eeb2268
provisioner/remote-exec: Fix panic from remote_exec provisioner
9 years ago
James Bardin 197f6cab79 Cannot store multiple types in atomic.Value
9 years ago
Mitchell Hashimoto 640faf18c3
Revert "provisioner/remote-exec: fail on first inline script with bad exit code (#11155)"
9 years ago
Mitchell Hashimoto 142df657c3
provisioners/remote-exec: listen to Stop
9 years ago
Mitchell Hashimoto 487a37b0dd
helper/schema: PromoteSingle for legacy support of "maybe list" types
9 years ago
Mitchell Hashimoto 3c0c81957a
provisioners/remote-exec: switch to helper/schema
9 years ago
Peter McAtominey d2047d714e provisioner/remote-exec: fail on first inline script with bad exit code (#11155)
9 years ago
Mitchell Hashimoto 4b1d9cfd7d
communicator/ssh: don't share rand object to guarantee unique values
10 years ago
Paul Hinze 579680cebc provisioner/remote-exec: Move script cleanup after command wait
10 years ago
Paul Hinze 96ebf0af0e provisioner/remote-exec: Clear out scripts after uploading
10 years ago
Sam Boyer b82bd0c280 Condense switch fallthroughs into expr lists
11 years ago
Sander van Harmelen 41748003c0 Updated the PR according to the review comments
11 years ago
Sander van Harmelen b1c6a3f63f Few small fixes to make the last tests also pass
11 years ago
Sander van Harmelen c9e9e374bb Adding some abstractions for the communicators
11 years ago
Mitchell Hashimoto de8666a5fa helper/ssh: add random number to script [GH-1545]
11 years ago
Tarrant 05407296c6 Add cleanup function to close SSHAgent
11 years ago
Tarrant 164f303da4 Add SSH Agent support
11 years ago
Mitchell Hashimoto 539eca5ee6 Fix failing tests
12 years ago
Mitchell Hashimoto a154520ce8 provisioners/remote-exec: output
12 years ago
Mitchell Hashimoto e5868ebdd9 provisioners/*: new interface
12 years ago
Mitchell Hashimoto c452579512 provisioners/*: compiling, tests passing
12 years ago
bdd 4a53f38d3a Update resource_provisioner.go
12 years ago
bdd b2ff49be2e More descriptive variable names for pipes.
12 years ago
bdd 6da9a2d49d Use scanner instead of buffer read line
12 years ago
Alex Gaynor 46154ca1d3 Fixed a ton of typos in docs and comments
12 years ago
Mitchell Hashimoto 8720d2465e builtin/provisioners/*: new API
12 years ago
Armon Dadgar b84814539f Refactor shared SSH setup code
12 years ago
Armon Dadgar 2c3e619960 Removing unused constants
12 years ago
Armon Dadgar 8691a3ce91 Refactor helper methods out of provisioner
12 years ago
Armon Dadgar 104b28e19e terraform: Remove ResourceConnectionInfo, use raw map
12 years ago