Expose owner in db definition

This commit is contained in:
Marek Hulan 2013-10-10 17:28:01 +02:00
parent acc5ed72c1
commit b784676c2e

View file

@ -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]) {