Saltstack Official Apache Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
467B

  1. {% from "apache/map.jinja" import apache with context %}
  2. {% if grains['os_family']=="FreeBSD" %}
  3. include:
  4. - apache
  5. {{ apache.modulesdir }}/009_mod_socache_shmcb.conf:
  6. file.managed:
  7. - source: salt://apache/files/{{ salt['grains.get']('os_family') }}/generic_module.conf.jinja
  8. - mode: 644
  9. - template: jinja
  10. - require:
  11. - pkg: apache
  12. - watch_in:
  13. - module: apache-restart
  14. - context:
  15. module_name: socache_shmcb
  16. {% endif %}