Commit cb6e07c17b87a52c05c3398f7537bf6ada59d134

Authored by Guilherme Andrade Del Cantoni
2 parents 29741a7e 842e6bf9

Verificação de instalação de plugin de atualização do VBGuest-Additions (vagrant-vbguest)

Showing 2 changed files with 12 additions and 4 deletions   Show diff stats
1 # -*- mode: ruby -*- 1 # -*- mode: ruby -*-
2 # vi: set ft=ruby : 2 # vi: set ft=ruby :
  3 +
  4 +#unless Vagrant.has_plugin?("vagrant-vbguest")
  5 +# raise "\n\nAmbiente de desenvolvimento não pode ser criado não foi encontrado o plugin vagrant-vbguest.\n"+
  6 +# "Para solucionar o problema, execute o seguinte comando no diretório raiz do projeto.\n\n"+
  7 +# "> vagrant plugin install vagrant-vbguest \n\n"
  8 +#end
3 9
4 # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! 10 # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
5 VAGRANTFILE_API_VERSION = "2" 11 VAGRANTFILE_API_VERSION = "2"
Vagrantfile_Distrib
1 # -*- mode: ruby -*- 1 # -*- mode: ruby -*-
2 # vi: set ft=ruby : 2 # vi: set ft=ruby :
3 3
4 -# All Vagrant configuration is done below. The "2" in Vagrant.configure  
5 -# configures the configuration version (we support older styles for  
6 -# backwards compatibility). Please don't change it unless you know what  
7 -# you're doing. 4 +unless Vagrant.has_plugin?("vagrant-vbguest")
  5 + raise "\n\nAmbiente de desenvolvimento não pode ser criado não foi encontrado o plugin vagrant-vbguest.\n"+
  6 + "Para solucionar o problema, execute o seguinte comando no diretório raiz do projeto.\n\n"+
  7 + "> vagrant plugin install vagrant-vbguest \n\n"
  8 +end
  9 +
8 Vagrant.configure(2) do |config| 10 Vagrant.configure(2) do |config|
9 11
10 # Box do vagrant contendo o ambiente de desenvolvimento do SEI 12 # Box do vagrant contendo o ambiente de desenvolvimento do SEI