change example of postgresql::server::role definition to version 3

This commit is contained in:
Patric Hafner 2015-01-29 14:58:32 +01:00
parent 7b5a992aa1
commit 63fad69e05

View file

@ -766,7 +766,7 @@ The role name to create.
####`password_hash` ####`password_hash`
The hash to use during password creation. If the password is not already pre-encrypted in a format that PostgreSQL supports, use the `postgresql_password` function to provide an MD5 hash here, for example: The hash to use during password creation. If the password is not already pre-encrypted in a format that PostgreSQL supports, use the `postgresql_password` function to provide an MD5 hash here, for example:
postgresql::role { "myusername": postgresql::server::role { "myusername":
password_hash => postgresql_password('myusername', 'mypassword'), password_hash => postgresql_password('myusername', 'mypassword'),
} }