From 1998d95ac7d29ecbaeb5e0163e2b515d1e81092d Mon Sep 17 00:00:00 2001 From: Carlos Vieira Date: Thu, 5 Feb 2015 11:31:18 -0200 Subject: [PATCH] Adicionando versão mínima do vagrant e verificando existência do plugin cache --- Vagrantfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index c265b9e..9c37eb6 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,11 +1,13 @@ #!/usr/bin/env ruby +Vagrant.require_version ">= 1.5.0" VAGRANTFILE_API_VERSION = '2' Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = 'ubuntu/trusty64' config.vm.provision :shell, path: 'provision.sh' config.vm.network :forwarded_port, guest: 5000, host: 5000 - - config.cache.scope = :box + if Vagrant.has_plugin?("vagrant-cachier") + config.cache.scope = :box + end end -- libgit2 0.21.2