]> review.fuel-infra Code Review - puppet-modules/puppetlabs-firewall.git/commitdiff
(MAINT) RedHat 6 also uses unconfined_t
authorDavid Schmitt <david.schmitt@puppetlabs.com>
Wed, 14 Oct 2015 16:19:38 +0000 (17:19 +0100)
committerDavid Schmitt <david.schmitt@puppetlabs.com>
Wed, 14 Oct 2015 16:19:38 +0000 (17:19 +0100)
manifests/linux/redhat.pp

index 9e5ad18e25fa1a03941a6136909d1c1c3ca00441..3144ae7a9754e812a757364aaf17379bcc079f9e 100644 (file)
@@ -63,7 +63,7 @@ class firewall::linux::redhat (
     #lint:ignore:quoted_booleans
     'true',true: {
       case $::operatingsystemrelease {
-        /^7.*/: { $seluser = 'unconfined_u' }
+        /^(6|7)\..*/: { $seluser = 'unconfined_u' }
         default: { $seluser = 'system_u' }
       }
     }