packer-cn/provisioner
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
* I had to contextualise Communicator.Start and RemoteCmd.StartWithUi
NOTE: Communicator.Start starts a RemoteCmd but RemoteCmd.StartWithUi will run the cmd and wait for a return, so I renamed StartWithUi to RunWithUi so that the intent is clearer.
Ideally in the future RunWithUi will be named back to StartWithUi and the exit status or wait funcs of the command will allow to wait for a return. If you do so please read carrefully https://golang.org/pkg/os/exec/#Cmd.Stdout to avoid a deadlock
* cmd.ExitStatus to cmd.ExitStatus() is now blocking to avoid race conditions
* also had to simplify StartWithUi
2019-04-08 20:09:21 +02:00
..
ansible change Provisioner to be passed a context for cancellation 2019-04-03 15:55:54 +02:00
ansible-local allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
breakpoint change Provisioner to be passed a context for cancellation 2019-04-03 15:55:54 +02:00
chef-client allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
chef-solo allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
converge allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
file change Provisioner to be passed a context for cancellation 2019-04-03 15:55:54 +02:00
inspec change Provisioner to be passed a context for cancellation 2019-04-03 15:55:54 +02:00
powershell allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
puppet-masterless allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
puppet-server allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
salt-masterless allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
shell allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
shell-local allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
windows-restart allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
windows-shell allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
elevated.go Attempt at generalising elevated support 2018-12-06 18:00:22 +00:00
elevated_test.go Fix/add tests 2018-12-07 16:23:03 +00:00
guest_commands.go add force to powershell move command 2019-02-05 17:47:00 +00:00
guest_commands_test.go Update guest_commands_test.go 2019-02-06 10:50:29 +00:00