blob: 15b54651236e53f15254df2d08c5c2ae2805cd4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# FIXME: In puppet >3.0 word 'tag' is reserved, so it has to be renamed
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 |>>
}
|