Not renaming, return a boolean in __virtual__().

This commit is contained in:
Pedro Algarvio 2014-03-06 22:44:30 +00:00
parent e1be985100
commit 74380bf8f4

View File

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