Skip to content

Commit

Permalink
Add carbon default values as parameter to create_resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Yaworski committed Jul 23, 2015
1 parent 975e1d5 commit 91a14d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/plugin/write_graphite.pp
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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)
}

0 comments on commit 91a14d5

Please sign in to comment.