From 8ca121bed2df7b68548a32724aa06ba330a879fe Mon Sep 17 00:00:00 2001 From: "a.genus" Date: Wed, 23 Dec 2015 17:02:24 +0300 Subject: [PATCH 1/2] Add mod_dav_svn --- apache/mod_dav_svn.sls | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 apache/mod_dav_svn.sls diff --git a/apache/mod_dav_svn.sls b/apache/mod_dav_svn.sls new file mode 100644 index 0000000..cf29fee --- /dev/null +++ b/apache/mod_dav_svn.sls @@ -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 %} From f69e834f4bab6715ba579287c4c045173ebfd3fa Mon Sep 17 00:00:00 2001 From: "a.genus" Date: Thu, 24 Dec 2015 12:53:33 +0300 Subject: [PATCH 2/2] Add docs about mod_dav_svn --- README.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.rst b/README.rst index f9e4447..6a71ea0 100644 --- a/README.rst +++ b/README.rst @@ -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`` ----------------------