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.

17 lines
283B

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