emyl / puppet-vagrant

A puppet module for installing vagrant and, optionally, boxes and plugins.
MIT License
5 stars 9 forks source link

Preserve Vagrant DEB file across reboots. #7

Open carletes opened 9 years ago

carletes commented 9 years ago

The contents of /tmp get removed on system reboot (see http://www.pathname.com/fhs/pub/fhs-2.3.html#VARTMPTEMPORARYFILESPRESERVEDBETWEE). This causes a download of the appropriate DEB package everytime the package resource is evaluated after a system reboot.

By using /var/tmp instead, we avoid uneeded downloads of the DEB package for a longer time (i.e., until /var/tmp gets cleaned up).