Browse Source

Create Apache's logdir if necessary

master
Alexander Weidinger 6 years ago
parent
commit
33e1302a12
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      apache/config.sls

+ 8
- 0
apache/config.sls 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

Loading…
Cancel
Save