Add multiple logpaths support (closes #11)
This commit is contained in:
1 parent
38f9a89235
commit
80a6650164
3 files changed
+41
-7
No files matched your search
+6
-3
@@ -78,9 +78,12 @@ define fail2ban::jail (
|
||||
default => $action,
|
||||
}
|
||||
|
||||
$real_logpath = $logpath ? {
|
||||
'' => '',
|
||||
default => $logpath,
|
||||
$array_logpath = is_array($logpath) ? {
|
||||
false => $logpath ? {
|
||||
'' => [],
|
||||
default => [$logpath],
|
||||
},
|
||||
default => $logpath,
|
||||
}
|
||||
|
||||
$real_maxretry = $maxretry ? {
|
||||
|
||||
Reference in new issue
Block a user