summaryrefslogtreecommitdiff
path: root/manifests/client.pp
blob: a166bc054e4b317178fd07eeceaa724bd6954d4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class ekeyd::client(
  $ekeyd_host,
  $shorewall_zones = ['net']
) {
  case $operatingsystem {
    centos: { include ekeyd::client::centos }
    debian: { include ekeyd::client::debian }
    default: { include ekeyd::client::base }
  }

  if $use_shorewall {
    shorewall::rules::out::ekeyd{$shorewall_zones:
      ekeyd_host => $ekeyd_host,
    }
  }
}