updated openvpn_client state

This commit is contained in:
Paul 2022-12-17 23:34:54 +01:00
parent 6a032dc5b1
commit 2acebb77b2
3 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
openvpn-client-main-config:
file.managed:
- name: {{ openvpn_client.config_dir }}/vpn.conf
- source: salt://openvpn_client/vpn.conf.j2
- source: salt://openvpn_client/templates/vpn.conf.j2
- user: root
- group: root
- mode: 0600
@ -23,7 +23,7 @@ openvpn-client-private-dir:
openvpn-client-private-access:
file.managed:
- name: {{ openvpn_client.config_dir }}/private/pass
- source: salt://openvpn_client/pass.j2
- source: salt://openvpn_client/templates/pass.j2
- template: jinja
- user: root
- group: root

View File

@ -4,4 +4,4 @@
{{ client.name }}
{{ client.password }}
{%- endif -%}
{%- endfor -%}
{%- endfor -%}

View File

@ -34,4 +34,4 @@ pull-filter ignore "route {{ net.split("/")[0] }}"
{%- endif %}
{%- endfor %}
auth-user-pass private/pass
auth-user-pass private/pass