blob: 3d0e50777eab653974b0b7e9ba1994427a00f54e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
class ekeyd(
$ekeyd_host = false,
$ekeyd_masterkey
){
if $ekeyd_key_present != 'true' { fail("Can't find an ekey key plugged into usb on ${fqdn}") }
case $operatingsystem {
debian: { include ekeyd::debian }
default: { include ekeyd::base }
}
if $ekeyd_host {
case $operatingsystem {
centos: { include ekeyd::host::centos }
default: { include ekeyd::host::base }
}
if $use_shorewall {
include shorewall::rules::ekeyd
}
}
if $use_munin {
include ekeyd::munin
}
}
|