Commit graph

23 commits

Author SHA1 Message Date
Darragh Bailey
7807d2bbaa Allow explicit disabling of auto detected buckets
Add config option to identify buckets that should not be automatically
enabled with using `config.cache.auto_detect = true`.

After turning on the auto_detect behaviour, with this change you can
now explicitly disable any bucket type through your Vagrantfile e.g.
`config.cache.disable = :chef_gem`.

Fixes #115
2015-03-03 11:36:17 +00:00
Julien Pervillé
4647721f85 Add support for caching chef gems (in /opt/chef/embedded). 2014-10-29 13:09:22 +06:30
Sébastien LECACHEUR
973d5d1a8f Add support for Bower 2014-10-04 01:34:44 +02:00
Fabio Rehm
44aa6a6c54 Remove unecessary logic to skip parent folder creation when preparing bucket symlinks 2014-07-20 21:12:28 -03:00
Fabio Rehm
8d48dacf24 Skip bucket auto detection in case the bucket can't be auto detected [GH-94] 2014-04-06 21:25:58 -03:00
Gustavo L. de M. Chaves
a63156e482 Implement generic bucket
This bucket must be explicitly enabled and may be useful for users
wanting a generic caching mechanism that they can use directly instead
of via some predefined packaging system.

For instance, this enables one to implement a cache for packages
downloaded via wget or curl.
2014-03-23 22:29:23 -03:00
Fabio Rehm
f968e2d458 Improve check for whether we should warm up the cache or not 2014-02-26 22:03:22 -03:00
Fabio Rehm
ac4243d85e Warm up empty buckets with Guest VM files 2014-02-26 22:03:22 -03:00
Fabio Rehm
01bef9f407 Fix npm bucket
npm is the only bucket that uses this method
2014-02-26 22:03:22 -03:00
Fabio Rehm
437ba6a4cf ⚠️ Massive refactoring of buckets code ⚠️
Doing this is kinda irresponsible because we don't have any unit testing
in place but I've had enough of copy & pasting things around. Although it
doesn't make the codebase GREAT, I believe it'll reach a _nice_ status :)

Thanks to those changes I realized that skipping configuration of
buckets that have already been configured was easier than I thought and
should be enough to close GH-85 \o/
2014-02-26 22:03:22 -03:00
Fabio Rehm
1c2116f317 Support for offline provisioning of apt-packages by caching /var/lib/apt/lists [GH-84] 2014-02-26 22:03:22 -03:00
Gordon Franke
93c0c7bf99 add zypper support 2013-11-05 15:10:00 +01:00
Fabio Rehm
42cd490313 Merge branch 'npm-cache' of github.com:laggyluke/vagrant-cachier
Conflicts:
	lib/vagrant-cachier/bucket.rb
2013-10-23 21:17:32 -02:00
George Miroshnykov
ee6174d33c Add npm support 2013-10-23 16:18:42 +03:00
fh
817d964b8e Adding support for composer cache - http://getcomposer.org/ 2013-10-21 11:17:59 +02:00
Fabio Rehm
d6066fbde7 Merge pull request #30 from mindreframer/apt-cacher
Apt cacher bucket
2013-10-13 13:14:05 -07:00
Patrick Connolly
3eede6caf9 Adds basic chef file_cache_path support. 2013-07-22 11:51:27 -04:00
Roman Heinrich
b0110897a7 apt-cacher bucket + capability 2013-07-17 13:48:49 +02:00
Roman Heinrich
ce6e08fd0d handle MultiWord bucket classes 2013-07-17 13:47:53 +02:00
Roman Heinrich
064160288a handle buckets with "_" in name 2013-07-17 13:47:35 +02:00
Bill Cromie
bf10fc4efc adding requires for the rvm files 2013-06-17 17:22:38 -04:00
Patrick Connolly
292c7d2444 Moves from Vagrant to VagrantPlugins top-level namespace. 2013-06-07 22:37:02 -04:00
Fabio Rehm
35515ed243 Look ma, first public release and no specs! 2013-05-22 20:37:14 -03:00