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

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