mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Not renaming, return a boolean in __virtual__()
.
This commit is contained in:
parent
e1be985100
commit
74380bf8f4
@ -28,9 +28,7 @@ def __virtual__():
|
||||
'''
|
||||
Only load if the postgres module is present
|
||||
'''
|
||||
return 'postgres_group' if (
|
||||
'postgres.group_create' in __salt__
|
||||
) else False
|
||||
return 'postgres.group_create' in __salt__
|
||||
|
||||
|
||||
def present(name,
|
||||
|
Loading…
Reference in New Issue
Block a user