forked from xforty/vagrant-aegir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
49 lines (42 loc) · 1.52 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
#
# Name of imported base box. (HINT: Rename this box)
#
config.vm.box = "ubuntu-11.10-server-amd64"
#
# Download url of base box if it has not been previously imported.
# See http://vagrantbox.es/ for more pre-built base boxes or
# build your own using https://github.com/jedi4ever/veewee
#
config.vm.box_url = "http://dl.dropbox.com/u/56687100/ubuntu-11.10-server-amd64.box"
#
# Use port-forwarding. Web site will be at http://localhost:4567
# Forwards guest port 80 to host port 4567 and name the mapping "web".
#
config.vm.forward_port 80, 4567, :auto => true
#
# Use host-only networking. Sets the VM's private IP address.
# Un-comment this line to use. Make sure port-forwarding is
# commented out. Requires you to edit your /etc/hosts file to
# add the line: "172.21.21.21 local.aegir". Do so at your
# own risk. Site will then available at http://local.aegir
#
# config.vm.network "172.21.21.21"
#
# Un-comment this line if you want host-only networking.
#
# config.vm.host_name = "local.aegir"
config.vm.host_name = "localhost"
#
# Provision a new VM using chef-solo. The librarian gem controls
# the "cookbook" folder, do not touch it. If you need to create
# site-specific cookbooks, place them in "site-cookbooks".
#
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = ["cookbooks", "site-cookbooks"]
chef.add_recipe "xforty"
chef.add_recipe "aegir"
end
end