]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
(bugfix) - Readding code to set correct seluser for CentOS/RHEL 5.x
authorDavid Swan <david.swan@puppet.com>
Mon, 18 Feb 2019 13:27:30 +0000 (13:27 +0000)
committerDavid Swan <david.swan@puppet.com>
Mon, 18 Feb 2019 13:27:30 +0000 (13:27 +0000)
Code was removed by mistake during removal of Scientific 5 support

manifests/linux/redhat.pp

index ba7010e296521bf24cc2fee9e52a8fcd2278ea4c..45e625ecec1448cf088c5c2c8fd90f9b0e2a5822 100644 (file)
@@ -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'