Skip to content

Instantly share code, notes, and snippets.

@mdxp
Last active August 29, 2015 13:56
Show Gist options
  • Save mdxp/8855405 to your computer and use it in GitHub Desktop.
Save mdxp/8855405 to your computer and use it in GitHub Desktop.
Vagrantfile
Vagrant.configure("2") do |config|
config.vm.hostname = "app-nginx"
config.vm.network :private_network, ip: "33.33.33.12"
config.vm.box = "opscode-debian-7.2.0"
config.vm.box_url = "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-7.2.0_chef-provisionerless.box"
config.omnibus.chef_version = :latest
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "512"]
end
config.vm.provision :chef_solo do |chef|
chef.log_level = :info
chef.run_list = [
"recipe[app-nginx]"
]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment