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

mod_vhost_alias.sls 265B

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