diff --git a/manifests/params.pp b/manifests/params.pp index 8dffbc3..e67b23c 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -29,7 +29,8 @@ class fail2ban::params { } $process = $::operatingsystem ? { - default => 'fail2ban', + /(?i:Debian|Ubuntu|Mint)/ => 'fail2ban-server', + default => 'fail2ban', } $process_args = $::operatingsystem ? {