voxpupuli / puppet-grafana

Puppet module to manage Grafana
Apache License 2.0
15 stars 106 forks source link

Fix `grafana_user` and switch to using `flush` #283

Closed alexjfisher closed 2 years ago

alexjfisher commented 2 years ago

Previously save_user was being called once per changed property and calls were also being made to update user properties, password and the admin flag regardless of whether these properties needed updating.

Using flush is more efficient.

Fixes #121