Resolve "Semantics of `postgres_user` with unstated passwords password are unclear"
Here we add tests to clarify the intended behaviour of:
- password parameter being absent
- password parameter being nil
And then adjust the code so it meets these expectations.
Note: the nil behaviour is currently not correctly functional due to a bug in chef 12, so this test is marked as pending
until we can schedule that update via #3020 (closed).
Closes #2982 (closed)
Edited by GitLab Release Tools Bot