/salt.eligundry.com

Collection of Salt states for my personal infrastructure

Primary LanguageSaltStack

salt.eligundry.com

This is a collection of SaltStack states that allow me to replicate my development environments across my machines consistently.

I gave a talk about the reasoning behind this at NYC Vim.

Installation

  1. Install the Salt Minion
  2. Set the master to eligundry.ninja
  3. Authenticate the keys
  4. ./init.sh <device-name>

OpenVPN

Here's how to add a client to the OpenVPN server, which is powered by Docker and kylemanna/docker-openvpn.

$ export OVPN_DATA='/opt/openvpn'
$ docker run -v $OVPN_DATA:/etc/openvpn --rm -it kylemanna/openvpn easyrsa build-client-full CLIENTNAME nopass
$ docker run -v $OVPN_DATA:/etc/openvpn --rm kylemanna/openvpn ovpn_getclient CLIENTNAME > CLIENTNAME.ovpn