|
|
@ -102,11 +102,12 @@ class EEStackController(CementBaseController): |
|
|
|
with open('/etc/apt/preferences.d/' |
|
|
|
'MariaDB.pref', 'w') as mysql_pref_file: |
|
|
|
mysql_pref_file.write(mysql_pref) |
|
|
|
EERepo.add(self, repo_url=EEVariables.ee_mysql_repo) |
|
|
|
Log.debug(self, 'Adding key for {0}' |
|
|
|
.format(EEVariables.ee_mysql_repo)) |
|
|
|
EERepo.add_key(self, '0xcbcb082a1bb943db', |
|
|
|
keyserver="keyserver.ubuntu.com") |
|
|
|
if EEVariables.ee_platform_codename != 'jessie': |
|
|
|
EERepo.add(self, repo_url=EEVariables.ee_mysql_repo) |
|
|
|
Log.debug(self, 'Adding key for {0}' |
|
|
|
.format(EEVariables.ee_mysql_repo)) |
|
|
|
EERepo.add_key(self, '0xcbcb082a1bb943db', |
|
|
|
keyserver="keyserver.ubuntu.com") |
|
|
|
chars = ''.join(random.sample(string.ascii_letters, 8)) |
|
|
|
Log.debug(self, "Pre-seeding MySQL") |
|
|
|
Log.debug(self, "echo \"mariadb-server-10.0 " |
|
|
@ -479,7 +480,8 @@ class EEStackController(CementBaseController): |
|
|
|
|
|
|
|
# For debian install xdebug |
|
|
|
|
|
|
|
if EEVariables.ee_platform_distro == "debian": |
|
|
|
if (EEVariables.ee_platform_distro == "debian" and |
|
|
|
EEVariables.ee_platform_distro == 'wheezy'): |
|
|
|
EEShellExec.cmd_exec(self, "pecl install xdebug") |
|
|
|
|
|
|
|
with open("/etc/php5/mods-available/xdebug.ini", |
|
|
|