Skip to content

Instantly share code, notes, and snippets.

@Draiken
Created June 30, 2011 17:53
Show Gist options
  • Save Draiken/1056777 to your computer and use it in GitHub Desktop.
Save Draiken/1056777 to your computer and use it in GitHub Desktop.
my vagrantfile
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "vendor/cookbooks/vagrant_base"
chef.log_level = :debug
chef.add_recipe "apt"
chef.add_recipe "build-essential"
chef.add_recipe "networking_basic"
chef.add_recipe "openssl"
chef.add_recipe "git"
chef.add_recipe "rvm"
chef.add_recipe "rvm::multi"
chef.add_recipe "java::sun"
chef.add_recipe "mysql::client"
chef.add_recipe "mysql::server"
chef.add_recipe "sqlite"
chef.add_recipe "memcached"
#chef.add_recipe "postgresql::client"
#chef.add_recipe "postgresql::server"
chef.add_recipe "redis"
chef.add_recipe "rabbitmq"
chef.add_recipe "timetrap"
chef.add_recipe "travis_build_environment::default"
#chef.add_recipe "mongodb::apt"
# chef.add_recipe "mongodb::server"
# You may also specify custom JSON attributes:
chef.json.merge!(:rvm => {
:rubies => %w(ruby-1.9.2)
})
end
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "vendor/custom_cookbooks/nzn"
chef.log_level = :debug
chef.add_recipe "known_hosts"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment