apache-formula/apache/mod_socache_shmcb.sls

25 lines
570 B
Plaintext
Raw Normal View History

2016-09-27 00:56:52 +02:00
{% from "apache/map.jinja" import apache with context %}
{% if grains['os_family']=="FreeBSD" %}
include:
- apache
{{ apache.modulesdir }}/009_mod_socache_shmcb.conf:
file.managed:
- source: salt://apache/files/{{ salt['grains.get']('os_family') }}/generic_module.conf.jinja
- mode: 644
- template: jinja
- require:
- pkg: apache
- watch_in:
- module: apache-restart
- require_in:
- module: apache-restart
- module: apache-reload
- service: apache
2016-09-27 00:56:52 +02:00
- context:
module_name: socache_shmcb
{% endif %}