diff modules/apache/manifests/mod/dav_svn.pp @ 257:675c1cc61eaf

Update Apache module to get CentOS 8 support Unfortunately it only fixes some bits. mod_wsgi still needs other approaches This also overrides the vhost modification to make them come last in the import order (after module loading)
author IBBoard <dev@ibboard.co.uk>
date Sun, 22 Dec 2019 14:43:29 -0500
parents 37675581a273
children d9352a684e62
line wrap: on
line diff
--- a/modules/apache/manifests/mod/dav_svn.pp	Sun Dec 22 09:41:45 2019 -0500
+++ b/modules/apache/manifests/mod/dav_svn.pp	Sun Dec 22 14:43:29 2019 -0500
@@ -2,10 +2,18 @@
   $authz_svn_enabled = false,
 ) {
   Class['::apache::mod::dav'] -> Class['::apache::mod::dav_svn']
+  include ::apache
   include ::apache::mod::dav
+  if($::operatingsystem == 'SLES' and $::operatingsystemmajrelease < '12'){
+    package { 'subversion-server':
+      ensure   => 'installed',
+      provider => 'zypper',
+    }
+  }
+
   ::apache::mod { 'dav_svn': }
 
-  if $::osfamily == 'Debian' and ($::operatingsystemmajrelease != '6' and $::operatingsystemmajrelease != '10.04' and $::operatingsystemrelease != '10.04') {
+  if $::osfamily == 'Debian' and ($::operatingsystemmajrelease != '6' and $::operatingsystemmajrelease != '10.04' and $::operatingsystemrelease != '10.04' and $::operatingsystemmajrelease != '16.04') {
     $loadfile_name = undef
   } else {
     $loadfile_name = 'dav_svn_authz_svn.load'