From: David Swan Date: Mon, 18 Feb 2019 13:27:30 +0000 (+0000) Subject: (bugfix) - Readding code to set correct seluser for CentOS/RHEL 5.x X-Git-Tag: 1.15.2~11^2~1 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=fdce3bdf60c8911d763c9411df59234275d835fa;p=puppet-modules%2Fpuppetlabs-firewall.git (bugfix) - Readding code to set correct seluser for CentOS/RHEL 5.x Code was removed by mistake during removal of Scientific 5 support --- diff --git a/manifests/linux/redhat.pp b/manifests/linux/redhat.pp index ba7010e..45e625e 100644 --- a/manifests/linux/redhat.pp +++ b/manifests/linux/redhat.pp @@ -140,6 +140,11 @@ class firewall::linux::redhat ( case $::operatingsystem { 'CentOS': { case $::operatingsystemrelease { + /^5\..*/: { + $seluser = 'system_u' + $seltype = 'etc_t' + } + /^6\..*/: { $seluser = 'unconfined_u' $seltype = 'system_conf_t'