blob: 19beb71280902b59b24c0219559a5b237f8d3663 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
define postgresql::remote_database($description = '',
$user = 'postgresql',
$callback_notify = '',
$tag = 'default') {
@@postgresql::database { $name:
description => $description,
user => $user,
callback_notify => $callback_notify,
tag => $tag,
require => Postgresql::User[$user],
}
Postgresql::Database_callback <<| tag == $name |>>
}
|