heim / vagrant-salt

Project that uses Vagrant to develop applications using the Salt config management tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project is to be used as a base project when developing Salt projects using the Vagrant tool for development and testing purposes.

Intro

It contains a base Vagrantfile that configures two virtual machines:

  • A Salt Master that contains a file server of salt states. FQDN is 'master.example.com'
  • A Salt Minion that is automatically configured on startup. FQDN is 'minion.example.com'

Salt master has security authentication turned off as this is a development environment.

Each virtual machine will on startup run the command salt-call state.highstate to configure the node as necessary from the Salt State file found in directory srv/salt.

There is an example that configures an apache server changing the default index.html file like the tutorial found from http://saltstack.org.

Setup

In order to use this project, you must have a Vagrant basebox with Salt and ZeroMQ pre-installed. I have an Ubuntu Oneiric 11.10 base box that you can download here: http://dl.dropbox.com/u/3256948/oneiric-salt096.box that you can import into your Vagrant environment.

If you want to build your own, then you need to use Veewee. I have a couple of templates which can be found here:

Notes

Currently only tested with Ubuntu 11.10 32-bit

About

Project that uses Vagrant to develop applications using the Salt config management tool