0
0
mirror of https://github.com/saltstack-formulas/sudoers-formula.git synced 2024-11-28 00:48:12 +01:00
Add "makedirs: True" to the included.sls file as suggested by @tjuup
This commit is contained in:
Andre Sencioles 2018-11-07 10:18:05 +13:00
parent 2fa535ec3a
commit b925a00048

View File

@ -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