Commits

Vladimir Mihailenco committed 8e4fa13 Merge

Merge pull request #1 from strogonoff/postgres_install_fix

Postgres install command doesn't work (error during password setup)

  • Participants
  • Parent commits 04f6233, a1b0a03

Comments (0)

Files changed (1)

File fabdeploy/postgres.py

         system.aptitude_install.run(packages='postgresql libpq-dev')
         sudo('sudo -u %(db_root_user)s '
              'psql '
-             '--command="\password %(db_root_user)s" %(db_root_password)s')
+             '--command="\password %(db_root_user)s" '
+             '%(db_root_password)s' % self.conf)
 
 install = Install()