Added CentOS 5 support to selinux::module::devel.
This commit is contained in:
parent
06092d1681
commit
6e8e1ca3d6
1 changed files with 9 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue