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.

mod_dav_svn.sls 759B

1234567891011121314151617181920212223242526272829303132333435363738
  1. {% if grains['os_family'] == "Debian" %}
  2. include:
  3. - apache
  4. libapache2-mod-svn:
  5. pkg.installed: []
  6. a2enmod dav_svn:
  7. cmd.run:
  8. - unless: ls /etc/apache2/mods-enabled/dav_svn.load
  9. - order: 255
  10. - require:
  11. - pkg: apache
  12. - pkg: libapache2-mod-svn
  13. - watch_in:
  14. - module: apache-restart
  15. - require_in:
  16. - module: apache-restart
  17. - module: apache-reload
  18. - service: apache
  19. a2enmod authz_svn:
  20. cmd.run:
  21. - unless: ls /etc/apache2/mods-enabled/authz_svn.load
  22. - order: 255
  23. - require:
  24. - pkg: apache
  25. - pkg: libapache2-mod-svn
  26. - watch_in:
  27. - module: apache-restart
  28. - require_in:
  29. - module: apache-restart
  30. - module: apache-reload
  31. - service: apache
  32. {% endif %}