d92d2d7ce8
Change-Id: I7cc5f00608127e0bf4df5bbd58db4cae9816a402
12 lines
331 B
Text
12 lines
331 B
Text
{% from "prometheus/map.jinja" import alertmanager with context %}
|
|
{%- if alertmanager.enabled %}
|
|
|
|
{%- if pillar.docker is defined and pillar.docker.host is defined %}
|
|
|
|
{{alertmanager.dir.config}}/alertmanager.yml:
|
|
file.managed:
|
|
- source: salt://prometheus/files/alertmanager.yml
|
|
- template: jinja
|
|
|
|
{%- endif %}
|
|
{%- endif %}
|