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"],
|
notify => Exec["set-selinux-mode"],
|
||||||
}
|
}
|
||||||
|
|
||||||
if $operatingsystem != "Fedora" {
|
if $operatingsystem == "CentOS" and $operatingsystemrelease =~ /^[1-5]\./ {
|
||||||
service { "setroubleshoot":
|
service { "setroubleshoot":
|
||||||
ensure => $selinux_type ? {
|
ensure => $selinux_type ? {
|
||||||
disabled => stopped,
|
disabled => stopped,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue