diff --git a/wo/cli/plugins/stack.py b/wo/cli/plugins/stack.py index d9feefc..17bd285 100644 --- a/wo/cli/plugins/stack.py +++ b/wo/cli/plugins/stack.py @@ -473,7 +473,7 @@ class WOStackController(CementBaseController): WOAptGet.install(self, apt_packages) post_pref(self, apt_packages, empty_packages) if (packages): - Log.debug(self, "Downloading following: {0}".format(packages)) + Log.info(self, "Downloading following: {0}".format(packages)) WODownload.download(self, packages) Log.debug(self, "Calling post_pref") post_pref(self, empty_packages, packages) diff --git a/wo/cli/plugins/stack_pref.py b/wo/cli/plugins/stack_pref.py index 1f88bde..ee92e34 100644 --- a/wo/cli/plugins/stack_pref.py +++ b/wo/cli/plugins/stack_pref.py @@ -151,6 +151,7 @@ def post_pref(self, apt_packages, packages, upgrade=False): ngxcnf = '/etc/nginx/conf.d' ngxcom = '/etc/nginx/common' ngxroot = '/var/www/' + self.msg = [] if upgrade: if os.path.isdir('/etc/nginx'): WOGit.add(self, @@ -1512,3 +1513,9 @@ def post_pref(self, apt_packages, packages, upgrade=False): 'www-data', 'www-data', recursive=True) + + if (self.msg): + for msg in self.msg: + Log.info(self, Log.ENDC + msg) + else: + return self.msg