Sistema de Informações Gerenciais do Interlegis
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# -*- mode: ruby -*-
|
|
|
|
# vi: set ft=ruby :
|
|
|
|
|
|
|
|
VAGRANTFILE_API_VERSION = "2"
|
|
|
|
|
|
|
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
|
|
|
|
|
|
config.vm.box = "ubuntu/trusty64"
|
|
|
|
|
|
|
|
config.vm.network :forwarded_port, guest: 80, host: 8080
|
|
|
|
|
|
|
|
config.vm.provision :shell, :path => "puppet/bootstrap.sh"
|
|
|
|
|
|
|
|
# XXX Usando provisoriamente o modulo oficial ate que sincronizemos nosso repo
|
|
|
|
# XXX descomentar este trecho entao
|
|
|
|
|
|
|
|
# config.vm.provision :shell,
|
|
|
|
# :path => "puppet/puppet_module_install_from_github.sh",
|
|
|
|
# :args => "jfryman-nginx interlegis/puppet-nginx"
|
|
|
|
|
|
|
|
config.vm.provision :puppet do |puppet|
|
|
|
|
puppet.manifests_path = "puppet/manifests"
|
|
|
|
puppet.manifest_file = "site.pp"
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|