Fix missing variable
This commit is contained in:
@@ -82,7 +82,8 @@ class WOStackController(CementBaseController):
|
|||||||
(['--dashboard'],
|
(['--dashboard'],
|
||||||
dict(help='Install WordOps dashboard', action='store_true')),
|
dict(help='Install WordOps dashboard', action='store_true')),
|
||||||
(['--extplorer'],
|
(['--extplorer'],
|
||||||
dict(help='Install eXtplorer file manager', action='store_true')),
|
dict(help='Install eXtplorer file manager',
|
||||||
|
action='store_true')),
|
||||||
(['--adminer'],
|
(['--adminer'],
|
||||||
dict(help='Install Adminer stack', action='store_true')),
|
dict(help='Install Adminer stack', action='store_true')),
|
||||||
(['--fail2ban'],
|
(['--fail2ban'],
|
||||||
@@ -141,12 +142,14 @@ class WOStackController(CementBaseController):
|
|||||||
pargs.php73 = True
|
pargs.php73 = True
|
||||||
pargs.redis = True
|
pargs.redis = True
|
||||||
pargs.proftpd = True
|
pargs.proftpd = True
|
||||||
|
pargs.clamav = True
|
||||||
|
|
||||||
if pargs.web:
|
if pargs.web:
|
||||||
pargs.nginx = True
|
pargs.nginx = True
|
||||||
pargs.php = True
|
pargs.php = True
|
||||||
pargs.mysql = True
|
pargs.mysql = True
|
||||||
pargs.wpcli = True
|
pargs.wpcli = True
|
||||||
|
pargs.mariabackup = True
|
||||||
|
|
||||||
if pargs.admin:
|
if pargs.admin:
|
||||||
pargs.web = True
|
pargs.web = True
|
||||||
@@ -156,6 +159,7 @@ class WOStackController(CementBaseController):
|
|||||||
pargs.netdata = True
|
pargs.netdata = True
|
||||||
pargs.dashboard = True
|
pargs.dashboard = True
|
||||||
pargs.phpredisadmin = True
|
pargs.phpredisadmin = True
|
||||||
|
pargs.extplorer = True
|
||||||
pargs.cheat = True
|
pargs.cheat = True
|
||||||
|
|
||||||
if pargs.security:
|
if pargs.security:
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import os
|
|||||||
import random
|
import random
|
||||||
import shutil
|
import shutil
|
||||||
import string
|
import string
|
||||||
import requests
|
|
||||||
import psutil
|
import psutil
|
||||||
|
import requests
|
||||||
|
|
||||||
from wo.cli.plugins.site_functions import *
|
from wo.cli.plugins.site_functions import *
|
||||||
from wo.cli.plugins.stack_services import WOStackStatusController
|
from wo.cli.plugins.stack_services import WOStackStatusController
|
||||||
@@ -475,7 +475,7 @@ def post_pref(self, apt_packages, packages):
|
|||||||
"/var/www/22222/cert/22222.crt;\n"
|
"/var/www/22222/cert/22222.crt;\n"
|
||||||
"ssl_certificate_key "
|
"ssl_certificate_key "
|
||||||
"/var/www/22222/cert/22222.key;\n")
|
"/var/www/22222/cert/22222.key;\n")
|
||||||
|
server_ip = requests.get('http://v4.wordops.eu')
|
||||||
# Nginx Configation into GIT
|
# Nginx Configation into GIT
|
||||||
WOGit.add(self,
|
WOGit.add(self,
|
||||||
["/etc/nginx"], msg="Adding Nginx into Git")
|
["/etc/nginx"], msg="Adding Nginx into Git")
|
||||||
|
|||||||
Reference in New Issue
Block a user