Puppet Class: apache::mod::dav_svn

Defined in:
manifests/mod/dav_svn.pp

Summary

Installs and configures `mod_dav_svn`.

Overview

Parameters:

  • authz_svn_enabled (Any) (defaults to: false)

    Specifies whether to install Apache mod_authz_svn

See Also:



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# File 'manifests/mod/dav_svn.pp', line 9

class apache::mod::dav_svn (
  $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 in ['6', '9', '16.04', '18.04']) {
    $loadfile_name = undef
  } else {
    $loadfile_name = 'dav_svn_authz_svn.load'
  }

  if $authz_svn_enabled {
    ::apache::mod { 'authz_svn':
      loadfile_name => $loadfile_name,
      require       => Apache::Mod['dav_svn'],
    }
  }
}