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
I have setup roles and profiles in my puppet environment and am using hiera to setup my grafana node. Everything is working as it should however when adding the config part for ldap i am getting the following error: Type mismatch for 'login.LdapConfig.servers': Expected slice but found 'map[string]interface {}'
I have figured out that the issue is when using hiera the config file needs to be laid out like so:
I have setup roles and profiles in my puppet environment and am using hiera to setup my grafana node. Everything is working as it should however when adding the config part for ldap i am getting the following error:
Type mismatch for 'login.LdapConfig.servers': Expected slice but found 'map[string]interface {}'
I have figured out that the issue is when using hiera the config file needs to be laid out like so:
When the
ldap.toml
file is then generated you get the following:The config file that is generate has
[servers]
instead of[[servers]]
, i was able to get this working by changing the hiera file as follows:So not sure if this is a module,
toml
issue, or just something weird...The text was updated successfully, but these errors were encountered: