Saltstack Official Apache Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

21 行
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 %}