|
@ -34,12 +34,7 @@ class EEStackStatusController(CementBaseController): |
|
|
self.app.pargs.hhvm = True |
|
|
self.app.pargs.hhvm = True |
|
|
|
|
|
|
|
|
if self.app.pargs.nginx: |
|
|
if self.app.pargs.nginx: |
|
|
if EEVariables.ee_platform_distro == 'debian': |
|
|
if EEAptGet.is_installed(self, 'nginx-custom'): |
|
|
check_nginx = 'nginx-extras' |
|
|
|
|
|
else: |
|
|
|
|
|
check_nginx = 'nginx-custom' |
|
|
|
|
|
|
|
|
|
|
|
if EEAptGet.is_installed(self, check_nginx): |
|
|
|
|
|
services = services + ['nginx'] |
|
|
services = services + ['nginx'] |
|
|
else: |
|
|
else: |
|
|
Log.info(self, "Nginx is not installed") |
|
|
Log.info(self, "Nginx is not installed") |
|
@ -105,12 +100,7 @@ class EEStackStatusController(CementBaseController): |
|
|
self.app.pargs.hhvm = True |
|
|
self.app.pargs.hhvm = True |
|
|
|
|
|
|
|
|
if self.app.pargs.nginx: |
|
|
if self.app.pargs.nginx: |
|
|
if EEVariables.ee_platform_distro == 'debian': |
|
|
if EEAptGet.is_installed(self, 'nginx-custom'): |
|
|
check_nginx = 'nginx-extras' |
|
|
|
|
|
else: |
|
|
|
|
|
check_nginx = 'nginx-custom' |
|
|
|
|
|
|
|
|
|
|
|
if EEAptGet.is_installed(self, check_nginx): |
|
|
|
|
|
services = services + ['nginx'] |
|
|
services = services + ['nginx'] |
|
|
else: |
|
|
else: |
|
|
Log.info(self, "Nginx is not installed") |
|
|
Log.info(self, "Nginx is not installed") |
|
@ -176,12 +166,7 @@ class EEStackStatusController(CementBaseController): |
|
|
self.app.pargs.hhvm = True |
|
|
self.app.pargs.hhvm = True |
|
|
|
|
|
|
|
|
if self.app.pargs.nginx: |
|
|
if self.app.pargs.nginx: |
|
|
if EEVariables.ee_platform_distro == 'debian': |
|
|
if EEAptGet.is_installed(self, 'nginx-custom'): |
|
|
check_nginx = 'nginx-extras' |
|
|
|
|
|
else: |
|
|
|
|
|
check_nginx = 'nginx-custom' |
|
|
|
|
|
|
|
|
|
|
|
if EEAptGet.is_installed(self, check_nginx): |
|
|
|
|
|
services = services + ['nginx'] |
|
|
services = services + ['nginx'] |
|
|
else: |
|
|
else: |
|
|
Log.info(self, "Nginx is not installed") |
|
|
Log.info(self, "Nginx is not installed") |
|
@ -247,12 +232,7 @@ class EEStackStatusController(CementBaseController): |
|
|
self.app.pargs.hhvm = True |
|
|
self.app.pargs.hhvm = True |
|
|
|
|
|
|
|
|
if self.app.pargs.nginx: |
|
|
if self.app.pargs.nginx: |
|
|
if EEVariables.ee_platform_distro == 'debian': |
|
|
if EEAptGet.is_installed(self, 'nginx-custom'): |
|
|
check_nginx = 'nginx-extras' |
|
|
|
|
|
else: |
|
|
|
|
|
check_nginx = 'nginx-custom' |
|
|
|
|
|
|
|
|
|
|
|
if EEAptGet.is_installed(self, check_nginx): |
|
|
|
|
|
services = services + ['nginx'] |
|
|
services = services + ['nginx'] |
|
|
else: |
|
|
else: |
|
|
Log.info(self, "Nginx is not installed") |
|
|
Log.info(self, "Nginx is not installed") |
|
@ -317,12 +297,7 @@ class EEStackStatusController(CementBaseController): |
|
|
self.app.pargs.postfix = True |
|
|
self.app.pargs.postfix = True |
|
|
|
|
|
|
|
|
if self.app.pargs.nginx: |
|
|
if self.app.pargs.nginx: |
|
|
if EEVariables.ee_platform_distro == 'debian': |
|
|
if EEAptGet.is_installed(self, 'nginx-custom'): |
|
|
check_nginx = 'nginx-extras' |
|
|
|
|
|
else: |
|
|
|
|
|
check_nginx = 'nginx-custom' |
|
|
|
|
|
|
|
|
|
|
|
if EEAptGet.is_installed(self, check_nginx): |
|
|
|
|
|
services = services + ['nginx'] |
|
|
services = services + ['nginx'] |
|
|
else: |
|
|
else: |
|
|
Log.info(self, "Nginx is not installed") |
|
|
Log.info(self, "Nginx is not installed") |
|
|