🟢 Stable
Go to file
Erno Aapa 4668f1d486 Support for extra synced_folder options
Added ability to pass extra synced_folder options through new
config.cache.sync_opts -configuration.
2014-02-26 22:03:20 -03:00
development Remove commented out code from dev Vagrantfile 2013-12-17 22:46:25 -02:00
docs Documentation: conditional plugin specific configs 2014-01-08 06:45:52 +02:00
lib Support for extra synced_folder options 2014-02-26 22:03:20 -03:00
locales Prevent apt cacher bucket from being installed in case NFS is disabled 2013-10-23 22:17:25 -02:00
spec/acceptance Vagrant should be able to download precise64 if we don't have it 2013-12-05 22:50:17 +08:00
.gitignore Prepares development Vagrantfile for Chef's file_cache_path testing. 2013-07-22 11:55:09 -04:00
CHANGELOG.md Up version for development 2013-12-20 11:56:14 -02:00
Gemfile Add vagrant-global-status to the mix so we can keep track of VMs left behind 2013-09-11 20:30:00 -03:00
Gemfile.lock Up version for development 2013-12-20 11:56:14 -02:00
LICENSE.txt 🎆 New year 🎆 2014-01-02 00:51:05 -02:00
Rakefile Look ma, first public release and no specs! 2013-05-22 20:37:14 -03:00
README.md Support for extra synced_folder options 2014-02-26 22:03:20 -03:00
vagrant-cachier.gemspec Updates gemspec with VagrantPlugins namespacing. 2013-06-10 19:14:53 -04:00

vagrant-cachier

A Vagrant plugin that helps you reduce the amount of coffee you drink while waiting for boxes to be provisioned by sharing a common package cache among similiar VM instances. Kinda like vagrant-apt_cache or this magical snippet but targetting multiple package managers and Linux distros.

Installation

Make sure you have Vagrant 1.2+ and run:

vagrant plugin install vagrant-cachier

Quick start

The easiest way to set things up is just to enable cache buckets auto detection from within your Vagrantfile:

Vagrant.configure("2") do |config|
  config.vm.box = 'your-box'
  if Vagrant.has_plugin?("vagrant-cachier")
    config.cache.auto_detect = true
    # If you are using VirtualBox, you might want to enable NFS for shared folders
    # config.cache.enable_nfs  = true
    # You can pass extra mount options, for example:
    # config.cache.sync_opts = {:create = true}
  end
end

For more information please read the documentation available at http://fgrehm.viewdocs.io/vagrant-cachier.

Compatible providers

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Bitdeli Badge