unify naming

This commit is contained in:
mh 2015-01-03 21:23:07 +01:00
parent 1f8a01acf5
commit c1bd9b7616
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
# configure base tinc
class tinc(
$manage_shorewall = false,
$use_shorewall = false,
$key_source_path = '/var/lib/puppet/tinc_keys',
) {
if $::operatingsystem == 'CentOS' and $::operatingsystemmajrelease > 6 {
@ -13,7 +13,7 @@ class tinc(
debian: { include tinc::debian }
default: { include tinc::base }
}
if $manage_shorewall {
if $use_shorewall {
include shorewall::rules::tinc
}
}

View file

@ -63,7 +63,7 @@ define tinc::switch(
}
if $tinc::manage_shorewall {
if $tinc::use_shorewall {
$zone = $shorewall_zone ? {
'absent' => 'loc',
default => $shorewall_zone