updated openvpn_client state
This commit is contained in:
parent
6a032dc5b1
commit
2acebb77b2
@ -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
|
||||
|
@ -4,4 +4,4 @@
|
||||
{{ client.name }}
|
||||
{{ client.password }}
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
{%- endfor -%}
|
@ -34,4 +34,4 @@ pull-filter ignore "route {{ net.split("/")[0] }}"
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
|
||||
auth-user-pass private/pass
|
||||
auth-user-pass private/pass
|
Loading…
Reference in New Issue
Block a user