Fix issue #25
Add "makedirs: True" to the included.sls file as suggested by @tjuup
This commit is contained in:
parent
2fa535ec3a
commit
b925a00048
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ sudoers include {{ included_file }}:
|
||||||
- user: root
|
- user: root
|
||||||
- group: {{ sudoers.get('group', 'root') }}
|
- group: {{ sudoers.get('group', 'root') }}
|
||||||
- mode: 440
|
- mode: 440
|
||||||
|
- makedirs: True
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- source: salt://sudoers/files/sudoers
|
- source: salt://sudoers/files/sudoers
|
||||||
- check_cmd: {{ sudoers.get('execprefix', '/usr/sbin') }}/visudo -c -f
|
- check_cmd: {{ sudoers.get('execprefix', '/usr/sbin') }}/visudo -c -f
|
||||||
|
|
Loading…
Reference in a new issue