Syntax cleanup

This commit is contained in:
Ossi Salmi 2013-06-13 15:34:11 +03:00
parent 6efac4de21
commit c8fbeb22f6
5 changed files with 7 additions and 7 deletions

View file

@ -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 {