Fix filter with a specified source

This commit is contained in:
Romain THERRAT
2013-12-23 17:18:46 +01:00
parent ceff3a4ed5
commit 1f2c9a8e8e
2 changed files with 6 additions and 2 deletions
+4 -1
View File
@@ -92,7 +92,10 @@ define fail2ban::filter (
$manage_file_content = $filtertemplate ? {
'' => undef,
default => template($filtertemplate),
default => $filtersource ? {
'' => template($filtertemplate),
default => undef,
}
}
file { "${real_filtername}.local":