mirror of
https://github.com/saltstack-formulas/apache-formula.git
synced 2025-04-17 10:10:26 +00:00
Add mod_dav_svn
This commit is contained in:
parent
7abbe22724
commit
8ca121bed2
1 changed files with 30 additions and 0 deletions
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…
Add table
Reference in a new issue