Commits

Mikhail Korobov  committed dcd95f2

mysql installation is fixed

  • Participants
  • Parent commits f3cd9df

Comments (0)

Files changed (1)

File 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):