From 0bc40c2f096711dab9d2e70631ccedcd53fe1cef Mon Sep 17 00:00:00 2001 From: Markus Burger Date: Wed, 14 Aug 2013 14:14:25 +0200 Subject: [PATCH] Fixed the pid_file Path for Debian Change-Id: I6ad91f723e36172576157f25e443c641dcd731ef --- manifests/params.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 1e44941..d1dc0ad 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -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 ? {