Merge pull request #12 from mburger/master
fixed the process name for redhat bases distros
This commit is contained in:
commit
2c4731e5c9
1 file changed
+3
-2
+3
-2
@@ -29,8 +29,9 @@ class fail2ban::params {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$process = $::operatingsystem ? {
|
$process = $::operatingsystem ? {
|
||||||
/(?i:Debian|Ubuntu|Mint)/ => 'fail2ban-server',
|
/(?i:Debian|Ubuntu|Mint)/ => 'fail2ban-server',
|
||||||
default => 'fail2ban',
|
/(?i:RedHat|Centos|Scientific|Fedora|OracleLinux)/ => 'fail2ban-server',
|
||||||
|
default => 'fail2ban',
|
||||||
}
|
}
|
||||||
|
|
||||||
$process_args = $::operatingsystem ? {
|
$process_args = $::operatingsystem ? {
|
||||||
|
|||||||
Reference in new issue
Block a user