Fixed the pid_file Path for Debian
Change-Id: I6ad91f723e36172576157f25e443c641dcd731ef
This commit is contained in:
@@ -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 ? {
|
||||||
|
|||||||
Reference in New Issue
Block a user