Commit graph

25 commits

Author SHA1 Message Date
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
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
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
2a63617e75 Ensure /tmp/vagrant-cache exists before chmodding it 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
09d65c4a3c Ooops 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
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
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
Fabio Rehm
cfa2cc262f Fix GH-8 by doing an extra check whether the VM is SSHable 2013-10-17 13:07:43 -03:00
Fabio Rehm
24c1d3a8ac Clean up Action::Clean a bit and get ready to fix GH-8 2013-10-17 12:58:16 -03:00
Fabio Rehm
e46a3c398b Prevent errors when caching is disabled 2013-08-06 17:31:55 -03:00
Fabio Rehm
9f90f43a21 [GH-6] Move provider specific cache dir to the right path if a single cache dir exists 2013-08-03 17:14:39 -03:00
Fabio Rehm
f8d8b2f9cf [GH-6] Error out if multiple provider specific cache dirs are found and prepare to move dirs around in case a single cache dir exists 2013-08-03 16:07:42 -03:00
Fabio Rehm
7ad195776d [GH-6] Setting things up for making sure a single cache root exists 2013-08-03 15:08:20 -03:00
Fabio Rehm
b50374162a ProvisionExt is not an action! 2013-08-03 14:38:02 -03:00
Fabio Rehm
18ff01907e Extract "removing symlinks" message out to locale file 2013-08-03 14:28:22 -03:00
Fabio Rehm
e7912fa14a Reconfigure buckets around after each provisioner
Unfortunately I couldn't think of another way of doing this apart from
monkey patching, there is no way to replace a previously defined action
neither we can hook into calls to provisioners themselves.
2013-08-03 13:35:59 -03:00
Fabio Rehm
410872230b Split actions into separate files 2013-08-03 13:35:59 -03:00