diff --git a/selinux/manifests/init.pp b/selinux/manifests/init.pp index f26c4cf..7c43d13 100644 --- a/selinux/manifests/init.pp +++ b/selinux/manifests/init.pp @@ -258,6 +258,15 @@ class selinux::module::devel { include selinux::tools + if $::operatingsystem == "CentOS" { + if $::operatingsystemrelease =~ /^5\.[0-9]/ { + package { "selinux-policy-devel": + ensure => installed, + before => File["/usr/local/src/selinux"], + } + } + } + file { "/usr/local/src/selinux": ensure => directory, mode => "0755",