Mercurial > repos > other > Puppet
view modules/apache/manifests/mod/version.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 | 37675581a273 |
children | b8d6ada284dd |
line wrap: on
line source
# @summary # Installs `mod_version`. # # @param apache_version # Used to verify that the Apache version you have requested is compatible with the module. # # @see https://httpd.apache.org/docs/current/mod/mod_version.html for additional documentation. # class apache::mod::version( $apache_version = $::apache::apache_version ) { if ($::osfamily == 'debian' and versioncmp($apache_version, '2.4') >= 0) { warning("${module_name}: module version_module is built-in and can't be loaded") } else { ::apache::mod { 'version': } } }