New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
postgres_user.present fails but reports success #8717
Comments
Thanks for the report. We'll look into this. |
I cannot replicate this issue. With a new Postgres installation on Ubuntu with the SLS that you've posted, I get the following output from a
And then using psql:
Could you please post a |
Ah, I missed an option. It fails silently when createuser is set too:
|
Ah, that makes a lot more sense. That's an easy fix. |
If you're a superuser, you already have permissions to create a user. Postgres will complain about conflicting options if you attempt to pass both. Refs saltstack#8717.
This should be all fixed. @olliewalsh, could you please take a peek when you get a chance and see if this resolves the issue for you? If it does, please close the issue so we know that's it's all fixed. Thanks! |
If you're a superuser, you already have permissions to create a user. Postgres will complain about conflicting options if you attempt to pass both. Refs #8717.
I'm fairly confident this has been fixed in the recent work on the Postgres module. Since we've had no reply, I'm setting to closed for now. This module is under fairly heavy unit testing now, as well, so hopefully future regressions can be avoided. If this issue is still biting anybody, please feel free to re-open and we'll address it. |
This reports success:
When adding the user has failed with:
ERROR: conflicting or redundant options
The text was updated successfully, but these errors were encountered: