-
Notifications
You must be signed in to change notification settings - Fork 1
/
Vagrantfile
34 lines (28 loc) · 1.06 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Use Phusion's Ubuntu 14.04 box with support for Docker
config.vm.box = "phusion-open-ubuntu-14.04-amd64"
config.vm.box_url = "https://oss-binaries.phusionpassenger.com/vagrant/boxes/latest/ubuntu-14.04-amd64-vbox.box"
# Set hostname
config.vm.hostname = "vagrant-trusty64"
# tty stuff
config.ssh.pty = true
# Configure the VirtualBox Provider
config.vm.provider :virtualbox do |vb|
# Give the VM 1GB of RAM
vb.customize ["modifyvm", :id, "--memory", "1024"]
end
# Provisioning with Puppet Standalone
config.vm.provision :puppet do |puppet|
puppet.hiera_config_path = "conf/hiera.yaml"
puppet.manifests_path = "manifests"
puppet.manifest_file = "vagrant.pp"
puppet.module_path = "modules"
puppet.facter = {
"is_vagrant" => true,
}
end
end