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
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ sudoers include {{ included_file }}:
- user: root
- group: {{ sudoers.get('group', 'root') }}
- mode: 440
- makedirs: True
- template: jinja
- source: salt://sudoers/files/sudoers
- check_cmd: {{ sudoers.get('execprefix', '/usr/sbin') }}/visudo -c -f