Boxes and Vagrants
-
Upload
fatbusinessman -
Category
Technology
-
view
1.283 -
download
1
description
Transcript of Boxes and Vagrants
http://www.flickr.com/photos/yourdon/5311807047/
Boxes and Vagrants
http://www.flickr.com/photos/fajalar/5539941372/
David Thompson
Mac user
http://www.flickr.com/photos/alinssite/5558527083/
Virtual machines
http://www.flickr.com/photos/fire_engine_red/3490019420/
Catch bugs
http://www.flickr.com/photos/alicejt/325351305/
Packages
VMWare
VirtualBox
http://www.flickr.com/photos/dolescum/3567699781/
Shared folders
(lame pun alert)
http://www.flickr.com/photos/camknows/5014711161/
Port forwarding
http://www.flickr.com/photos/wiewel/871028784/
Inconsistency
http://www.flickr.com/photos/jaqian/350238360/
Shit happens
Vagrant
$ mkdir mybox; cd mybox$ vagrant init
http://www.flickr.com/photos/z287marc/3192570560/
Base boxen
$ 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 reload
or, if you haven't changed paths:
$ vagrant provision
http://www.flickr.com/photos/25986885@N04/4557009507/
Disposable everything
http://octodex.github.com/#setuptocat
Version control
http://www.flickr.com/photos/louisedowne/6070925696/
Shared config with live
http://www.flickr.com/photos/rugbymadgirl/6097869737/
Multiple VMs
Objections
http://www.flickr.com/photos/rugbymadgirl/5529334899/
Too complicated
http://www.flickr.com/photos/elwillo/5511771480/
My environment!
[text editor of choice]
[text editor of choice]
http://www.flickr.com/photos/mr_t_in_dc/4561093311/
Questions?