electrical/puppet-graphite — pull request #2 by eaapa (2013-06-10 05:44:01+00:00)
Title: Fixed invalid Carbon service's parameters and removed template warnings

I didn't find variable eg. "$graphite::params::service_name". Got this working by fixing all variables. For example in Carbon-cache service:
$graphite::params::service_name => $graphite::params::service_cache_name

Warnings what I got from template were:
Warning: Variable access via 'name' is deprecated. Use '@name' instead. template[/opt/provisioning/provision/modules/graphite/templates/etc/carbon/storage-schemas-item.erb]:1
(at /opt/provisioning/provision/modules/graphite/templates/etc/carbon/storage-schemas-item.erb:1:in `result')
Warning: Variable access via 'pattern' is deprecated. Use '@pattern' instead. template[/opt/provisioning/provision/modules/graphite/templates/etc/carbon/storage-schemas-item.erb]:2
(at /opt/provisioning/provision/modules/graphite/templates/etc/carbon/storage-schemas-item.erb:2:in `result')
Warning: Variable access via 'retentions' is deprecated. Use '@retentions' instead. template[/opt/provisioning/provision/modules/graphite/templates/etc/carbon/storage-schemas-item.erb]:3
(at /opt/provisioning/provision/modules/graphite/templates/etc/carbon/storage-schemas-item.erb:3:in `result')