@@ 155,7 155,7 @@ class Command(object):
if self.is_local:
return os.path.exists(path)
else:
- return fab_exists(path)
+ return self.settings_execute(fab_exists, path)
# Used everywhere...
@@ 87,8 87,8 @@ def postgresql_user_exists(username, con
@task
-def postgresql_create_user(username, user_password=None, connect_as=None,
- is_superuser=False, createdb=False,
+def postgresql_create_user(username, user_password=None, connect_as=None,
+ is_superuser=False, createdb=False,
createrole=False, password=None,
dbhost=None, port=None):
opts = get_pgsql_options(
@@ 172,7 172,7 @@ def postgresql_delete_db(dbname, connect
dbhost=dbhost,
port=port,
)
-
+
cmd = get_pgsql_command('dropdb %s' % opts, password)
command.run(cmd)