2012-06-14 15:42:51 +02:00
|
|
|
class tinc(
|
|
|
|
$manage_shorewall = false
|
|
|
|
) {
|
2012-06-05 16:38:41 +02:00
|
|
|
require bridge_utils
|
2012-02-09 16:13:23 +01:00
|
|
|
case $::operatingsystem {
|
2012-02-09 18:07:19 +01:00
|
|
|
centos: { include tinc::centos }
|
|
|
|
debian: { include tinc::debian }
|
|
|
|
default: { include tinc::base }
|
2010-08-31 17:54:24 +02:00
|
|
|
}
|
2012-06-14 15:42:51 +02:00
|
|
|
if $manage_shorewall {
|
2010-08-31 17:54:24 +02:00
|
|
|
include shorewall::rules::tinc
|
|
|
|
}
|
|
|
|
}
|