forked from openstack-archive/stackalytics
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Vagrantfile
23 lines (21 loc) · 868 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "centos65x64"
config.vm.box_url = "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_centos-6.5_chef-provisionerless.box"
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.synced_folder ".", "/opt/spectrometer"
config.vm.synced_folder "puppet/files", "/etc/puppet/files"
config.vm.provider "virtualbox" do |vb|
vb.cpus = 2
vb.memory = 4096
end
config.vm.provision "shell", path: "puppet/scripts/bootstrap.sh"
config.vm.provision "puppet" do |puppet|
puppet.manifests_path = "puppet"
puppet.manifest_file = "manifests/vagrant.pp"
puppet.module_path = "puppet/modules"
puppet.options = ["--fileserverconfig","/vagrant/fileserver.conf"]
end
end