saltstack-formulas / openvpn-formula

Setup and configure openvpn server and client.
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
35 stars 114 forks source link

Service & config-dir split start with fedora 27 #82

Open thelan opened 6 years ago

thelan commented 6 years ago

After upgrading some box to Fedora 27 it appears that the default package splits openvpn configuration with two services and config directories:

For server: openvpn-server@{name}.service /etc/openvpn/server/{name}.conf

For client: openvpn-client@{name}.service /etc/openvpn/client/{name}.conf

I'm not quite familiar with Jinja maps to patch it directly that's why i'm opening this issue.

alxwr commented 6 years ago

@thelan: I don't have a Fedora 27 box to test against. (Nor do I possess the needed Fedora experience.) Sry. If you want this done soon, please dig into Jinja and submit a PR. I'll be happy to test your changes against FreeBSD, Ubuntu and Debian.