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",
|
mode => "0644",
|
||||||
owner => "root",
|
owner => "root",
|
||||||
group => "root",
|
group => "root",
|
||||||
require => [
|
require => File["/usr/local/src/selinux"],
|
||||||
File["/usr/local/src/selinux"],
|
|
||||||
Class["selinux::module::devel"],
|
|
||||||
],
|
|
||||||
notify => Exec["selinux-module-compile"],
|
notify => Exec["selinux-module-compile"],
|
||||||
}
|
}
|
||||||
$module = "/usr/local/src/selinux/${name}.pp"
|
$module = "/usr/local/src/selinux/${name}.pp"
|
||||||
|
@ -261,10 +258,11 @@ class selinux::module::devel {
|
||||||
include selinux::tools
|
include selinux::tools
|
||||||
|
|
||||||
file { "/usr/local/src/selinux":
|
file { "/usr/local/src/selinux":
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
mode => "0755",
|
mode => "0755",
|
||||||
owner => "root",
|
owner => "root",
|
||||||
group => "root",
|
group => "root",
|
||||||
|
require => Class["selinux::tools"],
|
||||||
}
|
}
|
||||||
|
|
||||||
exec { "selinux-module-compile":
|
exec { "selinux-module-compile":
|
||||||
|
|
Loading…
Add table
Reference in a new issue