From fdce3bdf60c8911d763c9411df59234275d835fa Mon Sep 17 00:00:00 2001 From: David Swan Date: Mon, 18 Feb 2019 13:27:30 +0000 Subject: [PATCH] (bugfix) - Readding code to set correct seluser for CentOS/RHEL 5.x Code was removed by mistake during removal of Scientific 5 support --- manifests/linux/redhat.pp | 5 +++++ 1 file changed, 5 insertions(+) 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' -- 2.45.2