Boxes and Vagrants
Upcoming SlideShare
Loading in...5
×
 

Boxes and Vagrants

on

  • 1,611 views

 

Statistics

Views

Total Views
1,611
Views on SlideShare
1,610
Embed Views
1

Actions

Likes
1
Downloads
12
Comments
0

1 Embed 1

http://twitter.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Boxes and Vagrants Boxes and Vagrants Presentation Transcript

  • Boxes and Vagrants http://www.flickr.com/photos/yourdon/5311807047/
  • David Thompson http://www.flickr.com/photos/fajalar/5539941372/
  • Mac user
  • Virtual machines http://www.flickr.com/photos/alinssite/5558527083/
  • Catch bugs http://www.flickr.com/photos/fire_engine_red/3490019420/
  • Packages http://www.flickr.com/photos/alicejt/325351305/
  • VMWare
  • VirtualBox
  • Shared folders http://www.flickr.com/photos/dolescum/3567699781/
  • (lame pun alert)
  • Port forwarding http://www.flickr.com/photos/camknows/5014711161/
  • Inconsistency http://www.flickr.com/photos/wiewel/871028784/
  • Shit happens http://www.flickr.com/photos/jaqian/350238360/
  • Vagrant
  • $ mkdir mybox; cd mybox$ vagrant init
  • Base boxen http://www.flickr.com/photos/z287marc/3192570560/
  • $ vagrant box add lucid64 http://files.vagrantup.com/lucid64.box
  • config.vm.box = "base"
  • config.vm.box = "ubuntu_natty_64"
  • $ vagrant up
  • $ vagrant ssh
  • $ vagrant suspend
  • $ vagrant destroy
  • (or Chef)
  • config.vm.provision :puppet do |puppet| puppet.manifest_file = "foobang.pp"end
  • exec { "apt-get-update": command => "/usr/bin/apt-get update",}package { ["nginx", "python", "cowsay"]: ensure => installed, require => Exec["apt-get-update"],}
  • $ vagrant reloador, if you havent changed paths:$ vagrant provision
  • Disposable everything http://www.flickr.com/photos/25986885@N04/4557009507/
  • Version control http://octodex.github.com/#setuptocat
  • Shared config with live http://www.flickr.com/photos/louisedowne/6070925696/
  • Multiple VMs http://www.flickr.com/photos/rugbymadgirl/6097869737/
  • Objections
  • Too complicated http://www.flickr.com/photos/rugbymadgirl/5529334899/
  • My environment! http://www.flickr.com/photos/elwillo/5511771480/
  • [text editor of choice]
  • [text editor of choice]
  • Questions? http://www.flickr.com/photos/mr_t_in_dc/4561093311/