vagrant/test/unit/plugins
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
..
commands Add unique names to all tmpdir and tempfile calls in tests + cleanup 2016-05-28 23:22:34 -04:00
communicators/winrm powershell and cmd calls should use commnand_executor to reuse oprn winrm shell 2016-01-27 11:59:10 -08:00
guests Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
hosts/darwin/cap Add extra_args cap for darwin rdp 2016-02-03 10:03:57 -05:00
kernel_v2/config kernel/v2: fix a bug in WinRM port forwarding 2015-11-23 18:51:12 +01:00
providers Merge pull request #7290 from phyber/fix/master/prepare_nfs_settings_machine_ip_fix 2016-05-27 18:38:03 -04:00
provisioners Merge pull request #7103 from mitchellh/gildegoma/fix-6726 2016-04-21 00:29:43 +02:00
pushes Add unique names to all tmpdir and tempfile calls in tests + cleanup 2016-05-28 23:22:34 -04:00
synced_folders commands/rsync-auto: check machine ID prior to sync [GH-4031] 2014-08-06 16:56:09 -07:00