Commit graph

275 commits

Author SHA1 Message Date
Gustavo L. de M. Chaves 8ac8d7f6f6 Fix multi generic bucket set up
The previously documented way to specify multiple generic buckets
doesn't work because vagrant-cachier can't enable a bucket type more
than once.

Here we generalize the configs hash that the generic bucket gets making
it possible to specify multiple buckets with a single hash. The
documentation is changed accordingly.

Note that we keep it backwards compatible for single generic bucket
specification.

Issue: https://github.com/fgrehm/vagrant-cachier/issues/99
2014-04-16 09:04:49 -03:00
Fabio Rehm 184330dfb4 v0.7.0 2014-04-06 22:30:11 -03:00
Fabio Rehm ff5dd72c73 Download a specific version of vagrant-cachier tarball instead of master so that it can be cached properly 2014-04-06 22:28:15 -03:00
Fabio Rehm 7aea5a0ab0 Replace java cookbook usage with a simple remote_file cookbook to simplify testing 2014-04-06 22:23:27 -03:00
Fabio Rehm f10a2d488e Minor tweaks to the dev vagrantfile 2014-04-06 22:08:57 -03:00
Fabio Rehm 12f121e6e4 Properly fix GH-96 2014-04-06 21:47:24 -03:00
Fabio Rehm 20373aa0d7 Fix GH-96 2014-04-06 21:34:58 -03:00
Fabio Rehm 0f3d79e1bc Switch to ruby 1.9+ hash syntax on generic bucket docs 2014-04-06 21:30:34 -03:00
Fabio Rehm 5d9c433326 Add link to generic buckets docs to menu 2014-04-06 21:29:31 -03:00
Fabio Rehm 155821448f Tweak Gemfile for vagrant 1.5+ 2014-04-06 21:28:27 -03:00
Fabio Rehm 890f7c4a56 Update changelog 2014-04-06 21:28:09 -03:00
Fabio Rehm 04102aac8e Some more tweaking to generic bucket docs [GH-94] 2014-04-06 21:27:44 -03:00
Fabio Rehm a4c5f05263 Add missing end to generic bucket and remove capability method [GH-94] 2014-04-06 21:27:06 -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
Fabio Rehm 2a17bc4f1d Minor tweaks to generic bucket docs [GH-94] 2014-04-06 21:05:13 -03:00
Fabio Rehm ffd6c514dd Merge branch 'generic-bucket' of https://github.com/gnustavo/vagrant-cachier 2014-04-06 21:02:56 -03:00
Fabio Rehm b28da3ab26 Up version to 0.7.0 as we will add a new feature to the plugin 2014-04-06 21:02:37 -03:00
Fabio Rehm ff2bc00ee3 Update bundle 2014-04-06 21:02:15 -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 2df1e31940 Update bundle 2014-02-27 01:12:35 -03:00
Fabio Rehm 2faa661546 Up dev version 2014-02-26 22:05:35 -03:00
Fabio Rehm ede55cdfaf v0.6.0 2014-02-26 22:03:22 -03:00
Fabio Rehm 33dee6419a Minor dev Vagrantfile tweaks 2014-02-26 22:03:22 -03:00
Fabio Rehm ec96099e25 Change arch dev box url 2014-02-26 22:03:22 -03:00
Fabio Rehm 4bb48baf40 Add docker-provider as compatible provider (next version will be) and remove vagrant-libvirt + vagrant-kvm as I'm not sure if it really works there yet 2014-02-26 22:03:22 -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 2db38dfa6e Remove unused var 2014-02-26 22:03:22 -03:00
Fabio Rehm b8394f7e6a Ensure apt partial dirs are created _after_ the symlink is in place, otherwise we would not be able to properly detect whether a bucket is empty 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 09966efc26 Clean up the development environment 2014-02-26 22:03:22 -03:00
Fabio Rehm 5d617f2c48 Bump java cookbook used on dev VM 2014-02-26 22:03:22 -03:00
Fabio Rehm ae85e996ed Update CHANGELOG 2014-02-26 22:03:22 -03:00
Fabio Rehm 2a63617e75 Ensure /tmp/vagrant-cache exists before chmodding it 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 07df936e4a Note GH-85 on CHANGELOG 2014-02-26 22:03:22 -03:00
Fabio Rehm b4d12be2e5 Add docs for apt-lists bucket 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
Fabio Rehm 1fa46ca2d4 Do not attempt chmods when the plugin is disabled 2014-02-26 22:03:21 -03:00
Fabio Rehm 8d6c7c62da Handle nil value for synced_folder_opts 2014-02-26 22:03:21 -03:00
Fabio Rehm 0dd1b20053 chmod /tmp/vagrant-cache on guest VM to 777 to work around some permission issues as explained on GH-74 2014-02-26 22:03:21 -03:00
Fabio Rehm 59887560ed Trigger plugin activation by setting cache scope [GH-17] 2014-02-26 22:03:21 -03:00
Fabio Rehm 849374e0d1 Fix example of removing buckets from machine scoped dirs [GH-82] 2014-02-26 22:03:21 -03:00
Fabio Rehm aaff51fda8 Update usage docs 2014-02-26 22:03:21 -03:00
Fabio Rehm 509872e91b Forgot to update this to reflect whats going on under the hood 2014-02-26 22:03:21 -03:00
Fabio Rehm 29a4c3c45e http://tom.preston-werner.com/2010/08/23/readme-driven-development.html 2014-02-26 22:03:21 -03:00
Fabio Rehm 2296d35251 According to @miurahr on GH-81 we are compatible with vagrant-kvm \o/ 2014-02-26 22:03:21 -03:00
Fabio Rehm 7d7f048dfb We dont have any provider specific code on around anymore so it should be compatible with any "non-cloud provider" 2014-02-26 22:03:21 -03:00
Fabio Rehm 6bf733d8ed Github have analytics now, lets not worry about bitdeli 2014-02-26 22:03:21 -03:00
Fabio Rehm 6df1efd0ba Update CHANGELOG 2014-02-26 22:03:21 -03:00