|
@ -522,7 +522,7 @@ class EESiteCreateController(CementBaseController): |
|
|
.format(ee_wp_creds['wp_pass']), log=False) |
|
|
.format(ee_wp_creds['wp_pass']), log=False) |
|
|
|
|
|
|
|
|
display_cache_settings(self, data) |
|
|
display_cache_settings(self, data) |
|
|
addNewSite(self, ee_www_domain, stype, cache, ee_site_webroot) |
|
|
addNewSite(self, ee_domain, stype, cache, ee_site_webroot) |
|
|
Log.info(self, "Successfully created site" |
|
|
Log.info(self, "Successfully created site" |
|
|
" http://{0}".format(ee_domain)) |
|
|
" http://{0}".format(ee_domain)) |
|
|
|
|
|
|
|
@ -982,7 +982,7 @@ class EESiteUpdateController(CementBaseController): |
|
|
" {0}".format(ee_wp_creds['wp_user'])) |
|
|
" {0}".format(ee_wp_creds['wp_user'])) |
|
|
Log.info(self, Log.ENDC + "WordPress admin password : {0}" |
|
|
Log.info(self, Log.ENDC + "WordPress admin password : {0}" |
|
|
.format(ee_wp_creds['wp_pass']) + "\n\n") |
|
|
.format(ee_wp_creds['wp_pass']) + "\n\n") |
|
|
updateSiteInfo(self, ee_www_domain, stype=stype, cache=cache) |
|
|
updateSiteInfo(self, ee_domain, stype=stype, cache=cache) |
|
|
Log.info(self, "Successfully updated site" |
|
|
Log.info(self, "Successfully updated site" |
|
|
" http://{0}".format(ee_domain)) |
|
|
" http://{0}".format(ee_domain)) |
|
|
|
|
|
|
|
@ -1071,6 +1071,8 @@ class EESiteDeleteController(CementBaseController): |
|
|
|
|
|
|
|
|
if (ee_nginx_prompt == 'Y' or ee_nginx_prompt == 'y'): |
|
|
if (ee_nginx_prompt == 'Y' or ee_nginx_prompt == 'y'): |
|
|
Log.debug(self, "Removing Nginx configuration") |
|
|
Log.debug(self, "Removing Nginx configuration") |
|
|
|
|
|
EEFileUtils.rm(self, '/etc/nginx/sites-enabled/{0}' |
|
|
|
|
|
.format(ee_domain)) |
|
|
EEFileUtils.rm(self, '/etc/nginx/sites-available/{0}' |
|
|
EEFileUtils.rm(self, '/etc/nginx/sites-available/{0}' |
|
|
.format(ee_domain)) |
|
|
.format(ee_domain)) |
|
|
EEGit.add(self, ["/etc/nginx"], |
|
|
EEGit.add(self, ["/etc/nginx"], |
|
|