mirror of
https://github.com/saltstack-formulas/apache-formula.git
synced 2025-04-17 10:10:26 +00:00
Create Apache's logdir if necessary
This commit is contained in:
parent
dc46bc8340
commit
33e1302a12
1 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue