fgrehm / vagrant-cachier

Caffeine reducer
http://fgrehm.viewdocs.io/vagrant-cachier
MIT License
1.08k stars 111 forks source link

Support to enable setting `/tmp/vagrant-cache` location #126

Closed dieend closed 1 year ago

dieend commented 9 years ago

I searched the code and found out that location (/tmp/vagrant-cache) hardcoded. It should be able to be set up from Vagrantfile. I have problem with /tmp/ location in vagrant, where it's always unknowingly loss. I usually move every other item that located in /tmp/ to another location, e.g:

chef.provisioning_path = "/var/vagrant-chef"
chef.file_cache_path = "/vagrant/.vagrant/file_cache_path"

It would be nice if we can set /tmp/vagrant-cache to another location.

fgrehm commented 9 years ago

I've tagged this as an enhancement but just out of curiosity, what kind of issues do you have with keeping the cache at /tmp/vagrant-cache? This is the first time I hear about issues with that in more than a year :-(

dieend commented 9 years ago

Thanks.

I don't know, but my vagrant often clear the /tmp folder. I don't know why this happened. It's ever happened rightly after booting up, loading the cookbook, and then it's lost, where it made the provisioning file because of file not found when loading a template. It make me lost 1 day until I realized why it's happened. That's why I would like to prefer that's not happened again.

fgrehm commented 1 year ago

Hey, sorry for the silence here but this project is looking for maintainers :sweat_smile:

As per https://github.com/fgrehm/vagrant-cachier/issues/193, I've added the ignored label and will close this issue. Thanks for the interest in the project and LMK if you want to step up and take ownership of this project on that other issue :wave: