Create Apache's logdir if necessary

This commit is contained in:
Alexander Weidinger 2018-08-15 02:01:40 +02:00
parent dc46bc8340
commit 33e1302a12

View File

@ -3,6 +3,14 @@
include: include:
- apache - apache
{{ apache.logdir }}:
file.directory:
- makedirs: True
- require:
- pkg: apache
- watch_in:
- service: apache
{{ apache.configfile }}: {{ apache.configfile }}:
file.managed: file.managed:
- template: jinja - template: jinja