chiark / gitweb /
Add optional support for vagrant-cachier plugin.
authorPatrick Connolly <patrick.c.connolly@gmail.com>
Wed, 27 Aug 2014 14:40:36 +0000 (11:40 -0300)
committerPatrick Connolly <patrick.c.connolly@gmail.com>
Tue, 9 Sep 2014 15:38:26 +0000 (12:38 -0300)
docs/fdroid.texi
makebuildserver

index 7657f7f389d5c4a3d5b448ff85ffd0a85f199ed6..dacf6cc955b92d5c01e0efb4958ea974b5df6deb 100644 (file)
@@ -116,6 +116,8 @@ Ruby (debian packages ruby and rubygems)
 Vagrant (unpackaged) Be sure to use 1.3.x because 1.4.x is completely broken
 (at the time of writing, the forthcoming 1.4.3 might work)
 @item
+vagrant-cachier plugin (unpackaged): `vagrant plugin install vagrant-cachier`
+@item
 Paramiko (debian package python-paramiko)
 @item
 Imaging (debian package python-imaging)
index 7bf0e14d89db4bfa28b6b70c30f34126e4b5ae54..95cd414461741d190c5d1131f743a775d36dbaf9 100755 (executable)
@@ -146,6 +146,10 @@ for f, src, shasum in cachefiles:
 vagrantfile = """
 Vagrant::Config.run do |config|
 
+  if Vagrant.has_plugin?("vagrant-cachier")
+    config.cache.scope = :box
+  end
+
   config.vm.box = "{0}"
   config.vm.box_url = "{1}"