Merge pull request #22 from cprice-puppet/patch-1

Update README.md
This commit is contained in:
Chris Price 2012-10-29 10:46:43 -07:00
commit 7b71eb36f9

View file

@ -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',