From 89840c44733303249b69768442b86c580c7a0cca Mon Sep 17 00:00:00 2001 From: gau1991 Date: Tue, 27 Jan 2015 14:50:41 +0530 Subject: [PATCH] Fixed Graphivz issue in Webgrind --- ee/cli/plugins/stack.py | 3 +++ ee/core/variables.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ee/cli/plugins/stack.py b/ee/cli/plugins/stack.py index b431e1a8..a41b7929 100644 --- a/ee/cli/plugins/stack.py +++ b/ee/cli/plugins/stack.py @@ -651,6 +651,9 @@ class EEStackController(CementBaseController): os.makedirs('/var/www/22222/htdocs/php') shutil.move('/tmp/webgrind-master/', '/var/www/22222/htdocs/php/webgrind') + EEShellExec.cmd_exec(self, "sed -i \"s\'/usr/local/bin/dot\'" + "/usr/bin/dot\'\" /var/www/22222/htdocs/" + "php/webgrind/config.php") Log.debug(self, "Setting Privileges of www-data:www-data to " "/var/www/22222/htdocs/php/webgrind/ file ") # EEShellExec.cmd_exec(self, 'chown -R www-data:www-data ' diff --git a/ee/core/variables.py b/ee/core/variables.py index 3c5e42d9..a2de82bd 100644 --- a/ee/core/variables.py +++ b/ee/core/variables.py @@ -84,7 +84,8 @@ class EEVariables(): .format(codename=ee_platform_codename)) ee_php = ["php5-fpm", "php5-curl", "php5-gd", "php5-imap", "php5-mcrypt", "php5-xdebug", "php5-common", "php5-readline", - "php5-mysql", "php5-cli", "php5-memcache", "memcached"] + "php5-mysql", "php5-cli", "php5-memcache", "memcached", + "graphviz"] # MySQL repo and packages ee_mysql_repo = ("deb http://repo.percona.com/apt {codename} main"