Fixed the pid_file Path for Debian

Change-Id: I6ad91f723e36172576157f25e443c641dcd731ef
This commit is contained in:
Markus Burger
2013-08-14 14:14:25 +02:00
parent fd0284bcc4
commit 0bc40c2f09

View File

@@ -89,7 +89,8 @@ class fail2ban::params {
} }
$pid_file = $::operatingsystem ? { $pid_file = $::operatingsystem ? {
default => '/var/run/fail2ban.pid', /(?i:Debian|Ubuntu|Mint)/ => '/var/run/fail2ban/fail2ban.pid',
default => '/var/run/fail2ban.pid',
} }
$data_dir = $::operatingsystem ? { $data_dir = $::operatingsystem ? {