Fixed setroubleshoot on Fedora hosts.
This commit is contained in:
parent
e76a2259e0
commit
9843464f8c
1 changed files with 14 additions and 12 deletions
|
@ -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 ? {
|
||||
|
|
Loading…
Add table
Reference in a new issue