Merge pull request #555 from phaf/improve_readme_roles

change example of postgresql::server::role definition to version 3
This commit is contained in:
Colleen Murphy 2015-01-29 08:40:42 -08:00
commit 881d96481c

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'),
} }