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 (Boolean) (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
# File 'manifests/mod/dav_svn.pp', line 9

class apache::mod::dav_svn (
  Boolean $authz_svn_enabled = false,
) {
  Class['apache::mod::dav'] -> Class['apache::mod::dav_svn']
  include apache
  include apache::mod::dav
  if($facts['os']['name'] == 'SLES' and versioncmp($facts['os']['release']['major'], '12') < 0) {
    package { 'subversion-server':
      ensure   => 'installed',
      provider => 'zypper',
    }
  }

  ::apache::mod { 'dav_svn': }

  if $authz_svn_enabled {
    ::apache::mod { 'authz_svn':
      # authz_svn depends on symbols from the dav_svn module,
      # therefore, make sure authz_svn is loaded after dav_svn.
      loadfile_name => 'dav_svn_authz_svn.load',
      require       => Apache::Mod['dav_svn'],
    }
  }
}