Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Marco Janssen
after that it's used in the guest machine in /tmp/vagrant-cache
anyway to keep the files in /tmp/vagrant-cache on the host machine as well?


config.cache.enable :generic, {
"logs" => { cache_dir: "/home/vagrant/apps/foo/app/logs" },

gets copied to guest:

then symlinked:
logs -> /var/vagrant-cache/logs

now i can't access my logs on the host machine considering /var/vagrant-cache/logs doesn't exist on the host machine, makes sense but would be great if i had some easy way too get the logs on my host though

Marco Janssen
ah it's actually still in the .vagrant dir
Marco Janssen
never mind figured it out by myself, always helps to write it down :D
Gaspar Chilingarov
hi all! any way to cache npm files which go under /root/.npm ??? puppet with global installation mode downloads all npm packages there . seems default npm bucket detects cache only under ~vagrant :(
Srikanth Viswanathan
Hi all, is there a way to configure a cache bucket to only cache a single file under a directory? I'm trying to cache /var/cache/oracle-jdk7-installer/<java-tarball>.tar.gz, but there's other files under there that I don't want to cache (they interfere with the install if cached)
Cameron Braid
is there any way to turn on/off the cache for individual machines in a multi-machine vagrant setup ?
Cash Williams
hello gang :D
just found this and trying to get it setup, however I'm not seeing a ~/.vagrant.d/cache directory created
I used Vagrantfile.local instead of Vagrantfile
Cash Williams
ha, I just saw the timestamps on previous messages in here...
Fabio Rehm
@CashWilliams sorry but the plugin is currently unmaintained :( https://github.com/fgrehm/vagrant-cachier#help-needed
Cash Williams
@fgrehm no worries, I think we got it working. Thanks
Fabio Rehm
Amo Chumber
hello chat. I've seen all the recent conversations about the project being unmaintained but wanted to get an update. Are there perople working on this project?
Tom Hodder
erm, am I missing something. enabling "c.cache.scope = :box" seems to create the symlink from /var/cache/yum to /tmp/vagrant-cache/yum and a local dir gets created
in ~/.vagrant.d/cache, but there is nothing in there, either before or after a vagrant run
do I need to create the synced folder manually?
Tom Hodder
oh, seems like it needed a destroy/create
sed -i 's/keepcache=0/keepcache=1/g' /etc/yum.conf
fails on fedora 27
Deepanshu Gajbhiye
I am using vagrant-cachier. It does not create copy of all the packages that I install in ~/.vagrant.d/cache. Also tend to download same packages again when I do vagrant destroy && vagrant up
Achala Bhatt
Hi, Im new to vagrant. I run the command vagrant up and vagrant ssh
After vagrant ssh the root of the file is changed. But i wanted to access some files what is command to access to files. Tried with cd but its not working.