-
Notifications
You must be signed in to change notification settings - Fork 204
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
puppet-lint issues #25
Comments
Hi @neoice thanks for opening this. Let me address your points in turn.
I'm not overly concerned with this one as there is no logic wrapped around whether the admin password is an empty string, instead it's just a straight substitution in
This check is only present to ensure backwards compatibility with Puppet <= 2.6.2, and in fact use of a params class for supplying module defaults is accepted per the style guide. "Class inheritance should only be used for myclass::params parameter defaults. Other use cases can be accomplished through the addition of parameters or conditional logic." How are you running puppet-lint? This check is specifically disabled in the Rakefile so if you are using
You are correct this is a false-positive, however unquoting the boolean does not impact functionality and in fact the default datasource configuration was corrected in a recent commit. The README should be updated to reflect this. Thanks! |
@neoice I've published a new version of the module supporting Grafana 2.x and don't feel there's anything here left to action as the module's behavior has changed. Thoughts? |
I think this has been fixed by voxpupuli#1. |
these warnings are generated using the Puppet4 recommendations: http://www.camptocamp.com/en/actualite/getting-code-ready-puppet-4/
I believe this is a false-positive warning and may be entirely obviated by the next major release...
using a declaration like the following (taken from the README):
Puppet-Lint warns: "[quoted_booleans] quoted boolean value found" for the
'default' => 'true'
and'grafanaDB' => 'true'
lines. I suspect this is a false-positive because these are strings being interpreted later.The text was updated successfully, but these errors were encountered: