I'm trying to install postgresql using Chocolatey nuget and I get the following error:
Write-Error : postgresql did not finish successfully. Boo to the chocolatey gods!
[ERROR] Exception calling "SetInfo" with "0" argument(s): "The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements.
This is because the username being set is postgres and the password is Postgres1234 and so I suppose you aren't allowed your username in your password.
Is there a way to pass in the password as a parameter to the chocolatey installation? Or alternatively some Powershell magic I can use to alter the password rules while I run the package?
Update: my pull request to change the password in the PG 8 and 9 packages has been accepted so this issue should go away once that new version of the package is visible via choco install