-
Notifications
You must be signed in to change notification settings - Fork 105
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
Grafana_datasource no longer idempotent #270
Comments
@MartyEwings Thanks for the bug report. You're right in suspecting the recent rubocop autofix commit. Unfortunately the |
@alexjfisher thanks for the quick turn around on that one! i don't have to compensate in the metrics dashboard now! |
Not quite there yet. voxpupuli-test 5.1.1 gem was released a few minutes ago. Still got to revert the bad rubocop change and release a 10.0.1 of this module. |
Fixed in 771a032 (closing for Changelog) |
@MartyEwings 10.0.1 is now released and should fix your issue. Enjoy! |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
called from the metrics dashboard module:
What are you seeing
Since upgrade from 9.0.1 to 10 I'm getting the following when applying a Grafana_datasource resource
/Stage[main]/Puppet_metrics_dashboard::Post_start_configs/Grafana_datasource[influxdb_telegraf]/is_default: is_default changed false to 'false' (corrective)
for some reason we are getting a corrective change from a boolean value to a string, despite boolean being the only thing passed in code
What behaviour did you expect instead
the boolean value should not be converted to a string
Output log
/Stage[main]/Puppet_metrics_dashboard::Post_start_configs/Grafana_datasource[influxdb_telegraf]/is_default: is_default changed false to 'false' (corrective)
Any additional information you'd like to impart
I can see some changes to the resource carried out by rubocop, changing values for is_default from :false to false i don't know if that's the reason
The text was updated successfully, but these errors were encountered: