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
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
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 chmod
s 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
ea88562145
Sorry about that, was testing GH-45
2014-02-26 22:03:21 -03:00
Fabio Rehm
0106155a0f
Disable the plugin on machines backed by cloud providers (fix GH-45)
2014-02-26 22:03:21 -03:00
Fabio Rehm
09d65c4a3c
Ooops
2014-02-26 22:03:21 -03:00
Fabio Rehm
8a4b911678
Extract plugin hooks and capabilities out to separate files
2014-02-26 22:03:21 -03:00
Fabio Rehm
ca8764f938
Add support for disabling the plugin [GH-72]
2014-02-26 22:03:21 -03:00
Fabio Rehm
6908b94609
Improved logging
2014-02-26 22:03:21 -03:00
Fabio Rehm
2f75ffe692
Clean up InstallBuckets action a bit
2014-02-26 22:03:21 -03:00
Fabio Rehm
0f533a9b30
💣 monkey patch on Builtin::Provision action \o/ (closes GH-60)
2014-02-26 22:03:21 -03:00
Fabio Rehm
aa793367b7
Extract cachier's root bucket directory creation out to a separate action [GH-60]
2014-02-26 22:03:21 -03:00
Fabio Rehm
e01a78138a
Blow up if using vagrant < 1.4.0
2014-02-26 22:03:21 -03:00
Fabio Rehm
d823a97cb8
When specifying NFS synced folders we need to use a symbol (fix GH-76)
2014-02-26 22:03:20 -03:00
Fabio Rehm
4ffb47f838
Display enable_nfs deprecation warning only once
2014-02-26 22:03:20 -03:00
Fabio Rehm
e4f6dd69e4
Display a warning using Vagrant's UI in case enable_nfs is set
2014-02-26 22:03:20 -03:00
Fabio Rehm
cdf13d3f70
Mark config.enable_nfs
as deprecated
2014-02-26 22:03:20 -03:00
Fabio Rehm
3b83867427
Replace enable_nfs
and sync_opts
config with synced_folder_opts
2014-02-26 22:03:20 -03:00
Fabio Rehm
1541f35ef8
This is no longer needed
2014-02-26 22:03:20 -03:00
Fabio Rehm
98c211590c
After 5 months I believe it is safe to get rid of this code
2014-02-26 22:03:20 -03:00
Fabio Rehm
5ff8d1013a
We'll drop support for Vagrant < 1.4, that means we should be bumping to 0.6.0
2014-02-26 22:03:20 -03:00
Erno Aapa
4668f1d486
Support for extra synced_folder options
...
Added ability to pass extra synced_folder options through new
config.cache.sync_opts -configuration.
2014-02-26 22:03:20 -03:00
Fabio Rehm
50f4536ff7
Up version for development
2013-12-20 11:56:14 -02:00
Fabio Rehm
27b87567a5
v0.5.1
2013-12-20 11:55:04 -02:00
Fabio Rehm
aa46abac37
Fix NFS configs for 1.4 while keeping support for < 1.4 as well
2013-12-18 03:19:15 -02:00
Fabio Rehm
2cb0610cc1
Up version for development
2013-11-08 19:01:24 -02:00
Fabio Rehm
4d01bff390
v0.5.0
2013-11-06 19:45:20 -02:00
Fabio Rehm
6a8d661e97
[GH-54] Disable yum on suse guests
2013-11-06 19:43:18 -02:00
Gordon Franke
93c0c7bf99
add zypper support
2013-11-05 15:10:00 +01:00
Fabio Rehm
536ca7ad54
Up version for dev
2013-10-27 22:16:07 -02:00
Fabio Rehm
c85558010a
v0.4.1
2013-10-27 22:14:21 -02: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
8e40d0c060
Up version for dev
2013-10-23 22:31:43 -02:00
Fabio Rehm
64c9b91cf9
v0.4.0
2013-10-23 22:27:22 -02:00
Fabio Rehm
850841fe0a
Break some lines
2013-10-23 22:17:26 -02:00
Fabio Rehm
e0eeb125d0
Prevent apt cacher bucket from being installed in case NFS is disabled
2013-10-23 22:17:25 -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
cfabddc7c8
Let users know we will attempt to remove symlinks, otherwise vagrant won't output anything prior to the warn
2013-10-17 14:04:09 -03:00
Fabio Rehm
199a14b61f
Let users know we were not able to SSH into the VM to remove symlinks
2013-10-17 13:56:27 -03:00