summaryrefslogtreecommitdiff
path: root/manifests/client.pp
blob: 89fd25383a34982c834c6e5f515fc7aacafe032b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class ekeyd::client {
  if !$ekeyd_host { fail("\$ekeyd_host is not set for $fqdn") }
  case $operatingsystem {
    centos: { include ekeyd::client::centos }
    default: { include ekeyd::client::base }
  }

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