selinux::module depency fix, second try.
This commit is contained in:
parent
89491ff551
commit
74a6985d36
1 changed files with 6 additions and 8 deletions
|
@ -218,10 +218,7 @@ define selinux::module($source) {
|
|||
mode => "0644",
|
||||
owner => "root",
|
||||
group => "root",
|
||||
require => [
|
||||
File["/usr/local/src/selinux"],
|
||||
Class["selinux::module::devel"],
|
||||
],
|
||||
require => File["/usr/local/src/selinux"],
|
||||
notify => Exec["selinux-module-compile"],
|
||||
}
|
||||
$module = "/usr/local/src/selinux/${name}.pp"
|
||||
|
@ -261,10 +258,11 @@ class selinux::module::devel {
|
|||
include selinux::tools
|
||||
|
||||
file { "/usr/local/src/selinux":
|
||||
ensure => directory,
|
||||
mode => "0755",
|
||||
owner => "root",
|
||||
group => "root",
|
||||
ensure => directory,
|
||||
mode => "0755",
|
||||
owner => "root",
|
||||
group => "root",
|
||||
require => Class["selinux::tools"],
|
||||
}
|
||||
|
||||
exec { "selinux-module-compile":
|
||||
|
|
Loading…
Add table
Reference in a new issue