Syntax cleanup
This commit is contained in:
parent
6efac4de21
commit
c8fbeb22f6
5 changed files with 7 additions and 7 deletions
|
@ -177,7 +177,7 @@ define selinux::boolean($value) {
|
|||
#
|
||||
define selinux::manage_fcontext($type, $recurse = true) {
|
||||
|
||||
if "${selinux}" == "true" {
|
||||
if $::selinux == "true" {
|
||||
|
||||
include selinux::tools
|
||||
|
||||
|
@ -225,7 +225,7 @@ define selinux::manage_fcontext($type, $recurse = true) {
|
|||
#
|
||||
define selinux::manage_port($type, $proto) {
|
||||
|
||||
if "${selinux}" == "true" {
|
||||
if $::selinux == "true" {
|
||||
|
||||
include selinux::tools
|
||||
|
||||
|
@ -257,7 +257,7 @@ define selinux::manage_port($type, $proto) {
|
|||
#
|
||||
define selinux::module($source) {
|
||||
|
||||
if "${selinux}" == "true" {
|
||||
if $::selinux == "true" {
|
||||
|
||||
$ext = regsubst($source, '.*\.(te|pp)', '\1')
|
||||
case $ext {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue