Skip to content

Salt example with Flask- and Circus-powered Hello World, as demoed at Montreal Python 36

Notifications You must be signed in to change notification settings

kamalmarhubi/mtlpy36-vagrant-salt-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

mtlpy36-vagrant-salt-example

This repository contains the example Salt-configured Vagrant VM that I used in a demo at Montreal Python 36 in April 2013. It includes examples of package installation, file management, service management and configuration file watching, and virtualenv management.

You can follow the construction of the demo through the following tags:

  • 0: add basic Vagrantfile
  • 1: add basic salt provisioning
  • 2: add python packages
  • 3: add helloworld app with flask & circus

NB Don't deploy your important Hello World applications via your configuration management system as in the final step. Set up the infrastructure, but deploy with an appropriate tool. This was just an example!

Running

You'll need Vagrant and the vagrant-salt plugin installed. To install Vagrant, follow the instructions on the website or use your OS package manager. Once you have it installed, vagrant-salt is installed with

$ vagrant plugin install vagrant-salt

After that, you can run vagrant up or vagrant provision at each step along the demo.

For more information, check out the Vagrant documentation and Salt documentation

About

Salt example with Flask- and Circus-powered Hello World, as demoed at Montreal Python 36

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published