Browse Source

Merge pull request #233 from alxwr/master

Create Apache's logdir if necessary
master
Javier Bértoli 6 years ago
parent
commit
760cadebc3
No account linked to committer's email address
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      apache/config.sls

+ 8
- 0
apache/config.sls View File

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…
Cancel
Save