diff --git a/manifests/params.pp b/manifests/params.pp index 04c3b65fe..fbb53c0ae 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -63,7 +63,7 @@ 'fcgid' => 'mod_fcgid', 'passenger' => 'mod_passenger', 'perl' => 'mod_perl', - 'php5' => $distrelease ? { + 'php5' => $::apache::version::distrelease ? { '5' => 'php53', default => 'php', }, diff --git a/manifests/version.pp b/manifests/version.pp index 581fdde6f..70fe919b6 100644 --- a/manifests/version.pp +++ b/manifests/version.pp @@ -9,7 +9,7 @@ if ! $distrelease { fail("Class['apache::params']: Unparsable \$::operatingsystemrelease: ${::operatingsystemrelease}") } - + case $::osfamily { 'RedHat': { if ($::operatingsystem == 'Fedora' and $distrelease >= 18) or ($::operatingsystem != 'Fedora' and $distrelease >= 7) {