Mercurial > repos > other > Puppet
view modules/apache/manifests/mod/authz_default.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 source
# @summary # Installs and configures `mod_authz_default`. # # @param apache_version # Version of Apache to install module on. # # @see https://httpd.apache.org/docs/current/mod/mod_authz_default.html for additional documentation. # class apache::mod::authz_default( $apache_version = $::apache::apache_version ) { if versioncmp($apache_version, '2.4') >= 0 { warning('apache::mod::authz_default has been removed in Apache 2.4') } else { ::apache::mod { 'authz_default': } } }