Upgrade to Pro — share decks privately, control downloads, hide ads and more …

A Very Short Overview of Vagrant

A Very Short Overview of Vagrant

A very short overview of Vagrant, presented at the Vienna.rb meetup on 2013-07-18

Markus Wein

July 18, 2013
Tweet

More Decks by Markus Wein

Other Decks in Programming

Transcript

  1. Vagrant::Config.run do |config| config.vm.box = "squeeze64-ruby193" config.vm.box_url = "http://packages.diluvia.net/squeeze64-ruby193.box" config.vm.network

    :hostonly, "33.33.33.10" config.vm.share_folder "v-cookbooks", "/cookbooks" config.vm.provision :shell, :path => "script.sh" end
  2. Vagrant::Config.run do |config| config.vm.box = "squeeze64-ruby193" config.vm.box_url = "http://packages.diluvia.net/squeeze64-ruby193.box" config.vm.network

    :hostonly, "33.33.33.10" config.vm.share_folder "v-cookbooks", "/cookbooks" config.vm.provision "chef_solo" do |chef| chef.add_recipe "apache" end end
  3. Vagrant::Config.run do |config| config.vm.box = "squeeze64-ruby193" config.vm.box_url = "http://packages.diluvia.net/squeeze64-ruby193.box" config.vm.network

    :hostonly, "33.33.33.10" config.vm.share_folder "v-cookbooks", "/cookbooks" config.vm.provision :puppet_server do |puppet| puppet.puppet_server = "puppet.example.com" end end