25 lines
682 B
Ruby
25 lines
682 B
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
Vagrant::Config.run do |config|
|
|
config.vm.define :default do |devbox_config|
|
|
devbox_config.vm.box = "ubuntu-12.04-server-amd64-002"
|
|
devbox_config.vm.box_url = "http://mc0n1-srt.srt.mirantis.net/ubuntu-12.04-server-amd64-002.box"
|
|
|
|
devbox_config.vm.forward_port 80, 8080
|
|
# devbox_config.vm.forward_port 8000, 8000
|
|
|
|
devbox_config.vm.provision :chef_solo do |chef|
|
|
chef.cookbooks_path = "vagrant/cookbooks"
|
|
|
|
chef.add_recipe 'nailgun::server'
|
|
chef.add_recipe 'libvirt::server'
|
|
chef.add_recipe 'devops::deps'
|
|
|
|
chef.json = {
|
|
:celery => { :create_user => true }
|
|
}
|
|
end
|
|
end
|
|
end
|