commit
7b71eb36f9
1 changed files with 4 additions and 4 deletions
|
@ -15,8 +15,8 @@ This module provides the following defined resource types for managing postgres:
|
|||
* `postgresql::initdb`
|
||||
* `postgresql::db`
|
||||
* `postgresql::role`
|
||||
* `postgresql::user` (just for clarity; users are roles in postgres)
|
||||
* `postgresql::grant`
|
||||
* `postgresql::database_user` (just for clarity; users are roles in postgres)
|
||||
* `postgresql::database_grant`
|
||||
|
||||
And the fallback, analogous to exec resources, only for SQL statements:
|
||||
|
||||
|
@ -49,11 +49,11 @@ class { 'postgresql::server':
|
|||
Manage users / roles and permissions:
|
||||
|
||||
```Puppet
|
||||
postgresql::user{'marmot':
|
||||
postgresql::database_user{'marmot':
|
||||
password => 'foo',
|
||||
}
|
||||
|
||||
postgresql::grant{'grant select to marmot':
|
||||
postgresql::database_grant{'grant select to marmot':
|
||||
grantee => 'marmot',
|
||||
on_object => 'my_table',
|
||||
perm => 'select',
|
||||
|
|
Loading…
Reference in a new issue