saltstack/salt — pull request #16022 by ashb (2014-09-22 09:18:10+00:00)
Title: Quote role name in postgres_user alter role

If you had a user www-data then this state would fail. The create works fine,

Something like the below should illustrate this. I first found it by creating a user without a password and then setting a password on a subsequent run

```yaml
# Create the user, this will work
postgresql_user_create:
postgres_user.present:
- name: www-data
- password: old_password

# Change the password, this will fail
postgresql_user_change_password:
postgres_user.present:
- name: www-data
- password: new_password
- require:
- postgres_user: postgresql_user_create

```