add python3-mysqldb for netdata
This commit is contained in:
@@ -1522,6 +1522,10 @@ class WOStackController(CementBaseController):
|
|||||||
'kickstart-static64.sh',
|
'kickstart-static64.sh',
|
||||||
'/tmp/kickstart.sh',
|
'/tmp/kickstart.sh',
|
||||||
'Netdata']]
|
'Netdata']]
|
||||||
|
if not WOAptGet.is_installed(self, 'python3-mysqldb'):
|
||||||
|
Log.debug(
|
||||||
|
self, "Setting apt_packages variable for Fail2ban")
|
||||||
|
apt_packages = apt_packages + WOVariables.wo_netdata
|
||||||
|
|
||||||
# WordOps Dashboard
|
# WordOps Dashboard
|
||||||
if self.app.pargs.dashboard:
|
if self.app.pargs.dashboard:
|
||||||
|
|||||||
@@ -162,6 +162,8 @@ class WOVariables():
|
|||||||
|
|
||||||
wo_fail2ban = "fail2ban"
|
wo_fail2ban = "fail2ban"
|
||||||
|
|
||||||
|
wo_netdata = "python3-mysqldb"
|
||||||
|
|
||||||
# Redis repo details
|
# Redis repo details
|
||||||
if wo_platform_distro == 'ubuntu':
|
if wo_platform_distro == 'ubuntu':
|
||||||
wo_redis_repo = ("ppa:chris-lea/redis-server")
|
wo_redis_repo = ("ppa:chris-lea/redis-server")
|
||||||
|
|||||||
Reference in New Issue
Block a user