Skip to content

Instantly share code, notes, and snippets.

@ramaseshan
Last active October 25, 2015 11:37
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ramaseshan/8a6570b3e578ab86e095 to your computer and use it in GitHub Desktop.
Save ramaseshan/8a6570b3e578ab86e095 to your computer and use it in GitHub Desktop.
Sample Code Used in repo here : https://github.com/ramaseshan/salt-stack-examples
The Plan
1. Basic Introduction to Salt - 10 min (Installation and basic usage)
2. Introduction to software installation using salt -10 min (How to install or update a software)
3. How to create and manage an infrastructure with saltstack - 20 min (Installing multiple packages, various ways of installation)
-> We will be installing a few packages like python-pip, python-virtualenv,
-> Create a virtualenv and install django inside it
-> Create a default django project and start the dev server
-> Well you really need to edit the code ?? So lets go god mode (vim + tmux + the good old terminal)
Basic Requirements :
1. Oracle Virtual box with CentOS 6.6 minimal installed (https://www.centos.org/)
2. Span out 2 VM's, one as the installation configuration machine(M1), and other as the install machine(M2).
3. Enable epel repo on both the machines and install these packages,just follow the instructions from here (https://docs.saltstack.com/en/latest/topics/installation/rhel.html)
4. Once done, on M1 , do the following
1. yum install python-devel createrepo httpd
5. Wait for the talk. I will get the respective rpms I will be using for the demo, you can download right there and use them.
Note : The slide used also will be available in the repo for now, until it move it a web based presentation. Feel Free to Download the presentation and use it to whatever need you want to.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment