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:
- apache
{{ apache.logdir }}:
file.directory:
- makedirs: True
- require:
- pkg: apache
- watch_in:
- service: apache
{{ apache.configfile }}:
file.managed:
- template: jinja