diff --git a/manifests/mod_ssl.pp b/manifests/mod_ssl.pp index 15233c690e8496d4739fb53498d141115679add6..efd79703ff12b70b0dff33cb680fc66d94d2888e 100644 --- a/manifests/mod_ssl.pp +++ b/manifests/mod_ssl.pp @@ -17,7 +17,10 @@ class apache::mod_ssl $default_options = { 'SSLSessionCache' => 'shmcb:/var/cache/mod_ssl/scache(512000)', 'SSLSessionCacheTimeout' => '300', - 'SSLMutex' => 'default', + 'SSLMutex' => $apache::standard_version ? { + '2.2' => 'default', # 2.2 defaults to none + '2.4' => false, # SSLMutex replaced with Mutex, with sane default + }, 'SSLRandomSeed startup' => 'file:/dev/urandom 256', 'SSLRandomSeed connect' => 'builtin', 'SSLCryptoDevice' => 'builtin',