From 222817e4f3c758ec19722fe3861c8075167ee97d Mon Sep 17 00:00:00 2001
From: Mathieu Bornoz <mathieu.bornoz@camptocamp.com>
Date: Fri, 21 Jan 2011 16:52:41 +0100
Subject: [PATCH] postfix: added support for RHEL6

---
 manifests/classes/postfix.pp  | 2 +-
 manifests/definitions/hash.pp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/manifests/classes/postfix.pp b/manifests/classes/postfix.pp
index aa61968..39814af 100644
--- a/manifests/classes/postfix.pp
+++ b/manifests/classes/postfix.pp
@@ -23,7 +23,7 @@ class postfix {
     RedHat, CentOS: {
       case $lsbmajdistrelease {
         "4":     { $postfix_seltype = "etc_t" }
-        "5":     { $postfix_seltype = "postfix_etc_t" }
+        "5","6": { $postfix_seltype = "postfix_etc_t" }
         default: { $postfix_seltype = undef }
       }
     }
diff --git a/manifests/definitions/hash.pp b/manifests/definitions/hash.pp
index c8bb7c7..8d610e7 100644
--- a/manifests/definitions/hash.pp
+++ b/manifests/definitions/hash.pp
@@ -36,7 +36,7 @@ define postfix::hash ($ensure="present", $source = false) {
     RedHat, CentOS: {
       case $lsbmajdistrelease {
         "4":     { $postfix_seltype = "etc_t" }
-        "5":     { $postfix_seltype = "postfix_etc_t" }
+        "5","6": { $postfix_seltype = "postfix_etc_t" }
         default: { $postfix_seltype = undef }
       }
     }
-- 
GitLab