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

18 行
311B

  1. {% if grains['os_family']=="Debian" %}
  2. include:
  3. - apache
  4. - apache.mod_proxy
  5. a2enmod proxy_http:
  6. cmd.run:
  7. - unless: ls /etc/apache2/mods-enabled/proxy_http.load
  8. - order: 225
  9. - require:
  10. - pkg: apache
  11. - cmd: a2enmod proxy
  12. - watch_in:
  13. - module: apache-restart
  14. {% endif %}