Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add graphite_protcol parameter to config class #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add graphite_protcol parameter to config class #27

wants to merge 1 commit into from

Conversation

misterdorm
Copy link
Contributor

Under the Puppet future parser/4.0 language, variables used in
templates can only come from the local scope, and/or be explicitly
scoped with the scope.lookupvar function.

This adds a graphite_protocol parameter to the config class so that
the @graphite_protocol variable referenced in diamond.conf.erb will
be in the local scope. Otherwise diamond.conf gets generated with
a blank GraphiteHandler/proto setting (when using the Puppet
future parser.)

Also updating the equals sign alignments, so all but line 10 is just
whitespace changes.

Under the Puppet future parser/4.0 language, variables used in
templates can only come from the local scope, and/or be explicitly
scoped with the scope.lookupvar function.

This adds a graphite_protocol parameter to the config class so that
the @graphite_protocol variable referenced in diamond.conf.erb will
be in the local scope.  Otherwise diamond.conf gets generated with
a blank GraphiteHandler/proto setting (when using the Puppet
future parser.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant