Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 100 lines (86 sloc) 3.791 kb
3a37326 @phishy initial commit
authored
1 # -*- mode: ruby -*-
2 # vi: set ft=ruby :
3
4 Vagrant::Config.run do |config|
5 # All Vagrant configuration is done here. The most common configuration
6 # options are documented and commented below. For a complete reference,
7 # please see the online documentation at vagrantup.com.
8
9 # Every Vagrant virtual environment requires a box to build off of.
10 config.vm.box = "base"
11
408e2ca @phishy added PHPUnit and Codesniffer
authored
12 # This enables Puppet as the default provisioner
3a37326 @phishy initial commit
authored
13 config.vm.provision :puppet
408e2ca @phishy added PHPUnit and Codesniffer
authored
14
15 # If you require verbose output, you can substitute this line for above
3a37326 @phishy initial commit
authored
16 # config.vm.provision :puppet, :options => "--verbose"
408e2ca @phishy added PHPUnit and Codesniffer
authored
17
18 # If you require verbose output, and wish to do a dry run, substitute this line
3a37326 @phishy initial commit
authored
19 # config.vm.provision :puppet, :options => "--verbose --debug"
20
21 # The url from where the 'config.vm.box' box will be fetched if it
22 # doesn't already exist on the user's system.
23 # config.vm.box_url = "http://domain.com/path/to/above.box"
24
25 # Boot with a GUI so you can see the screen. (Default is headless)
26 # config.vm.boot_mode = :gui
27
28 # Assign this VM to a host only network IP, allowing you to access it
29 # via the IP.
30 # config.vm.network "33.33.33.10"
31
32 # Forward a port from the guest to the host, which allows for outside
33 # computers to access the VM, whereas host only networking does not.
34 config.vm.forward_port "http", 80, 8080
35
36 # Share an additional folder to the guest VM. The first argument is
37 # an identifier, the second is the path on the guest to mount the
38 # folder, and the third is the path on the host to the actual folder.
39 # config.vm.share_folder "v-data", "/vagrant_data", "../data"
40 config.vm.share_folder "www", "/var/www", "~/www"
41
42 # Enable provisioning with Puppet stand alone. Puppet manifests
43 # are contained in a directory path relative to this Vagrantfile.
44 # You will need to create the manifests directory and a manifest in
45 # the file base.pp in the manifests_path directory.
46 #
47 # An example Puppet manifest to provision the message of the day:
48 #
49 # # group { "puppet":
50 # # ensure => "present",
51 # # }
52 # #
53 # # File { owner => 0, group => 0, mode => 0644 }
54 # #
55 # # file { '/etc/motd':
56 # # content => "Welcome to your Vagrant-built virtual machine!
57 # # Managed by Puppet.\n"
58 # # }
59 #
60 # config.vm.provision :puppet do |puppet|
61 # puppet.manifests_path = "manifests"
62 # puppet.manifest_file = "base.pp"
63 # end
64
65 # Enable provisioning with chef solo, specifying a cookbooks path (relative
66 # to this Vagrantfile), and adding some recipes and/or roles.
67 #
68 # config.vm.provision :chef_solo do |chef|
69 # chef.cookbooks_path = "cookbooks"
70 # chef.add_recipe "mysql"
71 # chef.add_role "web"
72 #
73 # # You may also specify custom JSON attributes:
74 # chef.json = { :mysql_password => "foo" }
75 # end
76
77 # Enable provisioning with chef server, specifying the chef server URL,
78 # and the path to the validation key (relative to this Vagrantfile).
79 #
80 # The Opscode Platform uses HTTPS. Substitute your organization for
81 # ORGNAME in the URL and validation key.
82 #
83 # If you have your own Chef Server, use the appropriate URL, which may be
84 # HTTP instead of HTTPS depending on your configuration. Also change the
85 # validation key to validation.pem.
86 #
87 # config.vm.provision :chef_client do |chef|
88 # chef.chef_server_url = "https://api.opscode.com/organizations/ORGNAME"
89 # chef.validation_key_path = "ORGNAME-validator.pem"
90 # end
91 #
92 # If you're using the Opscode platform, your validator client is
93 # ORGNAME-validator, replacing ORGNAME with your organization name.
94 #
95 # IF you have your own Chef Server, the default validation client name is
96 # chef-validator, unless you changed the configuration.
97 #
98 # chef.validation_client_name = "ORGNAME-validator"
99 end
Something went wrong with that request. Please try again.