From 91a14d58820be1df7a70a8a6478529648a0320e9 Mon Sep 17 00:00:00 2001 From: Joseph Yaworski Date: Thu, 23 Jul 2015 14:57:09 -0400 Subject: [PATCH] Add carbon default values as parameter to create_resources --- manifests/plugin/write_graphite.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/plugin/write_graphite.pp b/manifests/plugin/write_graphite.pp index 9f00735b6..a87f56dec 100644 --- a/manifests/plugin/write_graphite.pp +++ b/manifests/plugin/write_graphite.pp @@ -1,6 +1,7 @@ # https://collectd.org/wiki/index.php/Graphite class collectd::plugin::write_graphite ( $carbons = {}, + $carbon_defaults = {}, $interval = undef, $ensure = present, $globals = false, @@ -39,5 +40,5 @@ target => $graphite_conf, } - create_resources(collectd::plugin::write_graphite::carbon, $carbons) + create_resources(collectd::plugin::write_graphite::carbon, $carbons, $carbon_defaults) }