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

16 行
257B

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