apache-formula/apache/config.sls
Niels Abspoel 53b995a680 Improved apache-formula
- Added more modules and configuration options
 - Renamed sls files to reflect what they do.
 - added mpm options for Debian
2015-06-19 20:44:53 +02:00

27 lines
566 B
Plaintext

{% from "apache/map.jinja" import apache with context %}
include:
- apache
{{ apache.configfile }}:
file.managed:
- template: jinja
- source:
- salt://apache/files/{{ salt['grains.get']('os_family') }}/apache.config.jinja
- require:
- pkg: apache
- watch_in:
- service: apache
{% if grains['os_family']=="Debian" %}
/etc/apache2/envvars:
file.managed
- template: jinja
- source:
- salt://apache/files/debian/envvars.jinja
- require:
- pkg: apache
- watch_in:
- service: apache
{% endif %}