Fixed setroubleshoot for CentOS 6.
This commit is contained in:
parent
28ebdf5820
commit
bc4de04dda
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue