projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
salsa: more mail setup
[mirror/dsa-puppet.git]
/
3rdparty
/
modules
/
postgresql
/
manifests
/
table_grant.pp
1
# Resource postgresql::table_grant
2
define postgresql::table_grant(
3
$privilege,
4
$table,
5
$db,
6
$role,
7
$psql_db = undef,
8
$psql_user = undef
9
) {
10
include postgresql::params
11
postgresql::grant { "table:${name}":
12
role => $role,
13
db => $db,
14
privilege => $privilege,
15
object_type => 'TABLE',
16
object_name => $table,
17
psql_db => $psql_db,
18
psql_user => $psql_user,
19
}
20
}