Commit graph

29 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
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 dd32f2472e Add chef_zero provisioner support. 2015-06-03 13:45:22 -04: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
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 837003ed48 Merge pull request #125 from slecache/bower
Add support for Bower
2014-10-15 01:16:26 -03: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 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 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 7bc70b7d6e Do not attempt to configure apt-cacher-ng bucket if it is not installed on the guest machine 2013-10-26 15:47:31 -02: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
Fabio Rehm f8e419b8b6 "Disable" composer bucket if php is not installed 2013-10-22 13:56:38 -02:00
fh 828793afde removing trailing slashes and chomp() 2013-10-22 16:42:29 +02: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
Bill Cromie d4f96f3f75 renaming rvmdir -> rvm_path 2013-06-25 15:51:59 -04:00
Bill Cromie e89bd1ca2e first whack at rvm support in vagrant-cachier 2013-06-17 17:17:31 -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