dev/provisioning/modules/apache/manifests/mod/version.pp
changeset 28 b0b56e0f8c7f
equal deleted inserted replaced
27:a2342f26c9de 28:b0b56e0f8c7f
       
     1 class apache::mod::version(
       
     2   $apache_version = $::apache::apache_version
       
     3 ) {
       
     4 
       
     5   if ($::osfamily == 'debian' and versioncmp($apache_version, '2.4') >= 0) {
       
     6     warning("${module_name}: module version_module is built-in and can't be loaded")
       
     7   } else {
       
     8     ::apache::mod { 'version': }
       
     9   }
       
    10 }