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.

25 lines
570B

  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. - require_in:
  15. - module: apache-restart
  16. - module: apache-reload
  17. - service: apache
  18. - context:
  19. module_name: socache_shmcb
  20. {% endif %}