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 553B

9 yıl önce
123456789101112131415161718192021222324252627282930
  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. a2enmod authz_svn:
  16. cmd.run:
  17. - unless: ls /etc/apache2/mods-enabled/authz_svn.load
  18. - order: 255
  19. - require:
  20. - pkg: apache
  21. - pkg: libapache2-mod-svn
  22. - watch_in:
  23. - module: apache-restart
  24. {% endif %}