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