fixed the process name for redhat bases distros
Change-Id: I9885235550a1bca8109122812f7b50f39dda12d1
This commit is contained in:
@@ -30,6 +30,7 @@ class fail2ban::params {
|
|||||||
|
|
||||||
$process = $::operatingsystem ? {
|
$process = $::operatingsystem ? {
|
||||||
/(?i:Debian|Ubuntu|Mint)/ => 'fail2ban-server',
|
/(?i:Debian|Ubuntu|Mint)/ => 'fail2ban-server',
|
||||||
|
/(?i:RedHat|Centos|Scientific|Fedora|OracleLinux)/ => 'fail2ban-server',
|
||||||
default => 'fail2ban',
|
default => 'fail2ban',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user