Skip to content

Commit 3bea3b0

Browse files
dafyddjalxwr
authored andcommitted
Unix permissions aren't used on Windows
1 parent fd88630 commit 3bea3b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openvpn/general_config.sls

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ openvpn_user:
3131
openvpn_config_dir:
3232
file.directory:
3333
- name: {{ map.conf_dir }}
34+
{%- if not grains['os_family'] == 'Windows' %}
3435
- mode: 750
3536
- user: {{ map.user }}
3637
- group: {{ map.group }}
38+
{%- endif %}
3739
- require_in:
3840
- sls: openvpn.config
3941

0 commit comments

Comments
 (0)