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

Fix grafana_user password idempotency #211

Merged
merged 2 commits into from
Apr 21, 2020

Conversation

alexjfisher
Copy link
Member

This PR fixes the issue that on each puppet run the user password will be set.
As the grafana api does not provide any feature for that we try to connect as that user if login works we suppress the password change.

Fixes #104

TuningYourCode and others added 2 commits April 21, 2020 09:15
This commit fixes the issue that on each puppet run the user password
will be set.  As the grafana API does not provide any feature for that
we try to connect as that user if login works we suppress the password
change.

Fixes voxpupuli#104
@alexjfisher
Copy link
Member Author

alexjfisher commented Apr 21, 2020

This PR supercedes #202 by adding an extra commit with an acceptance test. Without 80f5b4f the test fails. With it, it passes.

@alexjfisher alexjfisher reopened this Apr 21, 2020
@alexjfisher alexjfisher merged commit 6f804d1 into voxpupuli:master Apr 21, 2020
@alexjfisher
Copy link
Member Author

Thanks @TuningYourCode !

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.

Grafana 5.0.3 Users passwords being set and datasources created on every puppet run
2 participants