Commit graph

291 commits

Author SHA1 Message Date
Roman Mohr
fad6bbf6a0 Yum is replaced by DNF in newer Fedora releases
Check if yum is really present on a 'redhat' machine.  Only if it is,
enable the Yum bucket. The same for DNF since older versions of CentOS
and Fedora do not ship DNF.
2016-09-26 14:03:23 +02:00
Roman Mohr
5141e1305a Add support for DNF
If the folder `/car/cache/dnf` is present, the content will be cached
like in the Yum plugin.

A possible configuration to enable it:

Vagrant.configure(2) do |config|
   config.vm.box = "fedora/24-cloud-base"
  if Vagrant.has_plugin?("vagrant-cachier")
    config.cache.scope = :machine
    config.cache.auto_detect = false
    config.cache.enable :dnf
  end
end
2016-09-23 12:10:29 +02:00
Fabio Rehm
959ac6fbcc Update README.md 2016-07-18 23:01:42 -07:00
Fabio Rehm
da0eff6a71 Merge pull request #165 from legal90/parallels
Announce compatibility with Parallels provider
2015-11-20 10:06:56 -02:00
Mikhail Zholobov
c42420ec7c Announce compatibility with Parallels provider 2015-11-19 23:14:37 +02:00
Mehran Kholdi
8615b7495e Merge pull request #154 from BayanGroup/master
Add pip cache bucket
2015-07-28 10:21:39 +04:30
AmirAli Moinfar
6deb452f0d Add documentation for caching pip packages 2015-07-05 14:44:27 +04:30
AmirAli Moinfar
1c3fcd2768 Add support for caching pip packages
These directories are chached for pip packages:
$HOME/.cache/pip/http
$HOME/.cache/pip/wheels
2015-07-05 13:56:18 +04:30
Patrick Connolly
40dddfb368 v1.2.1 2015-07-03 14:51:55 -04:00
Patrick Connolly
dd32f2472e Add chef_zero provisioner support. 2015-06-03 13:45:22 -04:00
Fabio Rehm
3b18f4a5ec Update README.md 2015-05-08 19:50:53 -03:00
Fabio Rehm
2c2411721b Merge pull request #141 from strzibny/fix-spelling
Fix spelling
2015-04-07 08:46:26 -03:00
Josef Stribny
92b95824ba Fix spelling 2015-04-07 09:19:26 +02: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