vagrant/test/unit/plugins/guests
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
..
arch/cap Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
coreos/cap Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
debian/cap Use Util::Tempfile when configuring networks 2016-05-28 23:22:34 -04:00
linux/cap remove failing test that was brittle 2015-11-23 12:11:48 -08:00
photon/cap Added tests 2015-04-20 14:56:26 -07:00
redhat/cap guests/redhat: set hostname on EL7 [GH-4352] 2014-08-31 09:58:12 -07:00
smartos/cap Ensure rsync_post has find permissions on smartos 2014-08-29 14:17:28 -07:00
support/shared guests/debian: more tests for hostname 2014-05-05 09:31:54 -07:00
tinycore/cap Added unit test for tinycore change_host_name. 2015-04-22 16:12:46 +02:00
ubuntu/cap Convert specs to RSpec 2.14.8 syntax with Transpec 2014-03-14 12:02:07 -03:00
windows Windows rsync needs to create folders before syncing 2015-01-28 13:07:36 -05:00