Added check for selinux state in selinux::boolean
This commit is contained in:
parent
f6b182fa92
commit
85c3fba953
2 changed files with 6 additions and 4 deletions
|
@ -109,9 +109,11 @@ class selinux::tools {
|
|||
#
|
||||
define selinux::boolean($value) {
|
||||
|
||||
selboolean { $name:
|
||||
value => $value,
|
||||
persistent => true,
|
||||
if $::selinux == "true" {
|
||||
selboolean { $name:
|
||||
value => $value,
|
||||
persistent => true,
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue