summaryrefslogtreecommitdiff
path: root/manifests/router/torrent.pp
blob: b5ac97d2c44553faa00303292958939d5d75c751 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class firewall::router::torrent(
  $destination,
  $zone           = 'loc',
  $originaldest   = $ipaddress,
  $range          = lookup('firewall::torrent::range', undef, undef, '6881:6999')
  $implementation = lookup('firewall::implementation', undef, undef, 'shorewall'),
) {
  class { "firewall::implementations::${implementation}::router::torrent":
    destination  => $destination,
    zone         => $zone,
    originaldest => $originaldest,
    range        => $range,
  }
}