These are chat archives for MarcosSegovia/MPWAR1516

18th
Jan 2016
Xavier Domingo Burjachs
@xadobu
Jan 18 2016 19:27
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure(2) do |config|
  config.vm.box = "puppetlabs/centos-7.0-64-puppet"

  config.vm.network "private_network", ip: "192.168.22.19"

  config.vm.synced_folder "../shared", "/var/www/html"

  config.vm.provider "virtualbox" do |vb|
    # Display the VirtualBox GUI when booting the machine
    vb.gui = false

    # Customize the amount of memory on the VM:
    vb.memory = "1024"
  end

  config.vm.hostname = "centos-7"

  config.vm.provision :shell do |shell|
    shell.path = "shell/puppet.sh"
  end

  config.vm.provision :puppet do |puppet|
    puppet.environment_path = "environments"
    puppet.environment      = "development"
    puppet.module_path      = "modules"
  end

  config.vm.provision :shell do |shell|
    shell.path = "shell/complements.sh"
  end
end
xavierlatorre2015
@xavierlatorre2015
Jan 18 2016 19:48
Gràcies!!! Ja em funciona :smile: