Puppet Class: apache::mod::version

Defined in:
manifests/mod/version.pp

Summary

Installs `mod_version`.

Overview

Parameters:

  • apache_version (Optional[String]) (defaults to: $apache::apache_version)

    Used to verify that the Apache version you have requested is compatible with the module.

See Also:



9
10
11
12
13
14
15
16
17
# File 'manifests/mod/version.pp', line 9

class apache::mod::version (
  Optional[String] $apache_version = $apache::apache_version
) {
  if ($facts['os']['family'] == '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': }
  }
}