Expose owner in db definition
This commit is contained in:
parent
acc5ed72c1
commit
b784676c2e
1 changed files with 3 additions and 1 deletions
|
@ -7,13 +7,15 @@ define postgresql::server::db (
|
|||
$locale = $postgresql::server::locale,
|
||||
$grant = 'ALL',
|
||||
$tablespace = undef,
|
||||
$istemplate = false
|
||||
$istemplate = false,
|
||||
$owner = undef
|
||||
) {
|
||||
postgresql::server::database { $name:
|
||||
encoding => $encoding,
|
||||
tablespace => $tablespace,
|
||||
locale => $locale,
|
||||
istemplate => $istemplate,
|
||||
owner => $owner,
|
||||
}
|
||||
|
||||
if ! defined(Postgresql::Server::Role[$user]) {
|
||||
|
|
Loading…
Reference in a new issue