Merge pull request #233 from alxwr/master

Create Apache's logdir if necessary
This commit is contained in:
Javier Bértoli 2018-08-17 10:42:55 -03:00 committed by GitHub
commit 760cadebc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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