-
-
Save neilferreira/0b6c176d8581330b36ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------- | |
ID: postgres_user_foo | |
Function: postgres_user.present | |
Name: foo | |
Result: False | |
Comment: An exception occurred in this state: Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1378, in call | |
**cdata['kwargs']) | |
File "/usr/lib/python2.7/dist-packages/salt/states/postgres_user.py", line 173, in present | |
name, return_password=True, **db_args) | |
File "/usr/lib/python2.7/dist-packages/salt/modules/postgres.py", line 550, in role_get | |
return_password=return_password) | |
File "/usr/lib/python2.7/dist-packages/salt/modules/postgres.py", line 467, in user_list | |
if ver >= distutils.version.LooseVersion('9.1'): | |
File "/usr/lib/python2.7/distutils/version.py", line 296, in __cmp__ | |
return cmp(self.version, other.version) | |
AttributeError: 'NoneType' object has no attribute 'version' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment