Merge pull request #104 from genuss/mod_dav_svn
Add mod_dav_svn support
This commit is contained in:
commit
9ade6b3de8
@ -80,6 +80,12 @@ Installs and enables the mod_php5 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``
|
||||
----------------------
|
||||
|
||||
|
30
apache/mod_dav_svn.sls
Normal file
30
apache/mod_dav_svn.sls
Normal 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 %}
|
Loading…
Reference in New Issue
Block a user