Closed tobias-urdin closed 2 years ago
I actually noded, that there are two fields (depending on the datasource)
Notice: /Stage[main]/Profiles_monitoring::Grafana::Icinga_config/Grafana_datasource[icinga2_influxdb]/password: changed [redacted] to [redacted]
Notice: /Stage[main]/Profiles_monitoring::Grafana::Icinga_config/Grafana_datasource[icinga2_influxdb]/basic_auth_password: changed [redacted] to [redacted]
so, the patch should be applied to the "password" field as well
@joernott Good spot. I've did some manual testing on @tobias-urdin's change and it looked good.
I'll see if I can add some acceptance tests for both types of datasource.
This doesn't seem to work if basic_auth_password
is something other than an empty string (the default). I think I've seen the issue. Will test a fix shortly.
Closing in favor of https://github.com/voxpupuli/puppet-grafana/pull/301
This fixes the idempotent issue mentioned in the issue.
Fixes https://github.com/voxpupuli/puppet-grafana/issues/289