Skip to content

Commit

Permalink
Merge pull request redhat-openstack#296 from jyaworski/add_carbon_def…
Browse files Browse the repository at this point in the history
…ault_values

Add carbon default values as parameter to create_resources
  • Loading branch information
blkperl committed Jul 24, 2015
2 parents 975e1d5 + 91a14d5 commit a35e172
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 a35e172

Please sign in to comment.