Slide 1

Slide 1 text

…and why it could be your new best friend! @jreijn

Slide 2

Slide 2 text

DOING CONSULTING? • MySQL? • Postgres? • Oracle? • MongoDB? • Couchbase? • Elasticsearch? • SOLR? • Java 6, 7 or 8?

Slide 3

Slide 3 text

LOCAL INSTALLATION?

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

=

Slide 7

Slide 7 text

JUST 3 STEPS! # Download and set the “base” VM image
 $ vagrant box add base http://files.vagrantup.com/ precise64.box # Initialise a new vagrant project by creating a Vagrantfile
 $ vagrant init # Boot the VM based on the config file we created
 $ vagrant up

Slide 8

Slide 8 text

VAGRANTFILE

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

MORE COMMANDS $ vagrant status
 $ vagrant ssh
 $ vagrant reload
 $ vagrant provision
 $ vagrant suspend
 $ vagrant resume
 $ vagrant halt
 $ vagrant destroy
 $ vagrant package
 $ vagrant plugin

Slide 11

Slide 11 text

VAGRANT PROVISION

Slide 12

Slide 12 text

PUPPET class { 'postgresql::server': } class { 'postgresql::server::contrib':} postgresql::server::db { 'book':
 user => 'vagrant',
 password => postgresql_password('vagrant', 'password')
 }

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

RESOURCES • Vagrant website: http://www.vagrantup.com/ • List of available Vagrant boxes: http:// www.vagrantbox.es/ • Virtualbox: https://www.virtualbox.org/

Slide 15

Slide 15 text

No content