diff --git a/salt/modules/postgres.py b/salt/modules/postgres.py index 003c1ade62..6da5cd4e38 100644 --- a/salt/modules/postgres.py +++ b/salt/modules/postgres.py @@ -57,7 +57,7 @@ def __virtual__(): Only load this module if the psql bin exists ''' if all((salt.utils.which('psql'), HAS_ALL_IMPORTS)): - return 'postgres' + return True return False