Mercurial > repos > other > Puppet
diff modules/apache/manifests/mod/dav_svn.pp @ 275:d9352a684e62
Mass update of modules to remove deprecation warnings
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 26 Jan 2020 11:36:07 +0000 |
parents | 675c1cc61eaf |
children | b8d6ada284dd |
line wrap: on
line diff
--- a/modules/apache/manifests/mod/dav_svn.pp Sat Jan 04 11:42:45 2020 +0000 +++ b/modules/apache/manifests/mod/dav_svn.pp Sun Jan 26 11:36:07 2020 +0000 @@ -1,3 +1,11 @@ +# @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 ( $authz_svn_enabled = false, ) { @@ -13,7 +21,7 @@ ::apache::mod { 'dav_svn': } - if $::osfamily == 'Debian' and ($::operatingsystemmajrelease != '6' and $::operatingsystemmajrelease != '10.04' and $::operatingsystemrelease != '10.04' and $::operatingsystemmajrelease != '16.04') { + if $::osfamily == 'Debian' and ! ($::operatingsystemmajrelease in ['6', '9', '16.04', '18.04']) { $loadfile_name = undef } else { $loadfile_name = 'dav_svn_authz_svn.load'