Merge pull request #233 from alxwr/master
Create Apache's logdir if necessary
This commit is contained in:
commit
760cadebc3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user