57167d8bfd
This patch separates the configuration of Grafana client. This allows to configure the client, restart the minion to read the conf and finally apply the grafana.client state.
11 lines
261 B
Text
11 lines
261 B
Text
{%- from "grafana/map.jinja" import client with context %}
|
|
{%- if client.get('enabled', False) %}
|
|
|
|
/etc/salt/minion.d/_grafana.conf:
|
|
file.managed:
|
|
- source: salt://grafana/files/_grafana.conf
|
|
- template: jinja
|
|
- user: root
|
|
- group: root
|
|
|
|
{%- endif %}
|