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.

23 line
505B

  1. {% from "apache/map.jinja" import apache with context %}
  2. {% if grains['os_family']=="Debian" %}
  3. include:
  4. - apache
  5. libapache2-mod-upload-progress:
  6. pkg.installed
  7. a2enmod upload_progress:
  8. cmd.run:
  9. - unless: ls /etc/apache2/mods-enabled/upload_progress.load
  10. - order: 255
  11. - require:
  12. - pkg: libapache2-mod-upload-progress
  13. - watch_in:
  14. - module: apache-restart
  15. - require_in:
  16. - module: apache-restart
  17. - module: apache-reload
  18. - service: apache
  19. {% endif %}