Skip to content

Instantly share code, notes, and snippets.

@chokkoyamada
Created June 17, 2013 23:09
Show Gist options
  • Save chokkoyamada/5801315 to your computer and use it in GitHub Desktop.
Save chokkoyamada/5801315 to your computer and use it in GitHub Desktop.
simple vagrant file with berksfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.berkshelf.enabled = true
config.berkshelf.berksfile_path = "Berksfile"
config.vm.box = "centos63chef"
config.vm.network :forwarded_port, guest: 80, host: 8080
config.vm.synced_folder "data", "/vagrant_data"
config.vm.provision :chef_solo do |chef|
#chef.add_recipe "mysql"
#chef.add_recipe "nginx"
chef.add_recipe "graphite-chef-centos"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment