📚 states and formulas for saltstack (debian / ubuntu)
HTML Python Nginx Scheme
Switch branches/tags
Nothing to show
Latest commit 49df278 Apr 24, 2015 @tony Remove mopidy
Permalink
Failed to load latest commit information.
pillar.old
salt
.gitignore
CHANGES.rst
LICENSE
README.rst
TODO.rst
Vagrantfile
fabfile.py
salt_python.py

README.rst

saltstack config files

Former: Configure a ubuntu 12.10 development environment with salt v0.14.0.

Ongoing: Transitioning to debian 8.0 (jessie / testing) with release 2014.1.1.

See the CHANGES.rst file.

Features

  • Support for dot-configurations
  • Support for provisining minions
  • Support for testing states via vagrant

Structure

Originally based off https://github.com/python/pypi-salt.

salt/roots/ is for anything that would be in file_roots or pillar_roots.

  • ./salt/roots/pillar - pillar data
  • ./salt/roots/dot-configs - dot-config sls states
  • ./salt/roots/salt - package sls states

Setup

Clone the data recursively (include submodules):

git clone https://github.com/tony/salt-states-configs.git /srv/salt/salt-states-tony

Add the necessary file_roots and pillar_roots to your project.

/etc/salt/master:

pillar_roots:
    base:
        - /srv/salt/salt-states-tony/salt/roots/pillar

file_roots:
    base:
        - /srv/salt/salt-states-tony/salt/roots/salt

Note: to see an updated, full list of formulas / roots see the minions/master example file.

Restart the salt master.

$ [sudo] /etc/init.d/salt-master restart

How to bootstrap a minion with config

See http://docs.saltstack.com/en/latest/topics/cloud/config.html#saltify.

Borrows from