Skip to content

Instantly share code, notes, and snippets.

@bencaron
Created September 12, 2011 01:55
Show Gist options
  • Save bencaron/1210439 to your computer and use it in GitHub Desktop.
Save bencaron/1210439 to your computer and use it in GitHub Desktop.
Vagrant-couchdb
Vagrant::Config.run do |config|
config.vm.box = "lucid32"
config.vm.boot_mode = :gui
# Enable provisioning with chef solo, specifying a cookbooks path (relative
# to this Vagrantfile), and adding some recipes and/or roles.
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "cookbooks"
chef.add_recipe "couchdb"
config.vm.forward_port("futon", 5984, 5984)
# You may also specify custom JSON attributes:
chef.json = { :couchdb=> "foo" }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment