-
Notifications
You must be signed in to change notification settings - Fork 15
/
Vagrantfile
28 lines (24 loc) · 1.07 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
Vagrant.configure("2") do |config|
config.vm.box = "trusty64-server-cloudimg"
config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.network :forwarded_port, guest: 80, host: 8081
# TODO: fix this hack that ensures 'apt-get update' runs before mysql
# is provisioned with puppet
config.vm.provision :shell, :inline => "apt-get update --fix-missing"
config.vm.provision :shell, :inline => "apt-get install libpcre3-dev -y"
# provision our sdev server with the necessary packages and services
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "provision/puppet/manifests"
puppet.module_path = "provision/puppet/modules"
puppet.manifest_file = "base.pp"
puppet.options = ['--verbose']
end
# installer/updater for cphalcon
config.vm.provision :shell do |sh|
sh.path = "provision/shell/install_phalcon.sh"
end
# installer/updater for phalcon-devtools
config.vm.provision :shell do |sh|
sh.path = "provision/shell/install_phalcon-devtools.sh"
end
end