update install script and travis

This commit is contained in:
VirtuBox
2019-04-14 19:43:23 +02:00
parent 60325e548a
commit 1e10bf6294
5 changed files with 21 additions and 63 deletions

View File

@@ -14,7 +14,8 @@ class WOStackStatusController(CementBaseController):
description = 'Check the stack status'
arguments = [
(['--memcached'],
dict(help='start/stop/restart memcached', action='store_true')),
dict(help='start/stop/restart memcached',
action='store_true')),
]
@expose(help="Start stack services")
@@ -186,7 +187,8 @@ class WOStackStatusController(CementBaseController):
if ((WOVariables.wo_mysql_host is "localhost") or
(WOVariables.wo_mysql_host is "127.0.0.1")):
if ((WOAptGet.is_installed(self, 'mysql-server') or
WOAptGet.is_installed(self, 'percona-server-server-5.6') or
WOAptGet.is_installed(self,
'percona-server-server-5.6') or
WOAptGet.is_installed(self, 'mariadb-server'))):
services = services + ['mysql']
else: