Not renaming, return a boolean in __virtual__().

This commit is contained in:
Pedro Algarvio 2014-03-06 13:12:01 +00:00
parent 32c3a2abfe
commit f4b8446fd0

View File

@ -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