Add optional support for vagrant-cachier plugin.

This commit is contained in:
Patrick Connolly 2014-08-27 11:40:36 -03:00
parent 16df9c6aec
commit d1b5c4353d
2 changed files with 6 additions and 0 deletions

View file

@ -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}"