Commits

Mikhail Korobov committed dcd95f2

mysql installation is fixed

Comments (0)

Files changed (1)

fab_deploy/db/mysql.py

 from __future__ import with_statement
-from fabric.api import env, run, warn
+from fabric.api import env, run, warn, abort
 from fabric.context_managers import settings, hide
 from fabric.operations import sudo
 from fabric.utils import puts
         }
         os = utils.detect_os()
         if os not in extra_packages:
-            fabric_utils.abort('Your OS (%s) is unsupported now.' % os)
+            abort('Your OS (%s) is unsupported now.' % os)
         passwd = self._get_root_password()
         self._preseed_password(passwd)
 
         system.aptitude_install('mysql-server')
-        system.aptitude_install(extra_packages[os])
+        system.aptitude_install(' '.join(extra_packages[os]))
 
     @task
     def is_installed(self):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.