Skip to content

Instantly share code, notes, and snippets.

@CauanCabral
Last active August 29, 2015 13:57
Show Gist options
  • Save CauanCabral/9749719 to your computer and use it in GitHub Desktop.
Save CauanCabral/9749719 to your computer and use it in GitHub Desktop.
Vagrant + Chef + Fedora

Pré-requisitos

Pacotes do SO (zypper/aptitude...)

  • gcc, make, kernel-devel, ruby (>=2.0), ruby-devel, ruby20-devel

Pacotes do Ruby (gem)

  • gem2.0 install bundler

Instalação do VirtualBox atualizado (> 4.3)

  • Garantir que nenhuma versão esteja instalada (YaST/zypper/aptitude)
  • Instalar versão baixada do site oficial: https://www.virtualbox.org/wiki/Linux_Downloads
  • Incluir usuário ao grupo "vboxusers"
  • Executar, como root, ''/etc/init.d/vboxdrv setup''

Detalhes: http://www.unixmen.com/install-virtualbox-4-3-opensuse-13-1/

Instalação do Vagrant atualizado (> 1.5)

git clone git://github.com/mitchellh/vagrant.git
cd vagrant
git remote add khiro git://github.com/khiro/vagrant.git
git fetch khiro
git merge khiro/support_fedora_predictable_network_interface_names
bundle2.0 install
rake2.0 install

Configuração do ambiente

git clone https://github.com/radig/vagrant-chef.git NOME
cd NOME
vagrant up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment