vagrant/plugins/communicators/winrm
Seth Vargo 5a4f345363
Use Util::Tempfile when configuring networks
This fixes a fairly large tempfile leak. Vagrant uses a template
renderer to write network configuration files locally to disk. Then,
that temporarily file is uploaded to the remote host and moved into
place. Since Vagrant is such a short-lived process, GC never came along
and cleaned up those tempfiles, resulting in many temporary files being
created through regular Vagrant usage.

The Util::Tempfile class uses a block to ensure the temporary file is
deleted when the block finishes. This API required small tweaks to the
usage, but provides more safety to ensure the files are deleted.
2016-05-28 23:22:34 -04:00
..
command_filters Remove unneeded executable permissions. 2015-01-20 11:53:30 +01:00
scripts Ignore Powershell progress updates on stderr 2015-11-18 13:52:25 -08:00
command_filter.rb Added mkdir command filter for WinRM to be compatible with PS4+ 2014-07-30 15:43:11 -04:00
communicator.rb Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
config.rb use NTLM/Negotiate authentication over basic authentication 2016-01-27 11:57:41 -08:00
errors.rb Better error handling for WinRM (using winrm v1.3.0.dev.2) 2014-12-11 13:22:39 -05:00
helper.rb communicators/winrm: use winrm_info cap if available [GH-3832] 2014-05-20 20:13:36 -07:00
plugin.rb communicators/winrm: silence warnings loading winrm 2014-04-21 13:51:27 -07:00
shell.rb powershell and cmd calls should use commnand_executor to reuse oprn winrm shell 2016-01-27 11:59:10 -08:00