Resource Type: pg_role
- Defined in:
- lib/puppet/type/pg_role.rb
- Providers:
-
simple
Overview
This type allows you to manage a role/user in a Postgres database. Here is an example:
pg_role { role_name@instance:
password => 'verysecret',
login => true,
create_db => true,
}
The ‘pg_role` type recognises all of the options you also have when using SQL to create a user or a role.