2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# File 'manifests/plugin/postgresql/query.pp', line 2
define collectd::plugin::postgresql::query (
$ensure = 'present',
String $statement = undef,
Array $params = [],
Array $results = [{}],
$minversion = undef,
$maxversion = undef,
) {
include collectd
include collectd::plugin::postgresql
concat::fragment { "collectd_plugin_postgresql_conf_query_${title}":
order => '30',
target => "${collectd::plugin_conf_dir}/postgresql-config.conf",
content => template('collectd/plugin/postgresql/query.conf.erb'),
}
}
|