Created
March 13, 2013 10:35
-
-
Save imsickofmaps/5150940 to your computer and use it in GitHub Desktop.
Example Vagrantfile for vumi-go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant::Config.run do |config| | |
config.vm.box = "precise64" | |
# Port forwarding | |
## Nginx | |
#config.vm.forward_port 8080, 8080 | |
## shares | |
# change ../code/vumi-go to whereever your clone of vumi-go is locatated | |
config.vm.share_folder "vumi-go", "/srv/vumi-go", "../code/vumi-go" | |
# Enable and configure the chef solo provisioner | |
config.vm.provision :chef_solo do |chef| | |
# chef.log_level = "debug" | |
# Tell chef where to find his cookbooks | |
chef.cookbooks_path = "env/cookbooks" | |
# Tell chef where to find his data bags | |
chef.data_bags_path = "env/data_bags" | |
# Tell chef where to find the roles path - will be expanded relative to the project directory | |
chef.roles_path = "env/roles" | |
# We use roles for recipe sets | |
chef.add_role("vumi-go") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment