Mercurial > repos > other > Puppet
comparison modules/apache/manifests/mod/authz_default.pp @ 257:675c1cc61eaf
Update Apache module to get CentOS 8 support
Unfortunately it only fixes some bits. mod_wsgi still needs
other approaches
This also overrides the vhost modification to make them come last
in the import order (after module loading)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 22 Dec 2019 14:43:29 -0500 |
parents | |
children | d9352a684e62 |
comparison
equal
deleted
inserted
replaced
252:47750947f4dc | 257:675c1cc61eaf |
---|---|
1 class apache::mod::authz_default( | |
2 $apache_version = $::apache::apache_version | |
3 ) { | |
4 if versioncmp($apache_version, '2.4') >= 0 { | |
5 warning('apache::mod::authz_default has been removed in Apache 2.4') | |
6 } else { | |
7 ::apache::mod { 'authz_default': } | |
8 } | |
9 } |