be sure to include tinc so we can reference variable ($use_shorewall)
This commit is contained in:
parent
c1bd9b7616
commit
ad0c61388d
2 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# configure base tinc
|
||||
class tinc(
|
||||
$use_shorewall = false,
|
||||
$key_source_path = '/var/lib/puppet/tinc_keys',
|
||||
$use_shorewall = false,
|
||||
$key_source_path = '/var/lib/puppet/tinc_keys',
|
||||
) {
|
||||
if $::operatingsystem == 'CentOS' and $::operatingsystemmajrelease > 6 {
|
||||
$uses_systemd = true
|
||||
|
|
|
@ -24,6 +24,7 @@ define tinc::switch(
|
|||
}
|
||||
|
||||
if $ensure == 'present' {
|
||||
include ::tinc
|
||||
require bridge_utils
|
||||
$real_tinc_bridge_interface = $tinc_bridge_interface ? {
|
||||
'absent' => "br${name}",
|
||||
|
|
Loading…
Reference in a new issue