Commit 1998d95ac7d29ecbaeb5e0163e2b515d1e81092d

Authored by Carlos Vieira
1 parent a7f2ba7a
Exists in master

Adicionando versão mínima do vagrant e verificando existência do plugin cache

Showing 1 changed file with 4 additions and 2 deletions   Show diff stats
Vagrantfile
1 1 #!/usr/bin/env ruby
2 2  
  3 +Vagrant.require_version ">= 1.5.0"
3 4 VAGRANTFILE_API_VERSION = '2'
4 5  
5 6 Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
6 7 config.vm.box = 'ubuntu/trusty64'
7 8 config.vm.provision :shell, path: 'provision.sh'
8 9 config.vm.network :forwarded_port, guest: 5000, host: 5000
9   -
10   - config.cache.scope = :box
  10 + if Vagrant.has_plugin?("vagrant-cachier")
  11 + config.cache.scope = :box
  12 + end
11 13 end
... ...