Mercurial > repos > other > Puppet
view modules/apache/manifests/mod/dav_svn.pp @ 482:d83de9b3a62b default tip
Update hiera.yaml within Puppet config
Forgot that we manage it from here. Now has content to match
new packages
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 30 Aug 2024 16:10:36 +0100 |
parents | b8d6ada284dd |
children |
line wrap: on
line source
# @summary # Installs and configures `mod_dav_svn`. # # @param authz_svn_enabled # Specifies whether to install Apache mod_authz_svn # # @see https://httpd.apache.org/docs/current/mod/mod_dav_svn.html for additional documentation. # 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'], } } }