aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/profile/base/metrics/collectd
diff options
context:
space:
mode:
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}"
+}