summaryrefslogtreecommitdiff
path: root/manifests/router/ssh.pp
blob: 6f1a640ce9bba18435a02898f1911d163d11ad9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
define firewall::router::ssh(
  $destination,
  $port_orig      = '22',
  $port_dest      = '',
  $zone           = 'loc',
  $originaldest   = $ipaddress,
  $implementation = lookup('firewall::implementation', undef, undef, 'shorewall'),
) {
  class { "firewall::implementations::${implementation}::router::ssh":
    destination  => $destination,
    port_orig    => $port_orig,
    port_dest    => $port_dest,
    zone         => $zone,
    order        => $order,
    originaldest => $originaldest,
  }
}