diff --git a/selinux/manifests/init.pp b/selinux/manifests/init.pp index f066819..2aba211 100644 --- a/selinux/manifests/init.pp +++ b/selinux/manifests/init.pp @@ -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,