Puppet Class: apache::mod::version

Defined in:
manifests/mod/version.pp

Overview

Parameters:

  • apache_version (Any) (defaults to: $::apache::apache_version)


1
2
3
4
5
6
7
8
9
10
# File 'manifests/mod/version.pp', line 1

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': }
  }
}