diff --git a/manifests/params.pp b/manifests/params.pp index b962785..f55b2d8 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -1,7 +1,8 @@ +# class apache_httpd::params { - case $::operatingsystem { - 'RedHat','CentOS','Scientific': { + case $::osfamily { + 'RedHat': { if versioncmp($::operatingsystemrelease, '7') >= 0 { $httpd_version = '2.4' $service_restart = '/bin/systemctl reload httpd.service'