VAGRANT DEVELOPMENT
AND PUPPET
MANAGEMENT
USING VAGRANTS TO DO THE WORK AND
PUPPET TO CONTROL THINGS
Created by /Mike Bell...
WHO?
Mike Bell
Twitter -
Drupal.org -
Where - CTI Digital - Drupal Technical Architect
@mikebell_
digital006
WHAT IS VAGRANT
Vagrant is a command line wrapper for virtual box which
provides utils for managing your VMs
VAGRANT TERMINOLOGY
Host - Your physical machine
Guest - The virtual machine
WHAT NOW?
Vagrant supports puppet manifests out of the box so you can
provision your development (and production) easily
RESOURCES
Vagrant Nginx -
There you go! Job Done...
http://github.com/digital006/drupaldev-nginx
WHY SHOULD I USE THIS?
1. Throw away
2. Easy to rebuild
3. Closer to production
4. Flexible system
PRE-REQUISITE
OS that supports NFS (OSX, Linux) - You can use 'doze if you
want (not tested)
Lots of RAM
DEMO TIME
SO WHAT JUST
HAPPENED?
Vagrant told virtual box to bring up a box (precise64)
Puppet then configured the server according ...
INTERNAL
FEATURES/CONFIG
sites > shared over nfs to /var/www
port 3306 is mapped from the guest the host
WHAT IS PUPPET?
Puppet is a provision tool to define the configuration of a
server
PUPPET MANIFESTS
The backbone of puppet
Define your config here
PUPPET MODULES
Existing puppet manifests and helper files
Gives you a head start
- great resource for existing modulesPupp...
PUPPET MANIFESTS -
DEMO
Existing manifests in DrupalDev - nginx
LIBRARIAN PUPPET
Think composer to php
Define your puppet modules in a config file and download
them when needed
Easy way ...
QUESTIONS?
If you want to help checkout my github issues page
Upcoming SlideShare
Loading in …5
×

Vagrant and Puppet primer - NWDUG Sept 2013

934 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
934
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Vagrant and Puppet primer - NWDUG Sept 2013

  1. 1. VAGRANT DEVELOPMENT AND PUPPET MANAGEMENT USING VAGRANTS TO DO THE WORK AND PUPPET TO CONTROL THINGS Created by /Mike Bell @mikebell_
  2. 2. WHO? Mike Bell Twitter - Drupal.org - Where - CTI Digital - Drupal Technical Architect @mikebell_ digital006
  3. 3. WHAT IS VAGRANT Vagrant is a command line wrapper for virtual box which provides utils for managing your VMs
  4. 4. VAGRANT TERMINOLOGY Host - Your physical machine Guest - The virtual machine
  5. 5. WHAT NOW? Vagrant supports puppet manifests out of the box so you can provision your development (and production) easily
  6. 6. RESOURCES Vagrant Nginx - There you go! Job Done... http://github.com/digital006/drupaldev-nginx
  7. 7. WHY SHOULD I USE THIS? 1. Throw away 2. Easy to rebuild 3. Closer to production 4. Flexible system
  8. 8. PRE-REQUISITE OS that supports NFS (OSX, Linux) - You can use 'doze if you want (not tested) Lots of RAM
  9. 9. DEMO TIME
  10. 10. SO WHAT JUST HAPPENED? Vagrant told virtual box to bring up a box (precise64) Puppet then configured the server according to our requirements Puppet also created the sites that we had specified
  11. 11. INTERNAL FEATURES/CONFIG sites > shared over nfs to /var/www port 3306 is mapped from the guest the host
  12. 12. WHAT IS PUPPET? Puppet is a provision tool to define the configuration of a server
  13. 13. PUPPET MANIFESTS The backbone of puppet Define your config here
  14. 14. PUPPET MODULES Existing puppet manifests and helper files Gives you a head start - great resource for existing modulesPuppet Forge
  15. 15. PUPPET MANIFESTS - DEMO Existing manifests in DrupalDev - nginx
  16. 16. LIBRARIAN PUPPET Think composer to php Define your puppet modules in a config file and download them when needed Easy way to keep them up to date Librarian Puppet
  17. 17. QUESTIONS? If you want to help checkout my github issues page

×