Force nginx config install only for old releases

This commit is contained in:
VirtuBox
2019-07-18 19:14:24 +02:00
parent 785fc7da7a
commit 4b00416fe1
2 changed files with 7 additions and 3 deletions

View File

@@ -1520,7 +1520,6 @@ class WOStackController(CementBaseController):
"/master/mysqltuner.pl",
"/usr/bin/mysqltuner",
"MySQLTuner"]]
else:
Log.debug(self, "MySQL connection is already alive")
Log.info(self, "MySQL connection is already alive")
@@ -2067,6 +2066,9 @@ class WOStackController(CementBaseController):
"libexec/netdata-"
"uninstaller.sh -y -f")
if (set(["fail2ban"]).issubset(set(apt_packages))):
WOService.stop_service(self, 'fail2ban')
if (apt_packages):
Log.info(self, "Purging packages, please wait...")
WOAptGet.remove(self, apt_packages, purge=True)