Automating Development Operations with Vagrant and Salt (the 5min intro)
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Automating Development Operations with Vagrant and Salt (the 5min intro)

on

  • 1,241 views

A 5-minute introduction to using Vagrant and Salt together. As a Python developer, I find Salt much more friendly to my way of development. ...

A 5-minute introduction to using Vagrant and Salt together. As a Python developer, I find Salt much more friendly to my way of development.
The ideas here are based on Christian Nygaard's blog post on Quora. http://cnygaard.quora.com/Using-Vagrant-and-Salt-stack-together

Statistics

Views

Total Views
1,241
Views on SlideShare
1,212
Embed Views
29

Actions

Likes
2
Downloads
10
Comments
0

3 Embeds 29

http://162.243.226.161 20
http://www.devopsroom.com 8
http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

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

Automating Development Operations with Vagrant and Salt (the 5min intro) Presentation Transcript

  • 1. milestone42 Automating Development with Vagrant and Salt 1 milestone42 Copyright © 2013. Sumanth Vepa.
  • 2. Copyright © 2013. Sumanth Vepa This work is licensed under the Creative Commons Attribution-Share-Alike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/bysa/3.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. 2 milestone42
  • 3. What is Vagrant? Why Use Vagrant? http://www.vagrantup.com/ • Isolate dependencies Setup a development environment • Quickly • Reproducibly, • and, in a Controlled way. • Reproducible environment • Disposable – test and discard and recreate quickly • Versionable – keep your environment versioned • Shareable 3 milestone42
  • 4. Using Vagrant On the host $ mkdir vagrant-test; cd vagrant-test $ vagrant init precise32 http://files.vagrantup.com/precise32.box $ vagrant up $ vagrant ssh On the guest vagrant@precise32:~$ ls /vagrant Vagrantfile 4 On the host $ ls ./vagrant-test Vagrantfile milestone42
  • 5. Configuring the environment – simplistic Vagrantfile bootstrap.sh 5 milestone42
  • 6. (Very) Brief overview of Salt • Distributed configuration management • Rapid deployment across large numbers of hosts. • Uses Python as the implementation language. Salt master Salt minion 6 Salt minion Salt minion milestone42
  • 7. Configuring the environment with Salt On the host: One additional package $ vagrant plugin install vagrant-salt Create the salt configuration $ cd test-vagrant $ mkdir –p ./salt/roots $ touch salt/minion $ touch salt/roots/apache.sls $ touch salt/roots/top.sls Vagrantfile 7 milestone42
  • 8. Configuring the environment with Salt Additions to the Vagrantfile for Salt ./salt/minion 8 ./salt/roots/top.sls ./salt/roots/apache milestone42
  • 9. More information Vagrant: http://vagrantup.com Salt: http://www.saltstack.com/ Salt+Vagrant: nygaard.quora.com/Using-Vagrant-and-Salt-stack-together milestone42.com Consulting and software services for development operations and automation. 9 milestone42