Defined Type: collectd::plugin::exec::cmd
- Defined in:
- manifests/plugin/exec/cmd.pp
Overview
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'manifests/plugin/exec/cmd.pp', line 1
define collectd::plugin::exec::cmd (
String $user,
String $group,
Array $exec = [],
Array $notification_exec = [],
) {
include collectd
include collectd::plugin::exec
concat::fragment { "collectd_plugin_exec_conf_${title}":
order => '50', # somewhere between header and footer
target => $collectd::plugin::exec::exec_conf,
content => template('collectd/plugin/exec/cmd.conf.erb'),
}
}
|