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.
- Install the Salt Minion
- Set the master to
eligundry.ninja
- Authenticate the keys
./init.sh <device-name>
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