Fixed setroubleshoot for CentOS 6.

This commit is contained in:
Timo Mkinen 2011-08-03 20:20:58 +03:00
parent 28ebdf5820
commit bc4de04dda

View file

@ -37,7 +37,7 @@ class selinux {
notify => Exec["set-selinux-mode"],
}
if $operatingsystem != "Fedora" {
if $operatingsystem == "CentOS" and $operatingsystemrelease =~ /^[1-5]\./ {
service { "setroubleshoot":
ensure => $selinux_type ? {
disabled => stopped,