Create Apache's logdir if necessary
This commit is contained in:
parent
dc46bc8340
commit
33e1302a12
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user