Merge pull request #104 from genuss/mod_dav_svn

Add mod_dav_svn support
This commit is contained in:
Forrest 2015-12-24 13:12:43 -08:00
commit 9ade6b3de8
2 changed files with 36 additions and 0 deletions

View File

@ -80,6 +80,12 @@ Installs and enables the mod_php5 module
Installs and enables the mod_fcgid module Installs and enables the mod_fcgid module
``apache.mod_dav_svn``
--------------------
Installs and enables the mod_dav_svn module (Debian only)
``apache.mod_vhost_alias`` ``apache.mod_vhost_alias``
---------------------- ----------------------

30
apache/mod_dav_svn.sls Normal file
View File

@ -0,0 +1,30 @@
{% if grains['os_family'] == "Debian" %}
include:
- apache
libapache2-mod-svn:
pkg.installed: []
a2enmod dav_svn:
cmd.run:
- unless: ls /etc/apache2/mods-enabled/dav_svn.load
- order: 255
- require:
- pkg: apache
- pkg: libapache2-mod-svn
- watch_in:
- module: apache-restart
a2enmod authz_svn:
cmd.run:
- unless: ls /etc/apache2/mods-enabled/authz_svn.load
- order: 255
- require:
- pkg: apache
- pkg: libapache2-mod-svn
- watch_in:
- module: apache-restart
{% endif %}