aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/base/metrics/collectd
diff options
context:
space:
mode:
authorLars Kellogg-Stedman <lars@redhat.com>2016-12-14 22:07:26 -0500
committerLars Kellogg-Stedman <lars@redhat.com>2016-12-16 11:30:06 -0500
commit959101f7c9deeeef078e347bcc828889036e5f10 (patch)
tree1758b302ce00a857d0a08fe27893fbfd0e587072 /manifests/profile/base/metrics/collectd
parent34253ecfb5c8e1f2b44567892785d2dc3af695d0 (diff)
add support for collectd
This is the glue between the collectd composable service in tripleo-heat-templates and the puppet-collectd module. Change-Id: I7e899e3af870b04dcd45503bd322278997fa53d0
Diffstat (limited to 'manifests/profile/base/metrics/collectd')
-rw-r--r--manifests/profile/base/metrics/collectd/plugin_helper.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/profile/base/metrics/collectd/plugin_helper.pp b/manifests/profile/base/metrics/collectd/plugin_helper.pp
new file mode 100644
index 0000000..b624ee1
--- /dev/null
+++ b/manifests/profile/base/metrics/collectd/plugin_helper.pp
@@ -0,0 +1,6 @@
+# We use this to transform a list of unqualified plugin names
+# (like ['disk', 'ntpd']) into the correct collectd plugin classes.
+define tripleo::profile::base::metrics::collectd::plugin_helper (
+) {
+ include "collectd::plugin::${title}"
+}