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
As commented also in #50, the toml gem is rendering the /etc/grafana/ldap.toml file in random order. Which means that if [[servers]] is not set to be the first node, then grafana will not start.
I don't think that the gem can take care of that, as this is the nature of json: no ordering of nodes.
The entire inline_template configuration should be moved to a proper template.
The text was updated successfully, but these errors were encountered:
The issue here is that hashes are unordered data sets. There's no arbitrary id assigned to each field, so an order is not possible. You can tell it to sort, but I can't think of a way to sort so that [server] ends up on top. I'm going to look into this for my own purposes.
bastelfreak
pushed a commit
to bastelfreak/puppet-grafana
that referenced
this issue
Oct 12, 2017
As commented also in #50, the toml gem is rendering the /etc/grafana/ldap.toml file in random order. Which means that if [[servers]] is not set to be the first node, then grafana will not start.
I don't think that the gem can take care of that, as this is the nature of json: no ordering of nodes.
The entire inline_template configuration should be moved to a proper template.
The text was updated successfully, but these errors were encountered: