diff --git a/manifests/linux/redhat.pp b/manifests/linux/redhat.pp index a6bfe836c..b658c55cd 100644 --- a/manifests/linux/redhat.pp +++ b/manifests/linux/redhat.pp @@ -76,12 +76,13 @@ #lint:ignore:quoted_booleans 'true',true: { case $::operatingsystemrelease { - /^(6|7)\..*/: { + /^7\..*/: { case $::operatingsystem { 'CentOS': { File["/etc/sysconfig/${service_name}"] { seluser => 'unconfined_u', seltype => 'system_conf_t' } } default : { File["/etc/sysconfig/${service_name}"] { seluser => 'unconfined_u', seltype => 'etc_t' } } } } + /^6\..*/: { File["/etc/sysconfig/${service_name}"] { seluser => 'unconfined_u', seltype => 'system_conf_t' } } default: { File["/etc/sysconfig/${service_name}"] { seluser => 'system_u', seltype => 'system_conf_t' } } } }