comparison 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
comparison
equal deleted inserted replaced
252:47750947f4dc 257:675c1cc61eaf
1 class apache::mod::dav_svn ( 1 class apache::mod::dav_svn (
2 $authz_svn_enabled = false, 2 $authz_svn_enabled = false,
3 ) { 3 ) {
4 Class['::apache::mod::dav'] -> Class['::apache::mod::dav_svn'] 4 Class['::apache::mod::dav'] -> Class['::apache::mod::dav_svn']
5 include ::apache
5 include ::apache::mod::dav 6 include ::apache::mod::dav
7 if($::operatingsystem == 'SLES' and $::operatingsystemmajrelease < '12'){
8 package { 'subversion-server':
9 ensure => 'installed',
10 provider => 'zypper',
11 }
12 }
13
6 ::apache::mod { 'dav_svn': } 14 ::apache::mod { 'dav_svn': }
7 15
8 if $::osfamily == 'Debian' and ($::operatingsystemmajrelease != '6' and $::operatingsystemmajrelease != '10.04' and $::operatingsystemrelease != '10.04') { 16 if $::osfamily == 'Debian' and ($::operatingsystemmajrelease != '6' and $::operatingsystemmajrelease != '10.04' and $::operatingsystemrelease != '10.04' and $::operatingsystemmajrelease != '16.04') {
9 $loadfile_name = undef 17 $loadfile_name = undef
10 } else { 18 } else {
11 $loadfile_name = 'dav_svn_authz_svn.load' 19 $loadfile_name = 'dav_svn_authz_svn.load'
12 } 20 }
13 21