Permalink
Browse files

apache::redhat::selinux: httpd_suexec_disable_trans only applies to r…

…edhat < 6
  • Loading branch information...
1 parent 9d15717 commit b980753a3ec86d99034ed8c27f5561872f2318c0 @ckaenzig ckaenzig committed with mfournier Mar 29, 2012
Showing with 5 additions and 3 deletions.
  1. +5 −3 manifests/redhat/selinux.pp
@@ -37,9 +37,11 @@
}
suexec: {
- selboolean { "httpd_suexec_disable_trans":
- value => "off",
- persistent => true,
+ if versioncmp($lsbmajdistrelease, 6) < 0 {
+ selboolean { "httpd_suexec_disable_trans":
+ value => "off",
+ persistent => true,
+ }
}
}

0 comments on commit b980753

Please sign in to comment.