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
28
29
30
31
|
class firewall::nas(
$implementation = lookup('firewall::implementation', undef, undef, 'shorewall'),
$ftp = false,
$tftp = false,
$http = false,
$nfsd = false,
$rsync = false,
$printer = false,
$torrent = false,
$mpd = false,
$samba = false,
$dlna = false,
$daap = false,
$avahi = false
) {
class { "firewall::implementations::${implementation}::nas":
ftp => $ftp,
tftp => $tftp,
http => $http,
nfsd => $nfsd,
rsync => $rsync,
printer => $printer,
torrent => $torrent,
mpd => $mpd,
samba => $samba,
dlna => $dlna,
daap => $daap,
avahi => $avahi,
}
}
|