Merge pull request #7 from mburger/master

Fixed the pid_file Path for Debian based Systems
This commit is contained in:
Javier Bértoli
2013-08-14 08:38:27 -07:00

View File

@@ -89,7 +89,8 @@ class fail2ban::params {
}
$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 ? {