You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since node['grafana']['datasources']['elasticsearch']['index'] is a derived value (i.e. string interpolated using another node value), it will not change whenever someone changes node['grafana']['grafana_index'].
The text was updated successfully, but these errors were encountered:
I know, this is a pet peave I have with attributes, what do you propose to fix it?
There's a lot of alternatives, but each have it's own set of problems.
I'm usually keen to create wrapper cookbooks and chef-grafana is meant to be used wrapped into one when default configuration is not enough. Then replacing the whole default['grafana']['datasources'] makes more sense.
https://github.com/JonathanTron/chef-grafana/blob/master/attributes/default.rb#L64
Since
node['grafana']['datasources']['elasticsearch']['index']
is a derived value (i.e. string interpolated using another node value), it will not change whenever someone changesnode['grafana']['grafana_index']
.The text was updated successfully, but these errors were encountered: