mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Not renaming, return a boolean in __virtual__()
.
This commit is contained in:
parent
32c3a2abfe
commit
f4b8446fd0
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user