Commit graph

279 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
Fabio Rehm 2bb7f21273 v1.2.0 2015-01-14 23:11:54 -02:00
Fabio Rehm 00e2d858da Merge branch 'vagrant_1-7-1_fix' of https://github.com/Yserz/vagrant-cachier
Conflicts:
	lib/vagrant-cachier/cap/linux/chef_file_cache_path.rb
2015-01-14 23:04:32 -02:00
Fabio Rehm e227077008 Merge branch 'patch-1' of https://github.com/cassianoleal/vagrant-cachier 2015-01-14 23:03:29 -02:00
Fabio Rehm 050e9ea464 Merge branch 'cache-chef-gems' of https://github.com/jperville/vagrant-cachier 2015-01-14 23:02:34 -02:00
Fabio Rehm f09af37533 Update bundle 2015-01-14 23:02:15 -02:00
cassiano c6d4e57554 Do not modify Vagrant core object
Using [Array#keep_if](http://www.ruby-doc.org/core-1.9.3/Array.html#method-i-keep_if) on a Vagrant core object can lead to unpredictable behaviour down the line as it modifies the object instead of creating a new one.

An example of such interference is described on https://github.com/cassianoleal/vagrant-butcher/issues/57. The problem with `keep_if` was identified by @sethvargo on this issue: https://github.com/mitchellh/vagrant/issues/5060#issuecomment-68107995
2014-12-25 18:33:34 +01:00
Michael K 15b0039467 Use provisioner type attribute
Vagrant changed the provisioner name attribute to type in version 1.7.1.
2014-12-22 21:08:56 +01:00
Julien Pervillé 4647721f85 Add support for caching chef gems (in /opt/chef/embedded). 2014-10-29 13:09:22 +06:30
Fabio Rehm 9f6b615e84 v1.1.0 2014-10-15 01:28:54 -03:00
Fabio Rehm 1ccdbbeb48 Move bower docs to buckets dir 2014-10-15 01:25:38 -03:00
Fabio Rehm 21f475212c Update bundle 2014-10-15 01:22:11 -03:00
Fabio Rehm 837003ed48 Merge pull request #125 from slecache/bower
Add support for Bower
2014-10-15 01:16:26 -03:00
Fabio Rehm babc7e09ff Merge pull request #124 from neerolyte/composer_home_resolution
Resolve $HOME even if VM spits bogus new lines
2014-10-15 01:15:51 -03:00
Sebastien Lecacheur 1fe3e15c64 Fix Bower menu link in the docs 2014-10-07 00:07:19 +02:00
Sébastien LECACHEUR 973d5d1a8f Add support for Bower 2014-10-04 01:34:44 +02:00
David Schoen e9f4df338a Resolve $HOME even if VM spits bogus new lines
Fixes issue #122
2014-09-28 16:03:51 +10:00
Fabio Rehm b2b0d98dfa 💣 post install message 2014-09-22 22:24:54 -03:00
Fabio Rehm 1333041059 Bump version to 1.0 along with an update to dev dependencies 2014-09-22 22:22:03 -03:00
Fabio Rehm 7acbc815cf Add link to gitter to readme 2014-08-09 16:21:12 -03:00
Fabio Rehm 137bb91eec Add link to gitter chat on docs 2014-08-09 16:16:44 -03:00
Fabio Rehm 25f5582e20 v0.9.0 2014-08-09 16:07:57 -03:00
Fabio Rehm 25b5fa0285 Merge branch 'use_image_for_bucket_name_with_docker' of https://github.com/jbarbuto/vagrant-cachier 2014-08-09 15:39:12 -03:00
Fabio Rehm 4ab1640e7e Add notice about yum bucket and windows hosts (closes GH-117) 2014-08-09 15:36:22 -03:00
John Barbuto b7b3bcb3ed Check if image is set with docker provider
If build_dir is set instead for building images on demand, there's no way to
know what to set the bucket name to, except perhaps parsing it from Dockerfile.
2014-07-24 23:25:36 -07:00
John Barbuto c7c47782cb Use image for bucket name with docker, if box is unset
This allows multiple machines using the image to share the cache
and avoids the following error:

    /Applications/Vagrant/embedded/lib/ruby/2.0.0/pathname.rb:389:in
    `initialize': no implicit conversion of nil into String (TypeError)
2014-07-22 22:54:19 -07:00
Fabio Rehm d94f08a048 v0.8.0 (aka 1.0.0 release candidate) 2014-07-20 23:02:04 -03:00
Fabio Rehm 1a1b108c23 Disable apt-lists bucket for windows hosts
Fixes GH-106
2014-07-20 22:55:32 -03:00
Fabio Rehm 2b6a07d000 Skip chmod 777 for cache bucket root for smb synced folders
Closes GH-107
2014-07-20 22:14:19 -03:00
Fabio Rehm f8314aba52 Update CHANGELOG 2014-07-20 21:13:50 -03:00
Fabio Rehm 871f317ba6 Set composer cache bucket ownership to the configured SSH user 2014-07-20 21:13:35 -03: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 c4db3c1ef4 Use $HOME/.composer/cache as the root for the composer bucket
Fixes GH-89
2014-07-20 21:11:20 -03:00
Fabio Rehm 4265f58985 Remove some TODOs that have been around for way too long and havent been an issue for a long time 2014-07-20 20:52:31 -03:00
Fabio Rehm 2b00036484 Update CHANGELOG 2014-07-20 20:36:50 -03:00
Fabio Rehm 82fe74a888 👋 to the deprecated enable_nfs config 2014-07-20 20:36:32 -03:00
Fabio Rehm 5f4a7f1967 Make use of the Vagrantfile configured base box name instead of getting it from the Box object (which might be nil)
Closes GH-86
2014-07-20 20:34:14 -03:00
Fabio Rehm 183b2b55d8 Remove unused locale 2014-07-20 20:28:12 -03:00
Fabio Rehm 2cc7b837db Lets keep this code as it is 2014-07-20 20:15:47 -03:00
Fabio Rehm 2b8a281e8a Whitespace 2014-07-20 20:13:36 -03:00
Fabio Rehm d885c901b9 Up development version 2014-07-20 20:01:28 -03:00
Fabio Rehm 6bca147fb9 Use vagrant cloud base boxes for sanity checks 2014-07-20 19:59:27 -03:00
Fabio Rehm 228cae4a9a Remove Vagrant.require_plugin from sanity checks 2014-07-20 19:58:57 -03:00
Fabio Rehm e6826e6864 Update bundle 2014-07-20 19:25:55 -03:00
Fabio Rehm 2c51c7e636 Merge pull request #112 from glensc/patch-1
fix cache path
2014-07-04 10:23:30 -03:00
Elan Ruusamäe 5dbd5511fa fix cache path
the path used seems to be `/tmp/vagrant-cache`. at least in 0.7.2
2014-07-04 15:53:44 +03:00
Fabio Rehm bbd1e9c901 Make sure people know that synced_folder_opts are optional
I came across a blog post somewhere saying that this was required but I
can't find the link right now.
2014-06-23 18:01:01 -03:00
Fabio Rehm 5598824558 Update compatible providers list 2014-06-23 18:00:32 -03:00
Fabio Rehm 6f275353b8 Update README.md 2014-05-13 21:24:48 -03:00
Fabio Rehm 6e160ba4cb v0.7.2 2014-05-08 10:06:51 -03:00