Skip to content

Commit d7db8d0

Browse files
author
shital.rtcamp
committed
added log message in stack.py
1 parent 9d5e0b9 commit d7db8d0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ee/cli/plugins/stack.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -982,24 +982,28 @@ def install(self, packages=[], apt_packages=[], disp_msg=True):
982982
apt_packages = apt_packages + EEVariables.ee_nginx
983983
else:
984984
Log.debug(self, "Nginx already installed")
985+
Log.info(self, "Nginx already installed")
985986
if self.app.pargs.php:
986987
Log.debug(self, "Setting apt_packages variable for PHP")
987988
if not EEAptGet.is_installed(self, 'php5-fpm'):
988989
apt_packages = apt_packages + EEVariables.ee_php
989990
else:
990991
Log.debug(self, "PHP already installed")
992+
Log.info(self, "PHP already installed")
991993
if self.app.pargs.mysql:
992994
Log.debug(self, "Setting apt_packages variable for MySQL")
993995
if not EEShellExec.cmd_exec(self, "mysqladmin ping"):
994996
apt_packages = apt_packages + EEVariables.ee_mysql
995997
else:
996998
Log.debug(self, "MySQL connection is already alive")
999+
Log.info(self, "MySQL connection is already alive")
9971000
if self.app.pargs.postfix:
9981001
Log.debug(self, "Setting apt_packages variable for Postfix")
9991002
if not EEAptGet.is_installed(self, 'postfix'):
10001003
apt_packages = apt_packages + EEVariables.ee_postfix
10011004
else:
10021005
Log.debug(self, "Postfix is already installed")
1006+
Log.info(self, "Postfix is already installed")
10031007
if self.app.pargs.wpcli:
10041008
Log.debug(self, "Setting packages variable for WP-CLI")
10051009
if not EEShellExec.cmd_exec(self, "which wp"):
@@ -1011,6 +1015,7 @@ def install(self, packages=[], apt_packages=[], disp_msg=True):
10111015
"WP-CLI"]]
10121016
else:
10131017
Log.debug(self, "WP-CLI is already installed")
1018+
Log.info(self, "WP-CLI is already installed")
10141019
if self.app.pargs.phpmyadmin:
10151020
Log.debug(self, "Setting packages varible for phpMyAdmin ")
10161021
packages = packages + [["https://github.com/phpmyadmin/"

0 commit comments

Comments
 (0)