Skip to content
My cookbooks
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
haproxy
monit/recipes
nodejs/recipes
redis/recipes
vim/recipes
.gitignore
README.md
Rakefile

README.md

What is this?

Cookbooks that I use for vagrant

Example Vagrantfile

Vagrant::Config.run do |config|
  config.vm.box = "oneiric32"
  config.vm.url = "https://s3.amazonaws.com/mdellanoce-vagrant-boxes/oneiric32.box"

  config.vm.forward_port "http", 80, 8080

  config.vm.provision :chef_solo do |chef|
    chef.cookbooks_path = "cookbooks"
    
    chef.add_recipe "vim"
    chef.add_recipe "nodejs"
    chef.add_recipe "nodejs::canvas"
  end
end

If you run:

vagrant up

... from a directory containing both this Vagrantfile, and this repository checked out, it will:

  • download the base box (if you don't have it already),
  • install Vim,
  • install Node.js 0.4.12 and NPM
  • install the cairo development package (so that node canvas can be installed)
Something went wrong with that request. Please try again.