manala/ansible-roles

[manala.influxdb] `opentsdb` values not honored / used

njoye opened this issue · 0 comments

njoye commented

Hi, I was trying to use the opentsdb configuration and change enabled to false when I realized that none of the settings were being taken over into the configuration file. I did some digging and found that at the top of base.conf.j2 there opentsdb is not "extracted" (or whatever that does). Including the following lines in the loop at the top fixed the issue:

        {%- elif config_name == 'opentsdb' -%}
            {%- if config_opentsdb.extend(config_parameters) -%}{%- endif -%}

These were missing which left the config of opentsdb empty resulting in the variables not being taken over. Please fix that, thank you! I can also make a pull request if that is wanted.

Best regards
Timo