Defined Type: collectd::plugin::postgresql::writer

Defined in:
manifests/plugin/postgresql/writer.pp

Overview

Parameters:

  • ensure (Any) (defaults to: 'present')
  • statement (String) (defaults to: undef)
  • storerates (Any) (defaults to: undef)


2
3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'manifests/plugin/postgresql/writer.pp', line 2

define collectd::plugin::postgresql::writer (
  $ensure           = 'present',
  String $statement = undef,
  $storerates       = undef,
) {
  include collectd
  include collectd::plugin::postgresql

  concat::fragment { "collectd_plugin_postgresql_conf_writer_${title}":
    order   => '40',
    target  => "${collectd::plugin_conf_dir}/postgresql-config.conf",
    content => template('collectd/plugin/postgresql/writer.conf.erb'),
  }
}