Fix Fail2ban

This commit is contained in:
VirtuBox
2019-07-18 14:32:41 +02:00
parent 595f80f132
commit 8906fa2c61
3 changed files with 17 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ class WOStackStatusController(CementBaseController):
if self.app.pargs.fail2ban:
if WOAptGet.is_installed(self, 'fail2ban'):
services = services + ['fail2ban-client']
services = services + ['fail2ban']
else:
Log.info(self, "fail2ban is not installed")
@@ -134,7 +134,7 @@ class WOStackStatusController(CementBaseController):
if self.app.pargs.fail2ban:
if WOAptGet.is_installed(self, 'fail2ban'):
services = services + ['fail2ban-client']
services = services + ['fail2ban']
else:
Log.info(self, "fail2ban is not installed")
@@ -201,7 +201,7 @@ class WOStackStatusController(CementBaseController):
if self.app.pargs.fail2ban:
if WOAptGet.is_installed(self, 'fail2ban'):
services = services + ['fail2ban-client']
services = services + ['fail2ban']
else:
Log.info(self, "fail2ban is not installed")
@@ -266,7 +266,7 @@ class WOStackStatusController(CementBaseController):
if self.app.pargs.fail2ban:
if WOAptGet.is_installed(self, 'fail2ban'):
services = services + ['fail2ban-client']
services = services + ['fail2ban']
else:
Log.info(self, "fail2ban is not installed")
@@ -332,7 +332,7 @@ class WOStackStatusController(CementBaseController):
if self.app.pargs.fail2ban:
if WOAptGet.is_installed(self, 'fail2ban'):
services = services + ['fail2ban-client']
services = services + ['fail2ban']
else:
Log.info(self, "fail2ban is not installed")