Fixed setroubleshoot on Fedora hosts.

This commit is contained in:
Timo Mkinen 2010-10-03 18:20:56 +03:00
parent e76a2259e0
commit 9843464f8c

View file

@ -37,6 +37,7 @@ class selinux {
notify => Exec["set-selinux-mode"],
}
if $operatingsystem != "Fedora" {
service { "setroubleshoot":
ensure => $selinux_type ? {
disabled => stopped,
@ -49,6 +50,7 @@ class selinux {
hasstatus => true,
require => Package["setroubleshoot"],
}
}
exec { "set-selinux-mode":
command => $selinux_type ? {